From 8d5267faba00736932e6f2b3646cbfc4ee4015f7 Mon Sep 17 00:00:00 2001 From: pSchlarb Date: Thu, 2 Mar 2023 14:03:12 +0000 Subject: [PATCH] changed ordering of pipeline tasks Signed-off-by: pSchlarb --- .github/workflows/PR.yaml | 18 +++++++++--------- .github/workflows/releasepr.yaml | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/PR.yaml b/.github/workflows/PR.yaml index 0a599e7cfd..86f837c77f 100644 --- a/.github/workflows/PR.yaml +++ b/.github/workflows/PR.yaml @@ -55,17 +55,9 @@ jobs: DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }} - plenum_tests: - name: Test Plenum - needs: [workflow-setup, lint, build-docker-image] - uses: ./.github/workflows/reuseable_test.yaml - with: - GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }} - UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }} - build_packages: name: Build Packages - needs: [workflow-setup, plenum_tests] + needs: [workflow-setup, build-docker-image] uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1 with: DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build:${{ needs.workflow-setup.outputs.UBUNTU_VERSION }} @@ -74,6 +66,14 @@ jobs: isRC: 'false' moduleName: plenum + plenum_tests: + name: Test Plenum + needs: [workflow-setup, lint, build_packages] + uses: ./.github/workflows/reuseable_test.yaml + with: + GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }} + UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }} + statusCheck: name: statusCheck runs-on: ubuntu-latest diff --git a/.github/workflows/releasepr.yaml b/.github/workflows/releasepr.yaml index 4427434dc4..c412cdc9d1 100644 --- a/.github/workflows/releasepr.yaml +++ b/.github/workflows/releasepr.yaml @@ -49,18 +49,9 @@ jobs: DOCKER_IMAGE: ghcr.io/${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }} - plenum_tests: - name: Test Plenum - needs: [release-infos, lint, build-docker-image] - if: needs.release-infos.outputs.isVersionBump == 'true' - uses: ./.github/workflows/reuseable_test.yaml - with: - GITHUB_REPOSITORY_NAME: ${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }} - UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }} - build_packages: name: Build Packages - needs: [release-infos, plenum_tests] + needs: [release-infos, build-docker-image] if: needs.release-infos.outputs.isVersionBump == 'true' uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1 with: @@ -70,6 +61,15 @@ jobs: isRC: '${{ needs.release-infos.outputs.isPreRelease }}' moduleName: plenum + plenum_tests: + name: Test Plenum + needs: [release-infos, lint, build_packages] + if: needs.release-infos.outputs.isVersionBump == 'true' + uses: ./.github/workflows/reuseable_test.yaml + with: + GITHUB_REPOSITORY_NAME: ${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }} + UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }} + statusCheck: name: statusCheck runs-on: ubuntu-latest