-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
125 additions
and
0 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,54 @@ | ||
name: Bug Report | ||
description: Something is not working | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for submitting an issue. Please fill in the template below | ||
information about the bug you encountered. | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Summary | ||
description: Please explain the bug in a few short sentences. | ||
placeholder: Detail the bug here... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: what-should-happen | ||
attributes: | ||
label: What Should Happen Instead? | ||
description: Please explain what the expected behavior is. | ||
placeholder: Explain the expected outcome... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: reproduction-steps | ||
attributes: | ||
label: Reproduction Steps | ||
description: Are you able to consistently reproduce the issue? Please add a list of steps that lead to the bug. | ||
placeholder: "1.\n2.\n" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: suggest-fix | ||
attributes: | ||
label: Can you suggest a fix? | ||
description: How do you propose that the issue be fixed? | ||
placeholder: Suggest a fix if you have one... | ||
|
||
- type: textarea | ||
id: contribute-fix | ||
attributes: | ||
label: Are you interested in contributing with a fix? | ||
description: yes/no, or @mention maintainers. Community contributions are welcome. | ||
placeholder: Are you willing to contribute a fix? | ||
|
||
- type: markdown | ||
attributes: | ||
value: Thank you for making the rocks better |
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,21 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest a new feature | ||
--- | ||
|
||
<!-- | ||
Thank you for submitting a feature request. Please fill the template below | ||
with more details. | ||
--> | ||
|
||
#### Summary | ||
<!-- Please explain the feature request in a few short sentences. --> | ||
|
||
#### Why is this important? | ||
<!-- Please explain the motivation, how it will be used, etc. --> | ||
|
||
#### Are you interested in contributing to this feature? | ||
<!-- yes/no, or @mention maintainers. --> | ||
|
||
|
||
<!-- Thank you for making Canonical Kubernetes better --> |
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: cla-check | ||
on: [pull_request_target] | ||
|
||
jobs: | ||
cla-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if CLA signed | ||
uses: canonical/has-signed-canonical-cla@v1 |
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,41 @@ | ||
name: Push Multiarch Images | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-push-arch-specifics: | ||
name: Build Rocks and Push Arch Specific Images | ||
uses: canonical/k8s-workflows/.github/workflows/build_rocks.yaml@main | ||
with: | ||
owner: ${{ github.repository_owner }} | ||
trivy-image-config: "trivy.yaml" | ||
multiarch-awareness: true | ||
cache-action: ${{ (github.event_name == 'push') && 'save' || 'restore' }} | ||
# pinning to use rockcraft 1.3.0 feature `entrypoint-service` | ||
rockcraft-revisions: '{"amd64": "1783", "arm64": "1784"}' | ||
arch-skipping-maximize-build-space: '["arm64"]' | ||
platform-labels: '{"arm64": ["Ubuntu_ARM64_4C_16G_01"]}' | ||
run-tests: | ||
uses: canonical/k8s-workflows/.github/workflows/run_tests.yaml@feat/rock-tests | ||
needs: [build-and-push-arch-specifics] | ||
secrets: inherit | ||
with: | ||
rock-metas: ${{ needs.build-and-push-arch-specifics.outputs.rock-metas }} | ||
scan-images: | ||
uses: canonical/k8s-workflows/.github/workflows/scan_images.yaml@main | ||
needs: [build-and-push-arch-specifics] | ||
secrets: inherit | ||
with: | ||
upload-result: ${{ github.event_name == 'push' }} | ||
images: ${{ needs.build-and-push-arch-specifics.outputs.images }} | ||
trivy-image-config: ./trivy.yaml | ||
build-and-push-multiarch-manifest: | ||
name: Combine Rocks and Push Multiarch Manifest | ||
uses: canonical/k8s-workflows/.github/workflows/assemble_multiarch_image.yaml@main | ||
needs: [build-and-push-arch-specifics] | ||
with: | ||
rock-metas: ${{ needs.build-and-push-arch-specifics.outputs.rock-metas }} | ||
dry-run: ${{ github.event_name != 'push' }} |