Skip to content

Commit

Permalink
Add new Artifact Registry repo for images in the gcr.io migration (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass authored Aug 14, 2024
1 parent d646c00 commit e2518bd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ GOOGLE_APPLICATION_CREDENTIALS="${HOME}/.config/gcloud/application_default_crede

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

# Pull the image if it doesn't exist locally
docker pull ${INSTRUMENTED_TEST_SERVER}
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ logsBucket: gs://opentelemetry-ops-e2e-cloud-build-logs
options:
dynamic_substitutions: true
substitutions:
_TEST_RUNNER_IMAGE_NAME: gcr.io/${PROJECT_ID}/opentelemetry-operations-e2e-testing
_TEST_RUNNER_IMAGE_NAME: us-central1-docker.pkg.dev/${PROJECT_ID}/e2e-testing/opentelemetry-operations-e2e-testing:latest
22 changes: 22 additions & 0 deletions tf/persistent/gar-repos.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2024 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
#
# https://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.

// The e2e test runner in this repo is published to this repo as are the instrumented test
// servers built during CI in each tested repo
resource "google_artifact_registry_repository" "e2e_testing" {
location = "us-central1"
repository_id = "e2e-testing"
description = "Docker repo containing images for e2e testing"
format = "DOCKER"
}

0 comments on commit e2518bd

Please sign in to comment.