You've already forked drone-charts
Compare commits
21 Commits
0.4.0
...
6f36f2b794
| Author | SHA1 | Date | |
|---|---|---|---|
|
6f36f2b794
|
|||
|
fc2dd72561
|
|||
|
c336536512
|
|||
| 0b482a45d0 | |||
|
e2a9de91f3
|
|||
| 181a35028e | |||
| e5833cef56 | |||
| 8e489572f2 | |||
| b572e084e0 | |||
| 0869a34339 | |||
|
e1275fffe0
|
|||
|
90e2676365
|
|||
|
28eab737ec
|
|||
| 25b6a868ad | |||
| b8787ea957 | |||
|
e1469c9d30
|
|||
|
f00116fcec
|
|||
| 0efae25b7b | |||
| f89c06cdd7 | |||
| b1037536ef | |||
| f0e8282c2d |
58
.drone.yml
58
.drone.yml
@@ -11,7 +11,7 @@ steps:
|
||||
- name: helm lint
|
||||
commands:
|
||||
- helm lint
|
||||
image: quay.io/helmpack/chart-testing:latest
|
||||
image: docker.io/volkerraschek/helm:3.8.1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
@@ -20,7 +20,7 @@ steps:
|
||||
- name: markdown lint
|
||||
commands:
|
||||
- markdownlint *.md
|
||||
image: docker.io/volkerraschek/markdownlint:0.30.0
|
||||
image: docker.io/volkerraschek/markdownlint:0.31.1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 50
|
||||
@@ -63,7 +63,6 @@ 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 package --version ${DRONE_TAG} .
|
||||
- helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz volker.raschek
|
||||
@@ -72,61 +71,10 @@ steps:
|
||||
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.8.1
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
repo:
|
||||
- volker.raschek/drone-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-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-charts
|
||||
|
||||
@@ -2,8 +2,8 @@ apiVersion: v2
|
||||
name: drone
|
||||
description: Drone Helm chart for Kubernetes
|
||||
type: application
|
||||
version: "0.3.0"
|
||||
appVersion: "2.9.0"
|
||||
version: "0.5.0"
|
||||
appVersion: "2.11.1"
|
||||
icon: https://readme.drone.io/logo.svg
|
||||
|
||||
keywords:
|
||||
|
||||
@@ -3,6 +3,23 @@
|
||||
"automergeStrategy": "merge-commit",
|
||||
"automergeType": "pr",
|
||||
"assignees": [ "volker.raschek" ],
|
||||
"labels": [ "renovate" ],
|
||||
"packageRules": [
|
||||
{
|
||||
"addLabels": [ "renovate/drone", "renovate/automerge" ],
|
||||
"automerge": true,
|
||||
"matchManagers": "droneci",
|
||||
"matchUpdateTypes": [ "minor", "patch"]
|
||||
},
|
||||
{
|
||||
"addLabels": [ "renovate/drone", "renovate/automerge" ],
|
||||
"automerge": false,
|
||||
"matchPackageNames": [ "drone" ],
|
||||
"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",
|
||||
"datasourceTemplate": "docker"
|
||||
"datasourceTemplate": "docker",
|
||||
"depNameTemplate": "drone",
|
||||
"lookupNameTemplate": "docker.io/drone/drone"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -49,6 +49,9 @@ spec:
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.podPriorityClassName }}
|
||||
priorityClassName: {{ .Values.podPriorityClassName }}
|
||||
{{- end }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
serviceAccountName: {{ include "drone.fullname" . }}
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "drone.fullname" . }}
|
||||
{{- with .Values.service.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "drone.labels" . | nindent 4 }}
|
||||
name: {{ include "drone.fullname" . }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "drone.labels" . | nindent 4 }}
|
||||
name: {{ include "drone.fullname" . }}
|
||||
@@ -16,6 +16,8 @@ fullnameOverride: ""
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
podPriorityClassName: ""
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
|
||||
@@ -520,7 +522,11 @@ config: {}
|
||||
# https://docs.drone.io/server/reference/drone-webhook-skip-verify/
|
||||
# DRONE_WEBHOOK_SKIP_VERIFY: ""
|
||||
|
||||
serviceAccount:
|
||||
annotations: {}
|
||||
|
||||
service:
|
||||
annotations: {}
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user