Skip to content

Commit

Permalink
fix(workflows): Use v1 version of SocialGouv actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Nov 16, 2021
1 parent b50cb62 commit 8a3dd5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deactivate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
name: 🪦 Review
runs-on: ubuntu-latest
steps:
- uses: SocialGouv/actions/k8s-funeral@master
- uses: SocialGouv/actions/k8s-funeral@v1
with:
kube-config: ${{ secrets.SOCIALGOUV_KUBE_CONFIG_DEV }}
10 changes: 5 additions & 5 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Use autodevops build and register
uses: SocialGouv/actions/autodevops-build-register@master
uses: SocialGouv/actions/autodevops-build-register@v1
with:
environment: preprod
project: ${{ env.project }}
Expand All @@ -40,7 +40,7 @@ jobs:
steps:

- name: Use autodevops manifests generation
uses: SocialGouv/actions/autodevops-manifests@master
uses: SocialGouv/actions/autodevops-manifests@v1
with:
environment: "preprod"

Expand All @@ -65,7 +65,7 @@ jobs:
echo "ns=${GITHUB_REPOSITORY#*/}-${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Use autodevops deployment
uses: SocialGouv/actions/autodevops-deploy@master
uses: SocialGouv/actions/autodevops-deploy@v1
with:
environment: "preprod"
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -80,7 +80,7 @@ jobs:
steps:

- name: Use autodevops manifests generation
uses: SocialGouv/actions/autodevops-manifests@master
uses: SocialGouv/actions/autodevops-manifests@v1
with:
environment: "prod"
productionNamespace: "les1000jours-landing"
Expand All @@ -106,7 +106,7 @@ jobs:
echo "ns=${GITHUB_REPOSITORY#*/}-${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Use autodevops deployment
uses: SocialGouv/actions/autodevops-deploy@master
uses: SocialGouv/actions/autodevops-deploy@v1
with:
environment: "prod"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo "project=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Use autodevops build and register
uses: SocialGouv/actions/autodevops-build-register@master
uses: SocialGouv/actions/autodevops-build-register@v1
with:
project: ${{ env.project }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -41,22 +41,22 @@ jobs:
steps:

- name: Use autodevops manifests generation
uses: SocialGouv/actions/autodevops-manifests@master
uses: SocialGouv/actions/autodevops-manifests@v1
with:
environment: "dev"

##############################################################################
## DEPLOY APPLICATION OVER KUBERNETES
##############################################################################
deploy:
name: Deploy application
runs-on: ubuntu-latest
name: Deploy application
needs: [register, manifests]
steps:

- name: Use autodevops deployment
uses: SocialGouv/actions/autodevops-deploy@master
uses: SocialGouv/actions/autodevops-deploy@v1
with:
environment: "dev"
token: ${{ secrets.GITHUB_TOKEN }}
kubeconfig: ${{ secrets.SOCIALGOUV_KUBE_CONFIG_DEV }}
kubeconfig: ${{ secrets.KUBECONFIG }}

0 comments on commit 8a3dd5f

Please sign in to comment.