-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update on_pull_request and on_push (#55)
Update CI to use changes from canonical/charmed-kubeflow-workflows#36. - Update on_pull_request - Add on_push workflow - Disable scheduled build_and_scan since ATM it's not working and it's only polluting GH actions tab. This is bound to be redesigned as part of canonical/bundle-kubeflow#782. Ref canonical/charmed-kubeflow-workflows#31
- Loading branch information
Showing
4 changed files
with
39 additions
and
50 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,14 +1,17 @@ | ||
name: On Pull Request | ||
|
||
# On pull_request, we: | ||
# * always build the rocks | ||
# * always run tests | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
|
||
tests: | ||
name: Run Tests | ||
uses: ./.github/workflows/integrate.yaml | ||
on-pull-request: | ||
name: Get ROCKs modified and build-scan-test them | ||
uses: canonical/charmed-kubeflow-workflows/.github/workflows/get-rocks-modified-and-build-scan-test-publish.yaml@main | ||
permissions: | ||
pull-requests: read | ||
secrets: inherit | ||
with: | ||
microk8s-channel: 1.26/stable | ||
juju-channel: 3.1/stable | ||
python-version: "3.8" |
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,20 @@ | ||
name: On Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- track/** | ||
|
||
jobs: | ||
|
||
on-push: | ||
name: Get ROCKs modified and build-scan-test-publish them | ||
uses: canonical/charmed-kubeflow-workflows/.github/workflows/get-rocks-modified-and-build-scan-test-publish.yaml@main | ||
permissions: | ||
pull-requests: read | ||
secrets: inherit | ||
with: | ||
microk8s-channel: 1.26/stable | ||
juju-channel: 3.1/stable | ||
python-version: "3.8" |