forked from akash-network/provider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: consolidate workflows into fewer pieces (akash-network#119)
- combine all test and check build workflows into single - trigger release if pushed by tag and all tests pass Signed-off-by: Artur Troian <[email protected]>
- Loading branch information
Showing
4 changed files
with
84 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Integration tests on schedule | ||
|
||
on: | ||
schedule: | ||
- cron: '0 */12 * * *' | ||
|
||
jobs: | ||
call-integration-tests: | ||
uses: ./.github/workflows/integration-tests.yaml |
9 changes: 2 additions & 7 deletions
9
.github/workflows/k8s-integration.yaml → .github/workflows/integration-tests.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,38 +5,11 @@ defaults: | |
shell: bash | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ensure-dry-run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Ensure release/dry-run PASS | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'dry-run' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
allowed-conclusions: success | ||
ensure-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Ensure tests PASS | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'tests' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
allowed-conclusions: success | ||
publish: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- ensure-dry-run | ||
- ensure-tests | ||
env: | ||
DOCKER_CLI_EXPERIMENTAL: "enabled" | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters