chore: cleanup
This commit is contained in:
parent
0cfc46f55a
commit
eca53f5706
2 changed files with 18 additions and 28 deletions
|
@ -16,7 +16,6 @@ env:
|
||||||
HELM_VERSION: v3.15.4 # renovate: datasource=github-releases depName=helm packageName=helm/helm
|
HELM_VERSION: v3.15.4 # renovate: datasource=github-releases depName=helm packageName=helm/helm
|
||||||
HELM_UNITTEST_VERSION: v0.5.2 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest
|
HELM_UNITTEST_VERSION: v0.5.2 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest
|
||||||
HELM_CHART_TESTING_VERSION: v3.11.0 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing
|
HELM_CHART_TESTING_VERSION: v3.11.0 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing
|
||||||
KIND_VERSION: v0.24.0 # renovate: datasource=github-releases depName=kind packageName=kubernetes-sigs/kind
|
|
||||||
KUBECTL_VERSION: v1.31.0 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
|
KUBECTL_VERSION: v1.31.0 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -78,13 +77,11 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# k8s:
|
|
||||||
# # from https://hub.docker.com/r/kindest/node/tags
|
|
||||||
# - v1.27.16 # renovate: kindest
|
|
||||||
# - v1.28.13 # renovate: kindest
|
|
||||||
# - v1.29.8 # renovate: kindest
|
|
||||||
# - v1.30.4 # renovate: kindest
|
|
||||||
k3s:
|
k3s:
|
||||||
|
- v1.27.16+k3s1 # renovate: k3s
|
||||||
|
# only build oldes and newest version
|
||||||
|
# - v1.28.12+k3s1 # renovate: k3s
|
||||||
|
# - v1.29.7+k3s1 # renovate: k3s
|
||||||
- v1.30.3+k3s1 # renovate: k3s
|
- v1.30.3+k3s1 # renovate: k3s
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -113,15 +110,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.k3s }}
|
version: ${{ matrix.k3s }}
|
||||||
|
|
||||||
# - uses: ./.forgejo/actions/setup-docker
|
|
||||||
|
|
||||||
# - name: Create kind cluster
|
|
||||||
# uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
|
|
||||||
# with:
|
|
||||||
# node_image: kindest/node:${{ matrix.k8s }}
|
|
||||||
# kubectl_version: ${{ env.KUBECTL_VERSION }}
|
|
||||||
# version: ${{ env.KIND_VERSION }}
|
|
||||||
|
|
||||||
- run: kubectl get no -o wide
|
- run: kubectl get no -o wide
|
||||||
|
|
||||||
- name: install chart
|
- name: install chart
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["forgejo-contrib/forgejo-renovate//base.json"],
|
"extends": [
|
||||||
|
"forgejo-contrib/forgejo-renovate//base.json",
|
||||||
|
"github>visualon/renovate-config//k3s.json"
|
||||||
|
],
|
||||||
"assignees": ["viceice"],
|
"assignees": ["viceice"],
|
||||||
"baseBranches": ["main", "/^maint\\/.+/"],
|
"baseBranches": ["main", "/^maint\\/.+/"],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
@ -67,13 +70,13 @@
|
||||||
"automerge": true
|
"automerge": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Separate minor and patch updates for kindest",
|
"description": "Separate minor and patch updates for k3s",
|
||||||
"matchPackageNames": ["kindest/node"],
|
"matchPackageNames": ["k3s-io/k3s"],
|
||||||
"separateMinorPatch": true
|
"separateMinorPatch": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Require approval and no automerge for kindest major and minor updates",
|
"description": "Require approval and no automerge for k3s major and minor updates",
|
||||||
"matchPackageNames": ["kindest/node"],
|
"matchPackageNames": [ "k3s-io/k3s"],
|
||||||
"matchUpdateTypes": ["major", "minor"],
|
"matchUpdateTypes": ["major", "minor"],
|
||||||
"dependencyDashboardApproval": true,
|
"dependencyDashboardApproval": true,
|
||||||
"automerge": false
|
"automerge": false
|
||||||
|
@ -122,16 +125,15 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Update kindest kubernetes references",
|
"description": "Update k3s kubernetes references",
|
||||||
"fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"],
|
"fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"],
|
||||||
"matchStrings": [
|
"matchStrings": [" +- (?<currentValue>.+?) # renovate: k3s\\n"],
|
||||||
" +- (?<currentValue>v\\d+\\.\\d+\\.\\d+) # renovate: kindest\\n"
|
"depNameTemplate": "k3s",
|
||||||
],
|
"packageNameTemplate": "k3s-io/k3s",
|
||||||
"depNameTemplate": "kindest/node",
|
"datasourceTemplate": "github-releases"
|
||||||
"datasourceTemplate": "docker"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"helm-values": {
|
"helm-values": {
|
||||||
"fileMatch": ["^ci/.+\\.yml$"]
|
"fileMatch": ["^ci/.+\\.yaml$"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue