Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Upgrade github workflows #270

Merged
merged 1 commit into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 27 additions & 15 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,37 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Fetch history
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.4.1

- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.0.0
- name: Set up Python
uses: actions/setup-python@v2
with:
command: lint
config: lint.yaml
python-version: 3.7

- name: Create kind cluster
uses: helm/kind-action@v1.0.0
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
with:
install_local_path_provisioner: true
if: steps.lint.outputs.changed == 'true'
version: v3.3.0

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config test.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint --config test.yaml

- name: Create kind cluster
uses: helm/kind-action@v1.1.0
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.0.0
with:
command: install
config: test.yaml
run: ct install --config test.yaml
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Install Helm
run: |
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
uses: azure/setup-helm@v1
with:
version: v3.4.0

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0
uses: helm/chart-releaser-action@v1.2.0
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
2 changes: 1 addition & 1 deletion charts/sonatype-nexus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: sonatype-nexus
version: 4.4.2
version: 4.4.3
appVersion: 3.27.0
description: Sonatype Nexus is an open source repository manager
keywords:
Expand Down