4 Commits

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

View File

@@ -11,7 +11,7 @@ steps:
- name: helm lint - name: helm lint
commands: commands:
- helm lint - helm lint
image: docker.io/volkerraschek/helm:3.8.0 image: docker.io/volkerraschek/helm:3.8.1
resources: resources:
limits: limits:
cpu: 50 cpu: 50
@@ -71,61 +71,10 @@ steps:
from_secret: helm_repo_password from_secret: helm_repo_password
HELM_REPO_USERNAME: HELM_REPO_USERNAME:
from_secret: helm_repo_username from_secret: helm_repo_username
image: docker.io/volkerraschek/helm:3.8.0 image: docker.io/volkerraschek/helm:3.8.1
trigger: trigger:
event: event:
- tag - tag
repo: repo:
- volker.raschek/drone-runner-charts - 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 name: drone-runner
description: Helm chart for a drone runner based on kubernetes description: Helm chart for a drone runner based on kubernetes
type: application type: application
version: "0.3.0" version: "0.4.0"
appVersion: "1.0.0-rc.1" appVersion: "1.0.0-rc.3"
icon: https://readme.drone.io/logo.svg icon: https://readme.drone.io/logo.svg
keywords: keywords:

View File

@@ -49,6 +49,9 @@ spec:
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
serviceAccountName: {{ include "droneRunner.fullname" . }} serviceAccountName: {{ include "droneRunner.fullname" . }}
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:

View File

@@ -16,6 +16,8 @@ fullnameOverride: ""
podAnnotations: {} podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000