Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/actions/conditional/conditions
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#
# To test a pattern run '.github/actions/conditional/conditional.sh <remote name> <branch>'

.github/actions/ ci operator js codeql-java codeql-themes guides documentation ci-sssd
.github/actions/ ci ci-store ci-sssd operator js codeql-java codeql-themes guides documentation
.github/scripts/ ci ci-sssd

.github/workflows/ci.yml ci ci-sssd
.github/workflows/ci.yml ci ci-store ci-sssd
.github/workflows/operator-ci.yml operator
.github/workflows/js-ci.yml js
.github/workflows/codeql-analysis.yml codeql-java codeql-themes
Expand All @@ -14,9 +14,11 @@

*/src/main/ ci operator
*/src/test/ ci operator
pom.xml ci operator
pom.xml ci ci-store operator
federation/sssd/ ci ci-sssd

model/ ci-store

docs/guides/ guides
docs/documentation/ documentation

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
ci: ${{ steps.conditional.outputs.ci }}
ci-store: ${{ steps.conditional.outputs.ci-store }}
ci-sssd: ${{ steps.conditional.outputs.ci-sssd }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -199,6 +200,8 @@ jobs:
databases-new-store:
name: Databases New Store
runs-on: ubuntu-latest
needs: [conditional]
if: needs.conditional.outputs.ci-store == 'true'
steps:
- id: matrix-db
# language=bash
Expand All @@ -214,7 +217,8 @@ jobs:

new-store-integration-tests:
name: New Store IT
needs: [build, databases-new-store]
needs: [conditional, build, databases-new-store]
if: needs.conditional.outputs.ci-store == 'true'
runs-on: ubuntu-latest
# Currently, the run of CockroachDB (only branches and nightly runs) is the longest with 50-60 minutes
timeout-minutes: 90
Expand Down Expand Up @@ -254,7 +258,8 @@ jobs:

legacy-store-integration-tests:
name: Legacy Store IT
needs: build
needs: [build, conditional]
if: needs.conditional.outputs.ci-store == 'true'
runs-on: ubuntu-latest
timeout-minutes: 75
strategy:
Expand Down Expand Up @@ -288,7 +293,8 @@ jobs:
store-model-tests:
name: Store Model Tests
runs-on: ubuntu-latest
needs: build
needs: [build, conditional]
if: needs.conditional.outputs.ci-store == 'true'
timeout-minutes: 75
steps:
- uses: actions/checkout@v3
Expand Down