Skip to content

Commit

Permalink
fix: gar endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Vibhor Dabas committed Aug 7, 2023
1 parent d4f3efd commit 3aec38b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
context: .
push: true
build-args: |
SRC_IMG=us-east1-docker.pkg/${{ secrets.PROD_GKE_PROJECT }}/containers/${{ secrets.IMAGE_NAME }}-web:${{ needs.workflow-check.outputs.ref }}
SRC_IMG=us-east1-docker.pkg.dev/${{ secrets.PROD_GKE_PROJECT }}/containers/${{ secrets.IMAGE_NAME }}-web:${{ needs.workflow-check.outputs.ref }}
file: ./build/${{ matrix.app }}/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
8 changes: 4 additions & 4 deletions build/ci/production-helm-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
set -x
set -e

export WEB_IMAGE="us-east1-docker.pkg/$PROJECT_ID/containers/$IMAGE_NAME-web"
export NODE_IMAGE="us-east1-docker.pkg/$PROJECT_ID/containers/$IMAGE_NAME-node"
export ASSET_IMAGE="us-east1-docker.pkg/$PROJECT_ID/containers/$IMAGE_NAME-asset"
export LINKER_IMAGE="us-east1-docker.pkg/$PROJECT_ID/containers/$IMAGE_NAME-linker"
export WEB_IMAGE="us-east1-docker.pkg.dev/$PROJECT_ID/containers/$IMAGE_NAME-web"
export NODE_IMAGE="us-east1-docker.pkg.dev/$PROJECT_ID/containers/$IMAGE_NAME-node"
export ASSET_IMAGE="us-east1-docker.pkg.dev/$PROJECT_ID/containers/$IMAGE_NAME-asset"
export LINKER_IMAGE="us-east1-docker.pkg.dev/$PROJECT_ID/containers/$IMAGE_NAME-linker"
export TAG="$GIT_COMMIT"

yq e -i '.web.containerImage.imageRegistry = strenv(WEB_IMAGE)' $1
Expand Down
10 changes: 5 additions & 5 deletions helm-chart/sefaria-project/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ web:
# APP: web
containerImage:
# Full path of the image registry imclusive of the image name
imageRegistry: us-east1-docker.pkg/production-deployment/containers/sefaria-web
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-web
# Commit id of the repo for which the image build has been triggered.
tag: latest
replicaCount: 1
Expand Down Expand Up @@ -114,7 +114,7 @@ linker:
# APP: web
containerImage:
# Full path of the image registry imclusive of the image name
imageRegistry: us-east1-docker.pkg/production-deployment/containers/sefaria-linker
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-linker
# Commit id of the repo for which the image build has been triggered.
tag: latest
replicaCount: 1
Expand Down Expand Up @@ -179,7 +179,7 @@ redis:
nodejs:
containerImage:
# Full path of the image registry inclusive of the image name
imageRegistry: us-east1-docker.pkg/production-deployment/containers/sefaria-node
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-node
# Commit id of the repo for which the image build has been triggered.
tag: latest
# key-pair values to load into node pod environment. Takes precedence over global localsettings
Expand Down Expand Up @@ -271,7 +271,7 @@ ingress:
nginx:
containerImage:
# Full path of the image registry inclusive of the image name
imageRegistry: us-east1-docker.pkg/production-deployment/containers/sefaria-asset
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-asset
# Commit id of the repo for which the image build has been triggered.
tag: latest
# set to search-democracy for democracy
Expand All @@ -294,7 +294,7 @@ monitor:
# APP: monitor
containerImage:
# Full path of the image registry inclusive of the image name
imageRegistry: us-east1-docker.pkg/production-deployment/containers/sefaria-web
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-web
# Commit id of the repo for which the image build has been triggered.
tag: latest
replicaCount: 1
Expand Down

0 comments on commit 3aec38b

Please sign in to comment.