Skip to content
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 .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
kubectl get namespace $ENVIRONMENT || kubectl create namespace $ENVIRONMENT

IMAGE_TAG=${{ env.NEW_VERSION }}
kustomize edit set image app/tc-order-service=${{ needs.build.outputs.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.NEW_VERSION }}
kustomize edit set image app/tc-order-service=$ECR_REGISTRY/$ECR_REPOSITORY:${{ env.NEW_VERSION }}

echo "Deploying $SERVICE_NAME in $ENVIRONMENT environment"
echo "Using image version: ${{ env.NEW_VERSION }}"
Expand Down
22 changes: 11 additions & 11 deletions infra/kubernetes/production/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ kind: Kustomization
namespace: production

resources:
- ../base
- namespace.yaml
- ../base
- namespace.yaml

patches:
- path: patch-deployment.yaml
target:
kind: Deployment
- path: order-service-config.yaml
target:
kind: ConfigMap
- path: patch-deployment.yaml
target:
kind: Deployment
- path: order-service-config.yaml
target:
kind: ConfigMap

images:
- name: app/tc-order-service
newName: 147671223315.dkr.ecr.us-east-1.amazonaws.com/app/tc-order-service
newTag: 93aa24524f637335a3e7de8d5cbc24406e8f7b8b-dev
- name: app/tc-order-service
newName: 147671223315.dkr.ecr.us-east-1.amazonaws.com/app/tc-order-service
newTag: v0.4.0
Loading