diff --git a/.github/workflows/docker-build-and-deploy.yml b/.github/workflows/docker-build-and-deploy.yml index c747af9..db95fb0 100644 --- a/.github/workflows/docker-build-and-deploy.yml +++ b/.github/workflows/docker-build-and-deploy.yml @@ -82,7 +82,7 @@ jobs: steps: - name: Validate & generate docker workflow inputs id: gen-matrix - uses: wisemen-digital/devops-github-actions/.github/actions/docker/validate-and-generate-inputs@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/docker/validate-and-generate-inputs@v2 with: vendor: ${{ inputs.vendor }} image-variants: ${{ inputs.image-variants }} @@ -112,7 +112,7 @@ jobs: # Setup - name: Setup Docker environment id: setup - uses: wisemen-digital/devops-github-actions/.github/actions/docker/setup@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/docker/setup@v2 with: vendor: ${{ inputs.vendor }} container-registry: ${{ vars.CONTAINER_REGISTRY_ENDPOINT }} @@ -156,7 +156,7 @@ jobs: # Rollout - name: Rollout on cluster if: ${{ vars.K8S_CLUSTER_ID }} - uses: wisemen-digital/devops-github-actions/.github/actions/infra/k8s/rollout@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/infra/k8s/rollout@v2 with: vendor: ${{ inputs.vendor }} cluster-id: ${{ vars.K8S_CLUSTER_ID }} @@ -178,7 +178,7 @@ jobs: scaleway-secret-key: ${{ secrets.SCALEWAY_SECRET_KEY }} - name: Redeploy Serverless Container if: ${{ vars.SERVERLESS_CONTAINER_ID }} - uses: wisemen-digital/devops-github-actions/.github/actions/infra/serverless-container/redeploy@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/infra/serverless-container/redeploy@v2 with: vendor: ${{ inputs.vendor }} container-id: ${{ vars.SERVERLESS_CONTAINER_ID }} diff --git a/.github/workflows/docker-promote-to-environment.yml b/.github/workflows/docker-promote-to-environment.yml index 4d276df..8188993 100644 --- a/.github/workflows/docker-promote-to-environment.yml +++ b/.github/workflows/docker-promote-to-environment.yml @@ -91,7 +91,7 @@ jobs: steps: - name: Validate & generate docker workflow inputs id: gen-matrix - uses: wisemen-digital/devops-github-actions/.github/actions/docker/validate-and-generate-inputs@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/docker/validate-and-generate-inputs@v2 with: vendor: ${{ inputs.vendor }} image-variants: ${{ inputs.image-variants }} @@ -148,7 +148,7 @@ jobs: # Setup - name: Setup Docker environment id: setup - uses: wisemen-digital/devops-github-actions/.github/actions/docker/setup@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/docker/setup@v2 with: vendor: ${{ inputs.vendor }} container-registry: ${{ vars.CONTAINER_REGISTRY_ENDPOINT }} @@ -174,7 +174,7 @@ jobs: # Rollout - name: Rollout on cluster if: ${{ vars.K8S_CLUSTER_ID }} - uses: wisemen-digital/devops-github-actions/.github/actions/infra/k8s/rollout@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/infra/k8s/rollout@v2 with: vendor: ${{ inputs.vendor }} cluster-id: ${{ vars.K8S_CLUSTER_ID }} @@ -196,7 +196,7 @@ jobs: scaleway-secret-key: ${{ secrets.SCALEWAY_SECRET_KEY }} - name: Redeploy Serverless Container if: ${{ vars.SERVERLESS_CONTAINER_ID }} - uses: wisemen-digital/devops-github-actions/.github/actions/infra/serverless-container/redeploy@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/infra/serverless-container/redeploy@v2 with: vendor: ${{ inputs.vendor }} container-id: ${{ vars.SERVERLESS_CONTAINER_ID }} diff --git a/.github/workflows/infra-k8s-rollout.yml b/.github/workflows/infra-k8s-rollout.yml index a257799..e171aff 100644 --- a/.github/workflows/infra-k8s-rollout.yml +++ b/.github/workflows/infra-k8s-rollout.yml @@ -78,7 +78,7 @@ jobs: environment: ${{ matrix.deployment.environment }} steps: - name: Apply Configuration - uses: wisemen-digital/devops-github-actions/.github/actions/infra/k8s/apply@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/infra/k8s/apply@v2 with: vendor: ${{ inputs.vendor }} cluster-id: ${{ vars.K8S_CLUSTER_ID }} diff --git a/.github/workflows/infra-s3-rollout.yml b/.github/workflows/infra-s3-rollout.yml index dd513fb..7399b78 100644 --- a/.github/workflows/infra-s3-rollout.yml +++ b/.github/workflows/infra-s3-rollout.yml @@ -101,7 +101,7 @@ jobs: ;; esac - name: Apply Configuration - uses: wisemen-digital/devops-github-actions/.github/actions/infra/s3/apply@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/infra/s3/apply@v2 with: provider: ${{ inputs.vendor }} config-path: ${{ matrix.deployment.path }} diff --git a/.github/workflows/project-build-and-test.yml b/.github/workflows/project-build-and-test.yml index 68accbd..d00d9f7 100644 --- a/.github/workflows/project-build-and-test.yml +++ b/.github/workflows/project-build-and-test.yml @@ -110,7 +110,7 @@ jobs: with: fetch-depth: 0 - name: Scan for leaks - uses: wisemen-digital/devops-github-actions/.github/actions/project/check-leaks@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/project/check-leaks@v2 with: github-access-token: ${{ github.token }} generate-matrix: @@ -121,7 +121,7 @@ jobs: steps: - name: Validate & generate docker workflow inputs id: gen-matrix - uses: wisemen-digital/devops-github-actions/.github/actions/project/generate-matrix@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/project/generate-matrix@v2 with: mailpit-enabled: ${{ inputs.test-mailpit-enabled }} mailpit-image: ${{ inputs.test-mailpit-image }} @@ -148,7 +148,7 @@ jobs: steps: - name: Setup Node environment id: setup - uses: wisemen-digital/devops-github-actions/.github/actions/project/setup@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/project/setup@v2 with: apps: ${{ needs.generate-matrix.outputs.apps }} node-version: ${{ inputs.node-version }} @@ -207,7 +207,7 @@ jobs: steps: - name: Setup Node environment if: ${{ matrix.app.skip != true }} - uses: wisemen-digital/devops-github-actions/.github/actions/project/setup@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/project/setup@v2 with: node-version: ${{ inputs.node-version }} - name: Configure Turbo remote cache @@ -242,12 +242,12 @@ jobs: fi - name: Wait for services to be ready if: ${{ matrix.app.skip != true && matrix.app.health-checks != '' && matrix.app.health-checks != '[]' }} - uses: wisemen-digital/devops-github-actions/.github/actions/project/wait-for-services@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/project/wait-for-services@v2 with: health-checks: ${{ toJSON(matrix.app.health-checks) }} - name: Run tests if: ${{ matrix.app.skip != true }} - uses: wisemen-digital/devops-github-actions/.github/actions/project/test-stack@v1 + uses: wisemen-digital/devops-github-actions/.github/actions/project/test-stack@v2 with: app: ${{ matrix.app.path }} pnpm-filter-args: '--filter ${{ matrix.app.path }}'