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 63f9ac3ceb..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' @@ -25,6 +39,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} \ 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 () => {