Compare commits

..

30 Commits

Author SHA1 Message Date
5b2c089d6f
asdasd
Some checks failed
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (pull_request) Successful in 17s
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 15s
Release / generate-chart-publish (push) Failing after 29s
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-01-12 15:27:25 +01:00
aede99f3f2
asdasd 2025-01-12 15:27:25 +01:00
0a72c4bb58
fix: only on yaml 2025-01-12 15:27:25 +01:00
378e799afa
wip 2025-01-12 15:27:25 +01:00
89c43d7fb4
fix 2025-01-12 15:27:25 +01:00
7265403bd9
faasd 2025-01-12 15:27:25 +01:00
7937f9edf2
asd 2025-01-12 15:27:25 +01:00
fe2ab4417f
wip 2025-01-12 15:27:25 +01:00
a9abdccaa3
wip 2025-01-12 15:27:25 +01:00
b52a4982a6
test 2025-01-12 15:27:25 +01:00
cc33ca2e0c
fix 2025-01-12 15:27:25 +01:00
cc955c6178
asdas 2025-01-12 15:27:24 +01:00
e1f37b8ac9
asd 2025-01-12 15:27:24 +01:00
3e868aad35
fix 2025-01-12 15:27:24 +01:00
208acd6d96
fix 2025-01-12 15:27:24 +01:00
3be3977233
fix 2025-01-12 15:27:24 +01:00
1e0cdc6dfd
asdasd 2025-01-12 15:27:24 +01:00
86bbd6f1d2
fix 2025-01-12 15:27:24 +01:00
6f6ad61352
test 2025-01-12 15:27:24 +01:00
bde198ab0f
wip 2025-01-12 15:27:24 +01:00
22f0fd4176
fix: container runtime 2025-01-12 15:27:24 +01:00
c0aadbfa52
WIP 2025-01-12 15:27:24 +01:00
5744511f6e
WIP 2025-01-12 15:27:24 +01:00
de3c85ba4d
WIP 2025-01-12 15:27:24 +01:00
da18fbf50c
WIP 2025-01-12 15:27:24 +01:00
0cc2323eb1
WIP 2025-01-12 15:27:24 +01:00
a3358b0be5
wip 2025-01-12 15:27:24 +01:00
a53ab3b2a0
wip(ci): run gitea action 2025-01-12 15:27:24 +01:00
a976273cbc
fix(drone): disable release pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-12 15:27:12 +01:00
5646ebfa8c
chore(deps): update docker.io/library/node docker tag to v23.6.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-01-08 02:22:25 +00:00
3 changed files with 44 additions and 74 deletions

View File

@ -124,7 +124,7 @@ steps:
- npm run readme:link
- npm run readme:lint
- npm run readme:parameters
image: docker.io/library/node:23.5.0-alpine
image: docker.io/library/node:23.6.0-alpine
resources:
limits:
cpu: 150
@ -162,39 +162,39 @@ trigger:
exclude:
- tag
---
kind: pipeline
type: kubernetes
name: Release
# ---
# kind: pipeline
# type: kubernetes
# name: Release
clone:
disable: true
# clone:
# disable: true
platform:
os: linux
# platform:
# os: linux
steps:
- name: clone repository
image: git.cryptic.systems/volker.raschek/git:1.4.0
# steps:
# - name: clone repository
# image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: release-helm-chart
commands:
- helm repo add prometheus-exporters https://charts.cryptic.systems/prometheus-exporters
- helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME}-${DRONE_TAG}.tgz prometheus-exporters
environment:
HELM_REPO_PASSWORD:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: git.cryptic.systems/volker.raschek/helm:3.16.4
resources:
limits:
cpu: 150
memory: 150M
# - name: release-helm-chart
# commands:
# - helm repo add prometheus-exporters https://charts.cryptic.systems/prometheus-exporters
# - helm package --version ${DRONE_TAG} .
# - helm cm-push ${DRONE_REPO_NAME}-${DRONE_TAG}.tgz prometheus-exporters
# environment:
# HELM_REPO_PASSWORD:
# from_secret: helm_repo_password
# HELM_REPO_USERNAME:
# from_secret: helm_repo_username
# image: git.cryptic.systems/volker.raschek/helm:3.16.4
# resources:
# limits:
# cpu: 150
# memory: 150M
trigger:
event:
- tag
repo:
- volker.raschek/prometheus-postgres-exporter
# trigger:
# event:
# - tag
# repo:
# - volker.raschek/prometheus-postgres-exporter

View File

@ -17,17 +17,6 @@ jobs:
run: |
apk update
apk add git npm
- name: Check if files were touched
uses: dorny/paths-filter@v3.0.2
id: changes
with:
filters: |
yaml:
- '**/*.yaml'
- '**/*.yml'
- name: Skip further steps, when condition is not met
if: steps.filter.outputs.yaml == 'false'
run: exit 0
- uses: actions/checkout@v4.2.2
- name: Lint helm files
run: |
@ -44,17 +33,6 @@ jobs:
apk update
apk add git npm
- uses: actions/checkout@v4.2.2
- name: Check if files were touched
uses: dorny/paths-filter@v3.0.2
id: changes
with:
filters: |
yaml:
- '**/*.yaml'
- '**/*.yml'
- name: Skip further steps, when condition is not met
if: steps.filter.outputs.yaml == 'false'
run: exit 0
- name: Unittest
run: |
helm unittest --strict --file 'unittests/**/*.yaml' ./

View File

@ -11,20 +11,11 @@ env:
jobs:
generate-chart-publish:
container:
image: docker.io/volkerraschek/helm:3.16.1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install tools
run: |
apt update --yes
apt install --yes curl ca-certificates curl gnupg
# helm
curl --location --output helm-v${HELM_VERSION}-linux-amd64.tar.gz https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz
tar --extract --gzip --file helm-v${HELM_VERSION}-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/
rm -rf linux-amd64 helm-v${HELM_VERSION}-linux-amd64.tar.gz
helm version
# - name: Import GPG key
# id: import_gpg
# uses: https://github.com/crazy-max/ghaction-import-gpg@v6
@ -35,14 +26,15 @@ jobs:
# Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843
- name: package chart
env:
HELM_REPO_NAME: test
HELM_REPO_PASSWORD: ${{ secrets.HELM_REPO_PASSWORD }}
HELM_REPO_USERNAME: ${{ secrets.HELM_REPO_USERNAME }}
run: |
REPOSITORY_NAME=$(echo ${GITHUB_REPOSITORY} | cut -d '/' -f 2)
PACKAGE_VERSION=${GITHUB_REF#refs/tags/v}
helm repo add ${HELM_REPO_NAME} https://charts.cryptic.systems/${HELM_REPO_NAME}
helm dependency build
helm package --version "${GITHUB_REF#refs/tags/v}" ./
# mkdir gitea
# mv gitea*.tgz gitea/
# curl -s -L -o gitea/index.yaml https://dl.gitea.com/charts/index.yaml
# helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml
# # push to dockerhub
# echo ${{ secrets.DOCKER_CHARTS_PASSWORD }} | helm registry login -u ${{ secrets.DOCKER_CHARTS_USERNAME }} registry-1.docker.io --password-stdin
# helm push gitea/gitea-${GITHUB_REF#refs/tags/v}.tgz oci://registry-1.docker.io/giteacharts
# helm registry logout registry-1.docker.io
helm package --version "${PACKAGE_VERSION}" ./
helm cm-push ${REPOSITORY_NAME}-${PACKAGE_VERSION}.tgz ${HELM_REPO_NAME}