Skip to content

Commit

Permalink
refactor: Rename deployment.yml.template
Browse files Browse the repository at this point in the history
The file ending helps with syntax highlighting

#122: Deploy to separate GCP project
  • Loading branch information
MichaelAkvo committed Apr 12, 2022
1 parent a0a4feb commit 1f4742f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ prepare_deployment () {
gcloud container clusters get-credentials "${cluster}"

sed "s/\${CI_COMMIT}/${CI_COMMIT}/g;" \
ci/k8s/deployment.yml.template \
ci/k8s/deployment.template.yml \
| sed "s/\${BUCKET_FOLDER}/${cluster}/g;" > ci/k8s/deployment.yml
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
spec:
containers:
- name: frontend
image: eu.gcr.io/akvo-lumen/isco/frontend:${CI_COMMIT}
image: ${IMAGE_PREFIX}/frontend:${CI_COMMIT}
ports:
- containerPort: 80
resources:
Expand All @@ -35,7 +35,7 @@ spec:
cpu: "200m"
memory: "64Mi"
- name: backend
image: eu.gcr.io/akvo-lumen/isco/backend:${CI_COMMIT}
image: ${IMAGE_PREFIX}/backend:${CI_COMMIT}
ports:
- containerPort: 5000
env:
Expand Down

0 comments on commit 1f4742f

Please sign in to comment.