From 020d3dd0bff7d6940e735658d1188f45df076e9f Mon Sep 17 00:00:00 2001 From: Shane Smith Date: Mon, 12 Feb 2024 08:18:20 -0600 Subject: [PATCH] fix: updating release-deploy to depend on lint-test-build and adding steps --- .github/workflows/lint-test-build.yml | 2 ++ .github/workflows/release-deploy.yml | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-test-build.yml b/.github/workflows/lint-test-build.yml index 0243ca0596..4c8174a6c1 100644 --- a/.github/workflows/lint-test-build.yml +++ b/.github/workflows/lint-test-build.yml @@ -1,7 +1,9 @@ name: Lint-Test-Build on: + workflow_call: workflow_dispatch: pull_request: + jobs: lint_test_build: name: Lint, Test, Build diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index 0d9a6e8374..e2982519a1 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -6,10 +6,18 @@ on: branches: - main - develop - - PRODENG-1577/kube_deployment + + +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: - release_deploy: - name: Release and Deploy + lint-test-build: + uses: ./lint-test-build.yml + + setup: + needs: [lint-test-build] runs-on: ubuntu-latest steps: # Envs based on the current branch @@ -85,6 +93,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 + build_an_push: + needs: [setup] + runs-on: ubuntu-latest + steps: # Docs Site - name: Build and push docs site uses: docker/build-push-action@v2