From d3d3922d39fb8edef9246300e499ae357dab0428 Mon Sep 17 00:00:00 2001 From: Ralph Cowling Date: Wed, 19 Oct 2022 11:42:33 +0200 Subject: [PATCH] Pin the helm action See https://github.com/koslib/helm-eks-action/issues/37#issuecomment-1281254853 for more * We're using the master version of the helm github action * It recently had an update that featured a kubectl version update * This has had the knock on effect of causing our helm deploys to fail with ``` invalid apiVersion "client.authentication.k8s.io/v1alpha1" ``` --- .github/workflows/deploy-dev.yml | 2 +- .github/workflows/deploy-prod.yml | 2 +- .github/workflows/deploy-test.yml | 2 +- .github/workflows/helm-deploy-ui.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index cca1a476..b510cee5 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -77,7 +77,7 @@ jobs: docker tag $ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - name: ckan deploy - uses: koslib/helm-eks-action@master + uses: koslib/helm-eks-action@v1.25.2 env: KUBE_CONFIG_DATA: ${{ secrets.KUBECONFIG_FILE }} ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }} diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 806dbf8d..87dfd7d3 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -61,7 +61,7 @@ jobs: docker tag $ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - name: ckan deploy - uses: koslib/helm-eks-action@master + uses: koslib/helm-eks-action@v1.25.2 env: KUBE_CONFIG_DATA: ${{ secrets.KUBECONFIG_FILE }} ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }} diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 335bb475..e646834b 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -60,7 +60,7 @@ jobs: docker tag $ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - name: ckan deploy - uses: koslib/helm-eks-action@master + uses: koslib/helm-eks-action@v1.25.2 env: KUBE_CONFIG_DATA: ${{ secrets.KUBECONFIG_FILE }} ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }} diff --git a/.github/workflows/helm-deploy-ui.yml b/.github/workflows/helm-deploy-ui.yml index cd432295..ab707eb5 100644 --- a/.github/workflows/helm-deploy-ui.yml +++ b/.github/workflows/helm-deploy-ui.yml @@ -79,7 +79,7 @@ jobs: docker push ${{ secrets.ecr_registry }}/${{ inputs.ecr_repository }}:$IMAGE_TAG - name: update helm - uses: koslib/helm-eks-action@master + uses: koslib/helm-eks-action@v1.25.2 env: KUBE_CONFIG_DATA: ${{ secrets.kubeconfig_file }} with: