Compare commits
14 Commits
gitea-acti
...
023d0263be
Author | SHA1 | Date | |
---|---|---|---|
023d0263be
|
|||
dc64cb498e | |||
9646667d75 | |||
1b68fcabf5 | |||
d95b7ef6ac | |||
8f92b4b3ef | |||
2d04080009 | |||
b63140e74f | |||
e430d3fe32 | |||
8e748b7084 | |||
f339e8698c | |||
fbc9293355 | |||
2371aeb612 | |||
799340aa3b |
@@ -1,6 +1,7 @@
|
|||||||
name: lint-and-test-charts
|
name: lint-and-test
|
||||||
|
|
||||||
on: pull_request
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-test:
|
lint-test:
|
||||||
@@ -35,4 +36,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Chart Testing (lint)
|
- name: Run Chart Testing (lint)
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
run: ct lint --target-branch ${{ gitea.event.repository.default_branch }}
|
run: ct lint --validate-maintainers=false --target-branch ${{ gitea.event.repository.default_branch }}
|
||||||
|
@@ -56,11 +56,30 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: Actions Ntfy
|
- name: ntfy Success
|
||||||
run: |
|
uses: niniyas/ntfy-action@master
|
||||||
curl \
|
if: success()
|
||||||
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
with:
|
||||||
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
-H "Content-Type: text/plain" \
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
title: "Gitea Action"
|
||||||
${{ secrets.NTFY_URL }}
|
priority: 3
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,successfully,completed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has successfully completed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
|
||||||
|
- name: ntfy Failed
|
||||||
|
uses: niniyas/ntfy-action@master
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
title: "Gitea Action"
|
||||||
|
priority: 4
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,failed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has failed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/helm-charts/actions?workflow=release-charts-${{ env.CHART_NAME }}.yml", "clear": true}]'
|
||||||
|
image: true
|
||||||
|
@@ -56,11 +56,30 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: Actions Ntfy
|
- name: ntfy Success
|
||||||
run: |
|
uses: niniyas/ntfy-action@master
|
||||||
curl \
|
if: success()
|
||||||
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
with:
|
||||||
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
-H "Content-Type: text/plain" \
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
title: "Gitea Action"
|
||||||
${{ secrets.NTFY_URL }}
|
priority: 3
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,successfully,completed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has successfully completed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
|
||||||
|
- name: ntfy Failed
|
||||||
|
uses: niniyas/ntfy-action@master
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
title: "Gitea Action"
|
||||||
|
priority: 4
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,failed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has failed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/helm-charts/actions?workflow=release-charts-${{ env.CHART_NAME }}.yml", "clear": true}]'
|
||||||
|
image: true
|
||||||
|
@@ -56,11 +56,30 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: Actions Ntfy
|
- name: ntfy Success
|
||||||
run: |
|
uses: niniyas/ntfy-action@master
|
||||||
curl \
|
if: success()
|
||||||
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
with:
|
||||||
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
-H "Content-Type: text/plain" \
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
title: "Gitea Action"
|
||||||
${{ secrets.NTFY_URL }}
|
priority: 3
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,successfully,completed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has successfully completed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
|
||||||
|
- name: ntfy Failed
|
||||||
|
uses: niniyas/ntfy-action@master
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
title: "Gitea Action"
|
||||||
|
priority: 4
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,failed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has failed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/helm-charts/actions?workflow=release-charts-${{ env.CHART_NAME }}.yml", "clear": true}]'
|
||||||
|
image: true
|
||||||
|
@@ -56,11 +56,30 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: Actions Ntfy
|
- name: ntfy Success
|
||||||
run: |
|
uses: niniyas/ntfy-action@master
|
||||||
curl \
|
if: success()
|
||||||
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
with:
|
||||||
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
-H "Content-Type: text/plain" \
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
title: "Gitea Action"
|
||||||
${{ secrets.NTFY_URL }}
|
priority: 3
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,successfully,completed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has successfully completed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
|
||||||
|
- name: ntfy Failed
|
||||||
|
uses: niniyas/ntfy-action@master
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
title: "Gitea Action"
|
||||||
|
priority: 4
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,failed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has failed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/helm-charts/actions?workflow=release-charts-${{ env.CHART_NAME }}.yml", "clear": true}]'
|
||||||
|
image: true
|
||||||
|
82
.gitea/workflows/release-charts.yml
Normal file
82
.gitea/workflows/release-charts.yml
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
name: release-charts
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "charts/**"
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
version: latest
|
||||||
|
|
||||||
|
- name: Package Helm Chart
|
||||||
|
run: |
|
||||||
|
cd $WORKFLOW_DIR
|
||||||
|
helm dependency build
|
||||||
|
echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITEA_ENV
|
||||||
|
|
||||||
|
- name: Publish Helm Chart to Harbor
|
||||||
|
run: |
|
||||||
|
helm registry login ${{ vars.REGISTRY_HOST }} -u ${{ vars.REGISTRY_USER }} -p ${{ secrets.REGISTRY_SECRET }}
|
||||||
|
helm push ${{ env.PACKAGE_PATH }} oci://${{ vars.REGISTRY_HOST }}/helm-charts
|
||||||
|
|
||||||
|
- name: Publish Helm Chart to Gitea
|
||||||
|
run: |
|
||||||
|
helm plugin install https://github.com/chartmuseum/helm-push
|
||||||
|
helm repo add --username ${{ gitea.actor }} --password ${{ secrets.REPOSITORY_TOKEN }} helm-charts https://${{ vars.REPOSITORY_HOST }}/api/packages/alexlebens/helm
|
||||||
|
helm cm-push ${{ env.PACKAGE_PATH }} helm-charts
|
||||||
|
|
||||||
|
- name: Extract Chart Metadata
|
||||||
|
run: |
|
||||||
|
cd $WORKFLOW_DIR
|
||||||
|
echo "CHART_VERSION=$(yq '.version' Chart.yaml)" >> $GITEA_ENV
|
||||||
|
echo "CHART_NAME=$(yq '.name' Chart.yaml)" >> $GITEA_ENV
|
||||||
|
|
||||||
|
- name: Release Helm Chart
|
||||||
|
uses: akkuman/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
name: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}
|
||||||
|
tag_name: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}
|
||||||
|
files: |-
|
||||||
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
|
- name: ntfy Success
|
||||||
|
uses: niniyas/ntfy-action@master
|
||||||
|
if: success()
|
||||||
|
with:
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
title: "Gitea Action"
|
||||||
|
priority: 3
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,successfully,completed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has successfully completed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
|
||||||
|
- name: ntfy Failed
|
||||||
|
uses: niniyas/ntfy-action@master
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
title: "Gitea Action"
|
||||||
|
priority: 4
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
||||||
|
tags: action,failed
|
||||||
|
details: 'Helm Chart for ${{ env.CHART_NAME }} release workflow has failed!'
|
||||||
|
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||||
|
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/helm-charts/actions?workflow=release-charts.yml", "clear": true}]'
|
||||||
|
image: true
|
@@ -15,16 +15,18 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/renovatebot/renovate:40
|
container: ghcr.io/renovatebot/renovate:40
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout
|
||||||
- run: renovate
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Renovate
|
||||||
|
run: renovate
|
||||||
env:
|
env:
|
||||||
RENOVATE_PLATFORM: gitea
|
RENOVATE_PLATFORM: gitea
|
||||||
RENOVATE_AUTODISCOVER: true
|
RENOVATE_ENDPOINT: ${{ vars.INSTANCE_URL }}
|
||||||
RENOVATE_ONBOARDING: true
|
RENOVATE_REPOSITORIES: alexlebens/helm-charts
|
||||||
RENOVATE_ENDPOINT: http://gitea-http.gitea:3000
|
|
||||||
RENOVATE_GIT_AUTHOR: Renovate Bot <renovate-bot@alexlebens.net>
|
RENOVATE_GIT_AUTHOR: Renovate Bot <renovate-bot@alexlebens.net>
|
||||||
LOG_LEVEL: debug
|
LOG_LEVEL: info
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
RENOVATE_GIT_PRIVATE_KEY: ${{ secrets.RENOVATE_GIT_PRIVATE_KEY }}
|
RENOVATE_GIT_PRIVATE_KEY: ${{ secrets.RENOVATE_GIT_PRIVATE_KEY }}
|
||||||
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
||||||
RENOVATE_REDIS_URL: redis://gitea-renovate-valkey-primary.gitea:6379
|
RENOVATE_REDIS_URL: ${{ vars.RENOVATE_REDIS_URL }}
|
||||||
|
75
.gitea/workflows/tag-old-issues.yaml
Normal file
75
.gitea/workflows/tag-old-issues.yaml
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
name: tag-old-issues
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "@daily"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tag-old-issues:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Tag Old Issues
|
||||||
|
env:
|
||||||
|
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||||
|
INSTANCE_URL: ${{ vars.INSTANCE_URL }}
|
||||||
|
REPO_OWNER: ${{ github.repository_owner }}
|
||||||
|
REPO_NAME: ${{ github.repository_name }}
|
||||||
|
TAG_NAME: 'stale'
|
||||||
|
DAYS_OLD: 3
|
||||||
|
EXCLUDE_TAG_NAME: ''
|
||||||
|
REQUIRED_TAG: 'automerge'
|
||||||
|
run: |
|
||||||
|
# Install necessary tools
|
||||||
|
apt-get update && apt-get install -y jq curl
|
||||||
|
|
||||||
|
# --- Conditionally build the API URL ---
|
||||||
|
API_URL="${GITEA_INSTANCE_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/issues?state=open"
|
||||||
|
if [[ -n "${REQUIRED_TAG}" ]]; then
|
||||||
|
echo "Filtering for issues with the required tag: ${REQUIRED_TAG}"
|
||||||
|
# URL-encode the tag to handle special characters
|
||||||
|
ENCODED_TAG=$(jq -s -R -r @uri <<< "${REQUIRED_TAG}")
|
||||||
|
API_URL="${API_URL}&labels=${ENCODED_TAG}"
|
||||||
|
else
|
||||||
|
echo "No required tag specified. Checking all open issues."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Fetch issues using the constructed URL
|
||||||
|
ISSUES=$(curl -s -X GET \
|
||||||
|
-H "Authorization: token ${BOT_TOKEN}" \
|
||||||
|
-H "Accept: application/json" \
|
||||||
|
"${API_URL}")
|
||||||
|
|
||||||
|
# Calculate the date ${DAYS_OLD} days ago in ISO 8601 format
|
||||||
|
OLDER_THAN_DATE=$(date -d "-${DAYS_OLD} days" -u +"%Y-%m-%dT%H:%M:%SZ")
|
||||||
|
|
||||||
|
# Filter issues older than the specified date and without the exclusion tag
|
||||||
|
echo "$ISSUES" | jq -c '.[] | select(.created_at < "'"$OLDER_THAN_DATE"'")' | while read -r issue; do
|
||||||
|
ISSUE_NUMBER=$(echo "$issue" | jq -r '.number')
|
||||||
|
LABELS=$(echo "$issue" | jq -r '.labels[].name')
|
||||||
|
|
||||||
|
# Check if the issue has the exclusion tag
|
||||||
|
if ! echo "$LABELS" | grep -q -w "${EXCLUDE_TAG_NAME}"; then
|
||||||
|
echo "Tagging issue #${ISSUE_NUMBER} as ${TAG_NAME}"
|
||||||
|
|
||||||
|
# Get existing labels for the issue
|
||||||
|
EXISTING_LABELS=$(curl -s -X GET \
|
||||||
|
-H "Authorization: token ${BOT_TOKEN}" \
|
||||||
|
-H "Accept: application/json" \
|
||||||
|
"${INSTANCE_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/issues/${ISSUE_NUMBER}/labels" | jq -r '.[].name')
|
||||||
|
|
||||||
|
# Add the new tag to the list of existing labels
|
||||||
|
NEW_LABELS=$(echo -e "${EXISTING_LABELS}\n${TAG_NAME}" | sort -u | jq -R -s -c 'split("\n") | map(select(length > 0))')
|
||||||
|
|
||||||
|
# Update the issue with the new set of labels
|
||||||
|
curl -s -X PUT \
|
||||||
|
-H "Authorization: token ${BOT_TOKEN}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d "{\"labels\": $(echo "$NEW_LABELS" | jq -r 'map(select(. != ""))')}" \
|
||||||
|
"${INSTANCE_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/issues/${ISSUE_NUMBER}/labels"
|
||||||
|
else
|
||||||
|
echo "Skipping issue #${ISSUE_NUMBER} because it has the '${EXCLUDE_TAG_NAME}' tag."
|
||||||
|
fi
|
||||||
|
done
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: gitea-actions
|
name: gitea-actions
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
description: Gitea Actions
|
description: Gitea Actions
|
||||||
keywords:
|
keywords:
|
||||||
- cicd
|
- cicd
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# gitea-actions
|
# gitea-actions
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Gitea Actions
|
Gitea Actions
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ metadata:
|
|||||||
{{- with .Values.statefulset.annotations }}
|
{{- with .Values.statefulset.annotations }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ include "gitea.actions.fullname" . }}-actions
|
name: {{ include "gitea.actions.fullname" . }}-act-runner
|
||||||
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.statefulset.replicas }}
|
replicas: {{ .Values.statefulset.replicas }}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 6.4.4
|
version: 6.4.5
|
||||||
description: Cloudnative-pg Cluster
|
description: Cloudnative-pg Cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
@@ -21,7 +21,7 @@ cluster:
|
|||||||
# -- Default image
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
tag: "17.5-1-bullseye"
|
tag: "17.5-standard-bullseye"
|
||||||
|
|
||||||
# -- Image pull policy. One of Always, Never or IfNotPresent. If not defined, it defaults to IfNotPresent. Cannot be updated.
|
# -- Image pull policy. One of Always, Never or IfNotPresent. If not defined, it defaults to IfNotPresent. Cannot be updated.
|
||||||
# More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
|
# More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
|
||||||
|
@@ -19,7 +19,14 @@
|
|||||||
"addLabels": [
|
"addLabels": [
|
||||||
"chart"
|
"chart"
|
||||||
],
|
],
|
||||||
"automerge": false
|
"automerge": false,
|
||||||
|
"bumpVersions": [
|
||||||
|
{
|
||||||
|
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
|
||||||
|
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
|
||||||
|
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Label images",
|
"description": "Label images",
|
||||||
@@ -29,7 +36,14 @@
|
|||||||
"addLabels": [
|
"addLabels": [
|
||||||
"image"
|
"image"
|
||||||
],
|
],
|
||||||
"automerge": false
|
"automerge": false,
|
||||||
|
"bumpVersions": [
|
||||||
|
{
|
||||||
|
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
|
||||||
|
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
|
||||||
|
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "CNPG image",
|
"description": "CNPG image",
|
||||||
@@ -43,7 +57,14 @@
|
|||||||
"image"
|
"image"
|
||||||
],
|
],
|
||||||
"automerge": false,
|
"automerge": false,
|
||||||
"versioning": "deb"
|
"versioning": "deb",
|
||||||
|
"bumpVersions": [
|
||||||
|
{
|
||||||
|
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
|
||||||
|
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
|
||||||
|
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user