-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into refactor_functions_with_pod_runner
- Loading branch information
Showing
114 changed files
with
804 additions
and
1,685 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 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
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 |
---|---|---|
|
@@ -9,19 +9,19 @@ jobs: | |
gomod: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | ||
- run: make go-mod-tidy | ||
- run: make go-mod-download | ||
- run: tar -cvf ./src.tar.gz ./ # preserve file permissions | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | ||
with: | ||
name: src | ||
path: ./src.tar.gz | ||
lint: | ||
runs-on: ubuntu-20.04 | ||
needs: gomod | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 | ||
with: | ||
name: src | ||
- run: tar -xvf ./src.tar.gz | ||
|
@@ -34,7 +34,7 @@ jobs: | |
matrix: | ||
testSuite: [test, integration-test, helm-test] | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 | ||
with: | ||
name: src | ||
- uses: helm/[email protected] | ||
|
@@ -58,7 +58,7 @@ jobs: | |
matrix: | ||
bin: [controller, kanctl, kando] | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 | ||
with: | ||
name: src | ||
- run: tar -xvf ./src.tar.gz | ||
|
@@ -67,7 +67,7 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
needs: gomod | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 | ||
with: | ||
name: src | ||
- run: tar -xvf ./src.tar.gz | ||
|
@@ -79,10 +79,10 @@ jobs: | |
permissions: | ||
packages: write | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 | ||
with: | ||
name: src | ||
- uses: docker/login-action@v2 | ||
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
|
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Triage Issues | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
jobs: | ||
triage: | ||
if: github.repository == 'kanisterio/kanister' | ||
name: Triage | ||
permissions: | ||
issues: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Add label | ||
uses: actions-ecosystem/[email protected] | ||
with: | ||
labels: "triage" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
- | ||
name: Add comment | ||
uses: actions-ecosystem/[email protected] | ||
if: github.event.action == 'opened' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
body: | | ||
Thanks for opening this issue :+1:. The team will review it shortly. | ||
If this is a bug report, make sure to include clear instructions how on to reproduce the problem with [minimal reproducible examples](https://stackoverflow.com/help/minimal-reproducible-example), where possible. If this is a security report, please review our security policy as outlined in [SECURITY.md](https://github.com/kanisterio/kanister/blob/master/SECURITY.md). | ||
If you haven't already, please take a moment to review our project's [Code of Conduct](https://github.com/kanisterio/kanister/blob/master/CODE_OF_CONDUCT.md) document. | ||
- | ||
name: Update project | ||
uses: alex-page/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GH_TOKEN }} # must use a PAT here | ||
project: Kanister | ||
column: To Be Triaged |
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,40 @@ | ||
name: Triage | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pull-requests-comment: | ||
name: Comment and Triage | ||
if: github.repository == 'kanisterio/kanister' && github.actor != 'dependabot' | ||
permissions: | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Comment | ||
uses: actions-ecosystem/[email protected] | ||
# Avoid adding a comment when the PR is on the same repo. | ||
if: github.event.action == 'opened' && github.event.pull_request.head.repo.fork | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
body: | | ||
Thanks for submitting this pull request :tada:. The team will review it soon and get back to you. | ||
If you haven't already, please take a moment to review our project [contributing guideline](https://github.com/kanisterio/kanister/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/kanisterio/kanister/blob/master/CODE_OF_CONDUCT.md) document. | ||
- | ||
name: Update status in project | ||
uses: alex-page/[email protected] | ||
# This only works for PRs opened in the same repo and not by dependabot. | ||
# Other PRs don't get the necessary credentials. | ||
if: github.repository == 'kanisterio/kanister' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot' | ||
with: | ||
repo-token: ${{ secrets.GH_TOKEN }} | ||
project: Kanister | ||
column: In Progress |
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
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
Oops, something went wrong.