diff --git a/.github/workflows/platform-docker-build-test-publish.yml b/.github/workflows/platform-docker-build-test-publish.yml index 2a0a5f8c14af..909145bbffa7 100644 --- a/.github/workflows/platform-docker-build-test-publish.yml +++ b/.github/workflows/platform-docker-build-test-publish.yml @@ -92,6 +92,8 @@ jobs: concurrency: 2 - tests: versioning concurrency: 1 + - tests: organisation-permission environment-permission project-permission roles + concurrency: 1 docker-publish-api: needs: [docker-build-api, run-e2e-tests] diff --git a/.github/workflows/platform-pull-request.yml b/.github/workflows/platform-pull-request.yml index 35e54055d445..9371643d1480 100644 --- a/.github/workflows/platform-pull-request.yml +++ b/.github/workflows/platform-pull-request.yml @@ -154,5 +154,23 @@ jobs: concurrency: 2 - tests: versioning concurrency: 1 + + run-e2e-tests-private-cloud: + if: needs.permissions-check.outputs.can-write == 'true' && !cancelled() + needs: [permissions-check, docker-build-private-cloud, docker-build-e2e] + uses: ./.github/workflows/.reusable-docker-e2e-tests.yml + with: + runs-on: ${{ matrix.runs-on }} + e2e-image: ${{ needs.docker-build-e2e.outputs.image }} + api-image: ${{ needs.docker-build-private-cloud.outputs.image }} + concurrency: ${{ matrix.args.concurrency }} + tests: ${{ matrix.args.tests }} + secrets: + gcr-token: ${{ needs.permissions-check.outputs.can-write == 'true' && secrets.GITHUB_TOKEN || '' }} + + strategy: + matrix: + runs-on: [ubuntu-latest, ARM64-2c] + args: - tests: organisation-permission environment-permission project-permission roles concurrency: 1