Skip to content

Commit 9ba9c9b

Browse files
committed
changed ordering of pipeline tasks
Signed-off-by: pSchlarb <[email protected]>
1 parent 029a7ee commit 9ba9c9b

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.github/workflows/PR.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,9 @@ jobs:
5555
DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build
5656
UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}
5757

58-
plenum_tests:
59-
name: Test Plenum
60-
needs: [workflow-setup, lint, build-docker-image]
61-
uses: ./.github/workflows/reuseable_test.yaml
62-
with:
63-
GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}
64-
UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}
65-
6658
build_packages:
6759
name: Build Packages
68-
needs: [workflow-setup, plenum_tests]
60+
needs: [workflow-setup, build-docker-image]
6961
uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1
7062
with:
7163
DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build:${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}
@@ -74,10 +66,18 @@ jobs:
7466
isRC: 'false'
7567
moduleName: plenum
7668

69+
plenum_tests:
70+
name: Test Plenum
71+
needs: [workflow-setup, lint, build_packages]
72+
uses: ./.github/workflows/reuseable_test.yaml
73+
with:
74+
GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}
75+
UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}
76+
7777
statusCheck:
7878
name: statusCheck
7979
runs-on: ubuntu-latest
80-
needs: [workflow-setup, build_packages]
80+
needs: [workflow-setup, plenum_tests]
8181
if: ${{ needs.workflow-setup.outputs.testsNeeded == 'false' || success() }}
8282
steps:
8383
- run: 'echo "Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail)." '

.github/workflows/releasepr.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,9 @@ jobs:
4949
DOCKER_IMAGE: ghcr.io/${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build
5050
UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}
5151

52-
plenum_tests:
53-
name: Test Plenum
54-
needs: [release-infos, lint, build-docker-image]
55-
if: needs.release-infos.outputs.isVersionBump == 'true'
56-
uses: ./.github/workflows/reuseable_test.yaml
57-
with:
58-
GITHUB_REPOSITORY_NAME: ${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}
59-
UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}
60-
6152
build_packages:
6253
name: Build Packages
63-
needs: [release-infos, plenum_tests]
54+
needs: [release-infos, build-docker-image]
6455
if: needs.release-infos.outputs.isVersionBump == 'true'
6556
uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1
6657
with:
@@ -70,9 +61,18 @@ jobs:
7061
isRC: '${{ needs.release-infos.outputs.isPreRelease }}'
7162
moduleName: plenum
7263

64+
plenum_tests:
65+
name: Test Plenum
66+
needs: [release-infos, lint, build_packages]
67+
if: needs.release-infos.outputs.isVersionBump == 'true'
68+
uses: ./.github/workflows/reuseable_test.yaml
69+
with:
70+
GITHUB_REPOSITORY_NAME: ${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}
71+
UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}
72+
7373
statusCheck:
7474
name: statusCheck
7575
runs-on: ubuntu-latest
76-
needs: [build_packages]
76+
needs: [plenum_tests]
7777
steps:
7878
- run: 'echo "Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail)." '

0 commit comments

Comments
 (0)