From 8484beab268be4140b040bd530a12aff5672ae0b Mon Sep 17 00:00:00 2001 From: nniehoff Date: Mon, 13 Sep 2021 07:35:52 -0600 Subject: [PATCH] Adding Release Action --- .github/release-chart.yaml | 14 ++++++++++++++ charts/nautobot/templates/celery-deployment.yaml | 2 +- charts/nautobot/templates/rq-deployment.yaml | 2 +- charts/nautobot/values.yaml | 6 ++++-- 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 .github/release-chart.yaml diff --git a/.github/release-chart.yaml b/.github/release-chart.yaml new file mode 100644 index 00000000..6e14134c --- /dev/null +++ b/.github/release-chart.yaml @@ -0,0 +1,14 @@ +name: release +on: + push: + tags: '*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Publish Helm charts + uses: stefanprodan/helm-gh-pages@master + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/charts/nautobot/templates/celery-deployment.yaml b/charts/nautobot/templates/celery-deployment.yaml index 73673105..7421992d 100644 --- a/charts/nautobot/templates/celery-deployment.yaml +++ b/charts/nautobot/templates/celery-deployment.yaml @@ -60,7 +60,7 @@ spec: {{- include "common.tplvalues.render" (dict "value" .Values.celeryWorker.initContainers "context" $) | nindent 8 }} {{- end }} containers: - - name: nautobot + - name: nautobot-celery image: {{ template "nautobot.image" . }} imagePullPolicy: {{ .Values.nautobot.image.pullPolicy }} {{- if .Values.celeryWorker.lifecycleHooks }} diff --git a/charts/nautobot/templates/rq-deployment.yaml b/charts/nautobot/templates/rq-deployment.yaml index 447cd970..fd1d74e8 100644 --- a/charts/nautobot/templates/rq-deployment.yaml +++ b/charts/nautobot/templates/rq-deployment.yaml @@ -60,7 +60,7 @@ spec: {{- include "common.tplvalues.render" (dict "value" .Values.rqWorker.initContainers "context" $) | nindent 8 }} {{- end }} containers: - - name: nautobot + - name: nautobot-rq image: {{ template "nautobot.image" . }} imagePullPolicy: {{ .Values.nautobot.image.pullPolicy }} {{- if .Values.rqWorker.lifecycleHooks }} diff --git a/charts/nautobot/values.yaml b/charts/nautobot/values.yaml index de72b3b3..b95ff584 100644 --- a/charts/nautobot/values.yaml +++ b/charts/nautobot/values.yaml @@ -1,4 +1,6 @@ -## nautobot service parameters +## @section Nautobot Service Parameters + +## Nautobot service parameters ## service: ## @param service.type nautobot service type @@ -42,7 +44,7 @@ service: ## annotations: {} -## @section nautobot Parameters +## @section Nautobot Parameters ## Nautobot Server ##