Skip to content

Commit e2518bd

Browse files
authored
Add new Artifact Registry repo for images in the gcr.io migration (#51)
1 parent d646c00 commit e2518bd

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ GOOGLE_APPLICATION_CREDENTIALS="${HOME}/.config/gcloud/application_default_crede
2828

2929
# Using a recent python build for example. Alternatively, use a locally built
3030
# test server.
31-
INSTRUMENTED_TEST_SERVER="gcr.io/opentelemetry-ops-e2e/opentelemetry-operations-python-e2e-test-server:45ccd1d"
31+
INSTRUMENTED_TEST_SERVER="us-central1-docker.pkg.dev/opentelemetry-ops-e2e/e2e-testing/opentelemetry-operations-python-e2e-test-server:45ccd1d"
3232

3333
# Pull the image if it doesn't exist locally
3434
docker pull ${INSTRUMENTED_TEST_SERVER}

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ logsBucket: gs://opentelemetry-ops-e2e-cloud-build-logs
3232
options:
3333
dynamic_substitutions: true
3434
substitutions:
35-
_TEST_RUNNER_IMAGE_NAME: gcr.io/${PROJECT_ID}/opentelemetry-operations-e2e-testing
35+
_TEST_RUNNER_IMAGE_NAME: us-central1-docker.pkg.dev/${PROJECT_ID}/e2e-testing/opentelemetry-operations-e2e-testing:latest

tf/persistent/gar-repos.tf

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
// The e2e test runner in this repo is published to this repo as are the instrumented test
16+
// servers built during CI in each tested repo
17+
resource "google_artifact_registry_repository" "e2e_testing" {
18+
location = "us-central1"
19+
repository_id = "e2e-testing"
20+
description = "Docker repo containing images for e2e testing"
21+
format = "DOCKER"
22+
}

0 commit comments

Comments
 (0)