From ceb33fc615e6fd54ea82e56f13b9e8efdda531cb Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Wed, 11 Mar 2026 15:53:10 +1100 Subject: [PATCH 1/3] ci(run): restrict ingress for e2e deployments --- run/helloworld/test/e2e_test_setup.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/run/helloworld/test/e2e_test_setup.yaml b/run/helloworld/test/e2e_test_setup.yaml index 63f9ac3ceb..407bb1c176 100644 --- a/run/helloworld/test/e2e_test_setup.yaml +++ b/run/helloworld/test/e2e_test_setup.yaml @@ -25,6 +25,7 @@ steps: ./test/retry.sh "gcloud run deploy ${_SERVICE} \ --image gcr.io/${PROJECT_ID}/${_SERVICE}:${_VERSION} \ --no-allow-unauthenticated \ + --ingress internal \ --region ${_REGION} \ --platform ${_PLATFORM} \ --set-env-vars NAME=${_NAME} \ From 2bca7e4ada45d6485e98d6cbbfb6a1515674b25e Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Wed, 11 Mar 2026 15:59:30 +1100 Subject: [PATCH 2/3] addlicence --- run/helloworld/test/e2e_test_cleanup.yaml | 14 ++++++++++++++ run/helloworld/test/e2e_test_setup.yaml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/run/helloworld/test/e2e_test_cleanup.yaml b/run/helloworld/test/e2e_test_cleanup.yaml index 47434239a9..cdfbac15d8 100644 --- a/run/helloworld/test/e2e_test_cleanup.yaml +++ b/run/helloworld/test/e2e_test_cleanup.yaml @@ -1,3 +1,17 @@ +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + steps: - id: 'Delete image and service' diff --git a/run/helloworld/test/e2e_test_setup.yaml b/run/helloworld/test/e2e_test_setup.yaml index 407bb1c176..8d0d4de557 100644 --- a/run/helloworld/test/e2e_test_setup.yaml +++ b/run/helloworld/test/e2e_test_setup.yaml @@ -1,3 +1,17 @@ +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + steps: - id: 'Build Container Image' From 6cb7ccc076344f511af249d1f84d575895f7c8a0 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Wed, 11 Mar 2026 16:29:27 +1100 Subject: [PATCH 3/3] debug: disable cleanup to debug deployed service --- run/helloworld/test/system.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/helloworld/test/system.test.js b/run/helloworld/test/system.test.js index 5f92033926..3aacb93b46 100644 --- a/run/helloworld/test/system.test.js +++ b/run/helloworld/test/system.test.js @@ -77,7 +77,7 @@ describe('End-to-End Tests', () => { if (SAMPLE_VERSION) cleanUpCmd += `,_VERSION=${SAMPLE_VERSION}`; if (SERVICE_ACCOUNT) cleanUpCmd += `,_SERVICE_ACCOUNT=${SERVICE_ACCOUNT}`; - execSync(cleanUpCmd); + //execSync(cleanUpCmd); }); it('Service uses the NAME override', async () => {