35 Commits
0.3.1 ... 0.5.2

Author SHA1 Message Date
2eaa818ab9 fix(README): add note about changed chart repo
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-12-13 21:29:21 +01:00
c1f608b086 fix: change repository
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-13 21:06:08 +01:00
db7d69e2aa chore(deps): update dependency docker.io/volkerraschek/helm to v3.10.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-22 18:33:49 +01:00
04194e5a18 chore(deps): update dependency docker.io/volkerraschek/helm to v3.10.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-16 13:11:55 +02:00
444e0b5934 chore(deps): update dependency docker.io/volkerraschek/helm to v3.10.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-21 21:52:32 +02:00
d3fe125661 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-30 18:52:16 +02:00
d8f500a92a chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-21 16:55:07 +02:00
f578d8bec0 fix(ci): use docker.io/volkerraschek/drone-email:0.1.1
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 17:50:17 +02:00
54de055eb3 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 13:24:06 +02:00
ef7d40283e chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-23 10:41:27 +02:00
29375b7fdb chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-18 11:13:32 +02:00
eb1e5fdcc1 chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-14 18:31:29 +02:00
bda3b8053d fix(ci): helm template
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-26 18:16:24 +02:00
e3155c9223 Merge pull request 'chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.0' (#9) from renovate/docker.io-volkerraschek-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #9
2022-05-24 20:47:20 +00:00
ea2ca22e7c fix: mounting of env var file
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 22:44:04 +02:00
cfd5890a1c chore(deps): update dependency docker.io/volkerraschek/helm to v3.9.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-24 08:54:13 +02:00
1c94c9de06 fix(ci): resource limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-21 11:27:35 +02:00
8d67cc291f chore(deps): update dependency docker.io/volkerraschek/helm to v3.8.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-11 10:31:26 +02:00
3dcd0742a3 fix: helm lint error: mapping values are not allowed
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-10 08:55:06 +02:00
f6e9e6bce7 Merge pull request #3 from vickunwu/patch-1
Some checks failed
continuous-integration/drone/push Build is failing
[fix]utilize the 'replicaCount' variable in Values
2022-05-10 08:29:36 +02:00
c2188e6838 [fix]utilize the 'replicaCount' variable in Values 2022-05-09 16:55:54 +08:00
e41ee3cd47 fix(drone): remove sync via drone - use instead gitea push feature
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-19 22:29:22 +02:00
010a453c7c feat: support pod priorityClassName
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-18 10:58:55 +02:00
86174ea6dd chore(deps): update dependency docker.io/volkerraschek/helm to v3.8.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-14 21:49:25 +02:00
2fd108de5b fix: upgrade image and chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-16 19:29:52 +01:00
b5222f3ead [Close #2] fix: add missing curly braces
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-10 21:16:46 +01:00
e8339895e4 chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.31.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-02-09 19:30:38 +00:00
64b04745e3 fix(ci): use helm cm-push command to deploy chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 22:22:05 +01:00
7929bad7e3 fix(ci): helm cm push
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 18:58:41 +01:00
28f5fca2d9 fix(ci): add package rules
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 16:43:39 +01:00
8a2e44c3d0 Merge pull request 'chore(deps): update docker.io/volkerraschek/helm docker tag to v3.8.0' (#5) from renovate/docker.io-volkerraschek-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #5
2022-01-29 23:06:09 +00:00
0b6ce2c01c chore(deps): update docker.io/volkerraschek/helm docker tag to v3.8.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-29 23:01:49 +00:00
cdca3979d9 tfix(ci): use volkerraschek/helm to deploy and lint chart
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-29 23:40:56 +01:00
de3547c53d Merge pull request 'chore(deps): update docker.io/alpine/helm docker tag to v3.8.0' (#4) from renovate/docker.io-alpine-helm-3.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2022-01-27 13:44:19 +00:00
428f37e4ad chore(deps): update docker.io/alpine/helm docker tag to v3.8.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-27 10:01:14 +00:00
7 changed files with 77 additions and 87 deletions

View File

@ -11,7 +11,7 @@ steps:
- name: helm lint
commands:
- helm lint
image: quay.io/helmpack/chart-testing:latest
image: docker.io/volkerraschek/helm:3.10.2
resources:
limits:
cpu: 50
@ -20,27 +20,38 @@ steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.30.0
image: docker.io/volkerraschek/markdownlint:0.32.2
resources:
limits:
cpu: 50
memory: 50M
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
- name: helm template
commands:
- helm template .
image: docker.io/volkerraschek/helm:3.10.2
resources:
limits:
cpu: 50
memory: 25M
cpu: 150
memory: 150M
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
@ -52,7 +63,6 @@ trigger:
- tag
---
kind: pipeline
type: kubernetes
name: release
@ -63,70 +73,22 @@ platform:
steps:
- name: release-helm-chart
commands:
- helm plugin install https://github.com/chartmuseum/helm-push.git
- helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
- helm repo add drone https://charts.cryptic.systems/drone
- helm package --version ${DRONE_TAG} .
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz volker.raschek
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone
environment:
HELM_REPO_PASSWORD:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: docker.io/alpine/helm:3.7.2
image: docker.io/volkerraschek/helm:3.10.2
resources:
limits:
cpu: 150
memory: 150M
trigger:
event:
- tag
repo:
- volker.raschek/drone-runner-charts
---
kind: pipeline
type: kubernetes
name: sync
platform:
os: linux
arch: amd64
steps:
- name: github
image: docker.io/appleboy/drone-git-push:latest
resources:
limits:
cpu: 50
memory: 25M
settings:
branch: master
remote: ssh://git@github.com/volker-raschek/drone-runner-charts.git
force: true
ssh_key:
from_secret: ssh_key
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- push
repo:
- volker.raschek/drone-runner-charts

View File

@ -2,8 +2,8 @@ apiVersion: v2
name: drone-runner
description: Helm chart for a drone runner based on kubernetes
type: application
version: "0.3.0"
appVersion: "1.0.0-rc.1"
version: "0.4.0"
appVersion: "1.0.0-rc.3"
icon: https://readme.drone.io/logo.svg
keywords:

View File

@ -1,19 +1,23 @@
# drone-charts
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/drone-runner-charts/status.svg)](https://drone.cryptic.systems/volker.raschek/drone-runner-charts)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/drone-ce)](https://artifacthub.io/packages/search?repo=drone-ce)
This is an inofficial helm chart for
[drone-runner](https://github.com/drone/drone-runner-kube) and should replace
the official unmainted helm chart
the official unmaintained helm chart
[repository](https://github.com/drone/drone-runner-kube).
This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and
can be installed via helm.
> :warning: The repository has been changed and causes error messages when
> interacting with the old repository definition. Please remove the chart repo
> `volker.raschek` and replace it with `drone`.
```bash
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
helm install drone volker.raschek/drone-runner
helm repo add drone https://charts.cryptic.systems/drone
helm install drone drone/drone-runner
```
## Customization

View File

@ -3,6 +3,23 @@
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"assignees": [ "volker.raschek" ],
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/drone-runner", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/drone-runner", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "drone-runner" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update container image reference",
@ -12,8 +29,9 @@
"matchStrings": [
"appVersion: \"(?<currentValue>.*?)\"\\s+"
],
"depNameTemplate": "docker.io/drone/drone-runner-kube",
"datasourceTemplate": "docker"
"datasourceTemplate": "docker",
"depNameTemplate": "drone-runner",
"lookupNameTemplate": "docker.io/drone/drone-runner-kube"
}
]
}

View File

@ -5,6 +5,7 @@ metadata:
labels:
{{- include "droneRunner.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount | default 1 }}
selector:
matchLabels:
{{- include "droneRunner.selectorLabels" . | nindent 6 }}
@ -37,7 +38,7 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
{{- if and (hasKey .Values.envFile "content") (hasKey .Values.config "DRONE_RUNNER_ENV_FILE") }}
volumeMounts:
- name: env-file
- name: custom-env-vars
mountPath: {{ dir .Values.config.DRONE_RUNNER_ENV_FILE }}
readOnly: true
{{- end}}
@ -49,6 +50,9 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
serviceAccountName: {{ include "droneRunner.fullname" . }}
{{- with .Values.tolerations }}
tolerations:
@ -56,10 +60,10 @@ spec:
{{- end }}
{{- if and (hasKey .Values.envFile "content") (hasKey .Values.config "DRONE_RUNNER_ENV_FILE") }}
volumes:
- name: env-file
- name: custom-env-vars
configMap:
name: {{ include "droneRunner.fullname" . }}
items:
- key: {{ base .Values.config.DRONE_RUNNER_ENV_FILE }}
- key: custom-env-vars
path: {{ base .Values.config.DRONE_RUNNER_ENV_FILE }}
{{- end}}

View File

@ -6,6 +6,6 @@ metadata:
{{- include "droneRunner.labels" . | nindent 4 }}
name: {{ include "droneRunner.fullname" . }}
data:
{{ base .Values.config.DRONE_RUNNER_ENV_FILE }}: |
{{ .Values.envFile.content }}
custom-env-vars: |
{{- .Values.envFile.content | nindent 4 }}
{{- end }}

View File

@ -16,6 +16,8 @@ fullnameOverride: ""
podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {}
# fsGroup: 2000
@ -27,7 +29,7 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000
config:
config: {}
# DRONE_ANNOTATIONS_DEFAULT
# Optional string map. Provides a set of default annotations used when
# creating the pipeline pod. The default annotation values are appended to the
@ -335,7 +337,7 @@ config:
# DRONE_UI_USERNAME: ""
envFile: {}
# content: |
# content: |-
# KEY=VALUE