9 Commits
0.5.0 ... 0.5.1

Author SHA1 Message Date
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
4 changed files with 13 additions and 60 deletions

View File

@ -11,7 +11,7 @@ steps:
- name: helm lint
commands:
- helm lint
image: docker.io/volkerraschek/helm:3.8.1
image: docker.io/volkerraschek/helm:3.9.0
resources:
limits:
cpu: 50
@ -52,7 +52,6 @@ trigger:
- tag
---
kind: pipeline
type: kubernetes
name: release
@ -71,61 +70,14 @@ steps:
from_secret: helm_repo_password
HELM_REPO_USERNAME:
from_secret: helm_repo_username
image: docker.io/volkerraschek/helm:3.8.1
image: docker.io/volkerraschek/helm:3.9.0
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

@ -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}}
@ -59,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

@ -337,7 +337,7 @@ config: {}
# DRONE_UI_USERNAME: ""
envFile: {}
# content: |
# content: |-
# KEY=VALUE