You've already forked reposilite-charts
fix(ci): replace volker.raschek/helm with docker.io/alpine/helm
This commit is contained in:
@@ -12,31 +12,56 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
helm-lint:
|
helm-lint:
|
||||||
container:
|
container: docker.io/alpine/helm:3.19.0
|
||||||
image: docker.io/volkerraschek/helm:3.19.0
|
name: Execute helm lint
|
||||||
runs-on:
|
runs-on: ubuntu-latest
|
||||||
- ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install tooling
|
- name: Install additional tools
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add git npm
|
apk add --update bash make nodejs
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
- name: Lint helm files
|
- name: Install helm chart dependencies
|
||||||
run: |
|
run: helm dependency build
|
||||||
helm lint --values values.yaml .
|
- name: Execute helm lint
|
||||||
|
run: helm lint
|
||||||
|
|
||||||
|
helm-template:
|
||||||
|
container: docker.io/alpine/helm:3.19.0
|
||||||
|
name: Execute helm template
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install additional tools
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add --update bash make nodejs
|
||||||
|
- uses: actions/checkout@v5.0.0
|
||||||
|
- name: Extract repository owner and name
|
||||||
|
run: |
|
||||||
|
echo "REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2 | sed --regexp-extended 's/-charts?//g')" >> $GITHUB_ENV
|
||||||
|
echo "REPOSITORY_OWNER=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 1)" >> $GITHUB_ENV
|
||||||
|
- name: Install helm chart dependencies
|
||||||
|
run: helm dependency build
|
||||||
|
- name: Execute helm template
|
||||||
|
run: helm template --debug "${REPOSITORY_NAME}" .
|
||||||
|
|
||||||
helm-unittest:
|
helm-unittest:
|
||||||
container:
|
container: docker.io/alpine/helm:3.19.0
|
||||||
image: docker.io/volkerraschek/helm:3.19.0
|
env:
|
||||||
runs-on:
|
HELM_UNITTEST_VERSION: v1.0.1 # renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
||||||
- ubuntu-latest
|
name: Execute helm unittest
|
||||||
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install tooling
|
- name: Install additional tools
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add git npm
|
apk add --update bash make nodejs npm yamllint ncurses
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
- name: Unittest
|
- name: Install helm chart dependencies
|
||||||
run: |
|
run: helm dependency build
|
||||||
helm unittest --strict --file 'unittests/**/*.yaml' ./
|
- name: Install helm plugin 'unittest'
|
||||||
|
run: helm plugin install --version "${HELM_UNITTEST_VERSION}" https://github.com/helm-unittest/helm-unittest
|
||||||
|
- name: Execute helm unittest
|
||||||
|
env:
|
||||||
|
TERM: xterm
|
||||||
|
run: helm unittest --strict --file 'unittests/**/*.yaml' ./
|
||||||
|
@@ -31,6 +31,16 @@
|
|||||||
"packageNameTemplate": "https://git.cryptic.systems/volker.raschek/reposilite-charts",
|
"packageNameTemplate": "https://git.cryptic.systems/volker.raschek/reposilite-charts",
|
||||||
"datasourceTemplate": "git-tags",
|
"datasourceTemplate": "git-tags",
|
||||||
"versioningTemplate": "semver"
|
"versioningTemplate": "semver"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"customType": "regex",
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"managerFilePatterns": [
|
||||||
|
"/.vscode/settings\\.json$/"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
@@ -41,6 +51,15 @@
|
|||||||
"volkerraschek/helm"
|
"volkerraschek/helm"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"groupName": "Update helm plugin 'unittest'",
|
||||||
|
"matchDepNames": [
|
||||||
|
"helm-unittest/helm-unittest"
|
||||||
|
],
|
||||||
|
"matchDatasources": [
|
||||||
|
"github-releases"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"groupName": "Update docker.io/library/node",
|
"groupName": "Update docker.io/library/node",
|
||||||
"matchDepNames": [
|
"matchDepNames": [
|
||||||
|
Reference in New Issue
Block a user