Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Rely on make
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard committed Feb 25, 2021
1 parent 3b27618 commit 1b5e44d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- develop
- master
paths:
- 'conf/templates/*'
- 'conf/k8s/overlays/*/templates/*'

jobs:
Expand Down Expand Up @@ -46,7 +47,10 @@ jobs:
- run: gcloud container clusters get-credentials "${{ steps.env.outputs.cluster }}" --zone "${{ steps.env.outputs.zone }}"

- name: Deploy templates
run: kubectl create configmap playground-templates --namespace=${{ steps.env.outputs.namespace }} --from-file=conf/k8s/overlays/${{ steps.env.outputs.environment }}/templates/ --dry-run=client -o yaml | kubectl apply -f -
run: make k8s-update-templates-config
env:
ENV: ${{ steps.env.outputs.environment }}
SKIP_ACK: true

# TODO test image, rollback commit if fails
# Do not rollback the rollback itself
Expand Down

0 comments on commit 1b5e44d

Please sign in to comment.