Skip to content

Commit

Permalink
ci: Automations for building rocks (#47)
Browse files Browse the repository at this point in the history
* ci: Automations for building rocks

* review: Use k8s 1.29

* review: remove workflow dispatch
  • Loading branch information
kimwnasptd committed Jul 23, 2024
1 parent 6df17a5 commit 0b77988
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/on_pull_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: On Pull Request

on:
pull_request:

jobs:

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.29-strict/stable
juju-channel: 3.4/stable
python-version: "3.8"
rockcraft-channel: latest/stable
21 changes: 21 additions & 0 deletions .github/workflows/on_push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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.29-strict/stable
juju-channel: 3.4/stable
python-version: "3.8"
rockcraft-channel: latest/stable

0 comments on commit 0b77988

Please sign in to comment.