build: Use a separate pipeline for helm chart
This commit is contained in:
parent
dc364aaba9
commit
a595adc7ef
14
.drone.yml
14
.drone.yml
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# -- Build the site and push it to the registry
|
# -- Update the helm chart
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
@ -21,7 +21,19 @@ steps:
|
|||||||
- helm package chart -d chart-package
|
- helm package chart -d chart-package
|
||||||
- helm repo add --username allanger --password $GITEA_TOKEN badhouseplants-net https://git.badhouseplants.net/api/packages/badhouseplants/helm
|
- helm repo add --username allanger --password $GITEA_TOKEN badhouseplants-net https://git.badhouseplants.net/api/packages/badhouseplants/helm
|
||||||
- helm cm-push "./chart-package/$(ls chart-package)" badhouseplants-net
|
- helm cm-push "./chart-package/$(ls chart-package)" badhouseplants-net
|
||||||
|
---
|
||||||
|
# ----------------------------------------------
|
||||||
|
# -- Build the site and push it to the registry
|
||||||
|
# ----------------------------------------------
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: Build badhouseplants.net
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: Download submodules with themes
|
- name: Download submodules with themes
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
|
Reference in New Issue
Block a user