-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* minor bash script linting fixes * fix label indenation for linting * bump anchore-admission-controller version * bump chart testing & shellcheck action versions * move html pages to gh-pages branch only * add chart releaser action workflow * add tarballs to gitignore Signed-off-by: Brady Todhunter <[email protected]>
- Loading branch information
1 parent
4db4fd9
commit 56d7d4e
Showing
9 changed files
with
64 additions
and
71 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 @@ | ||
name: Release Charts to charts.anchore.io | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: stable | ||
charts_repo_url: https://btodhunter.github.io/anchore-charts | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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 |
---|---|---|
|
@@ -11,24 +11,31 @@ jobs: | |
if: github.ref != 'refs/heads/master' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v2 | ||
|
||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Shellcheck | ||
uses: ludeeus/[email protected] | ||
uses: ludeeus/[email protected] | ||
|
||
- name: Run chart-testing (lint) | ||
id: lint | ||
uses: helm/[email protected]alpha.3 | ||
uses: helm/[email protected]rc.2 | ||
with: | ||
command: lint | ||
config: ct-config.yaml | ||
|
||
- name: Install kind | ||
uses: helm/[email protected]alpha.3 | ||
uses: helm/[email protected]rc.1 | ||
with: | ||
node_image: "kindest/node:${{ matrix.kubernetesVersion }}" | ||
config: kind-config.yaml | ||
install_local_path_provisioner: true | ||
if: steps.lint.outputs.changed == 'true' | ||
|
||
- name: Run chart-testing (install) | ||
uses: helm/[email protected]alpha.3 | ||
uses: helm/[email protected]rc.2 | ||
with: | ||
command: install | ||
config: ct-config.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.idea | ||
|
||
examples/ | ||
*.tgz |
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 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