From 877ca1b6c5a5ab7f774e347392d0df7f580e29c7 Mon Sep 17 00:00:00 2001 From: Maitreyee Joshi <100631414+joshimai@users.noreply.github.com> Date: Fri, 12 Apr 2024 09:55:24 -0400 Subject: [PATCH] use pccomponentstest in cipublish (#200) --- .github/workflows/cicd.yml | 2 +- deployment/docker-compose.yml | 4 ++-- deployment/terraform/staging/main.tf | 2 +- scripts/ciauthenticate | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c9490581..c2601d48 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -40,7 +40,7 @@ jobs: esac - name: Publish images - run: ./scripts/cipublish --acr pcccr --tag ${{steps.get_image_tag.outputs.tag}} + run: ./scripts/cipublish --acr pccomponentstest --tag ${{steps.get_image_tag.outputs.tag}} outputs: image_tag: ${{ steps.get_image_tag.outputs.tag }} diff --git a/deployment/docker-compose.yml b/deployment/docker-compose.yml index acd7fc1b..4411d7c3 100644 --- a/deployment/docker-compose.yml +++ b/deployment/docker-compose.yml @@ -6,8 +6,8 @@ services: context: .. dockerfile: deployment/Dockerfile environment: - - ACR_STAC_REPO=${ACR_STAC_REPO:-pcccr.azurecr.io/private/planetary-computer-apis/stac} - - ACR_TILER_REPO=${ACR_TILER_REPO:-pcccr.azurecr.io/private/planetary-computer-apis/tiler} + - ACR_STAC_REPO=${ACR_STAC_REPO:-pccomponentstest.azurecr.io/private/planetary-computer-apis/stac} + - ACR_TILER_REPO=${ACR_TILER_REPO:-pccomponentstest.azurecr.io/private/planetary-computer-apis/tiler} - IMAGE_TAG - GIT_COMMIT diff --git a/deployment/terraform/staging/main.tf b/deployment/terraform/staging/main.tf index a2f8f792..26150b1a 100644 --- a/deployment/terraform/staging/main.tf +++ b/deployment/terraform/staging/main.tf @@ -9,7 +9,7 @@ module "resources" { cluster_cert_issuer = "letsencrypt" cluster_cert_server = "https://acme-v02.api.letsencrypt.org/directory" - pc_test_resources_acr = "pcccr" + pc_test_resources_acr = "pccomponentstest" aks_node_count = 2 stac_replica_count = 2 diff --git a/scripts/ciauthenticate b/scripts/ciauthenticate index bff04b3b..dacdc98f 100755 --- a/scripts/ciauthenticate +++ b/scripts/ciauthenticate @@ -15,5 +15,5 @@ CI authentication for this project. # curl -sL https://aka.ms/InstallAzureCLIDeb | bash # az login --service-principal --username ${CLIENT_ID} --tenant "microsoft.onmicrosoft.com" --password ${CLIENT_SECRET} -az acr login --name pcccr -docker login pcccr.azurecr.io --username ${CLIENT_ID} --password ${CLIENT_SECRET} \ No newline at end of file +az acr login --name pccomponentstest +docker login pccomponentstest.azurecr.io --username ${CLIENT_ID} --password ${CLIENT_SECRET} \ No newline at end of file