Skip to content

Commit 8d5267f

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

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.github/workflows/PR.yaml

Lines changed: 9 additions & 9 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,6 +66,14 @@ 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

.github/workflows/releasepr.yaml

Lines changed: 10 additions & 10 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,6 +61,15 @@ 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

0 commit comments

Comments
 (0)