-
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.
Signed-off-by: Yuma Ogami <[email protected]> Co-authored-by: Shinya Hayashi <[email protected]>
- Loading branch information
Showing
5 changed files
with
91 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,29 @@ | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "**/*.md" | ||
- "CODEOWNERS" | ||
push: | ||
paths-ignore: | ||
- "**/*.md" | ||
- "CODEOWNERS" | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
e2e-k8s: | ||
name: "e2e-k8s" | ||
runs-on: "ubuntu-20.04" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
kubernetes_versions: ["1.24", "1.23", "1.22"] | ||
env: | ||
KUBERNETES_VERSION: ${{ matrix.kubernetes_versions }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.19" | ||
- run: make -C e2e create-cluster | ||
- run: make -C e2e test |
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,36 @@ | ||
name: "Lint Charts" | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "charts/**" | ||
- "ct.yaml" | ||
|
||
jobs: | ||
lint: | ||
runs-on: "ubuntu-20.04" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Setup Go" | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.19" | ||
|
||
- name: "Set up chart-testing" | ||
uses: helm/[email protected] | ||
|
||
- name: "Run chart-testing (list-changed)" | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --config ct.yaml) | ||
if [[ -n "$changed" ]]; then | ||
echo "changed=true" >> $GITHUB_OUTPUT | ||
fi | ||
- name: "Run chart-testing (lint)" | ||
run: ct lint --config ct.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Main" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "main" | ||
jobs: | ||
build: | ||
name: "build" | ||
runs-on: "ubuntu-20.04" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.19" | ||
- run: make check-uncommitted | ||
- run: make test | ||
- run: make docker-build |
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,4 @@ | ||
# This file is the config file for helm/chart-testing | ||
target-branch: main | ||
validate-maintainers: false | ||
check-version-increment: false |