Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new Artifact Registry repo for images in the gcr.io migration #51

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}