Skip to content

Commit

Permalink
use pccomponentstest in cipublish (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshimai committed Apr 12, 2024
1 parent b621366 commit 877ca1b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion deployment/terraform/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/ciauthenticate
Original file line number Diff line number Diff line change
Expand Up @@ -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}
az acr login --name pccomponentstest
docker login pccomponentstest.azurecr.io --username ${CLIENT_ID} --password ${CLIENT_SECRET}

0 comments on commit 877ca1b

Please sign in to comment.