From: Adam A.G. Shamblin Date: Sun, 23 Jan 2022 05:37:27 +0000 (-0700) Subject: Pipeline progress X-Git-Url: https://git.vexinglabs.com/?a=commitdiff_plain;h=2e90892078d2ab54ef2a0985e1989dce6dd47155;p=letters.git Pipeline progress --- diff --git a/charts/pipeline/helm_vars/secrets.yaml b/charts/pipeline/helm_vars/secrets.yaml index b818dbf..37dc599 100644 --- a/charts/pipeline/helm_vars/secrets.yaml +++ b/charts/pipeline/helm_vars/secrets.yaml @@ -1,14 +1,14 @@ github: interceptor: secret: ENC[AES256_GCM,data:c7MXYXyHeqJVNF+sBLBhquOLWHuIw8O+s6NEYP+Auw0=,iv:UbQ1myRZZOfefSC9sBSO3092Cstog8VO7zUigC7PMYI=,tag:2CxeahdOjq5rPmUk+FU5gg==,type:str] -CR_PAT: ENC[AES256_GCM,data:YZI3d8cA1LHck1HROS83ad0h/AnnjA2A+MWzwZJVQs/CkgJ0wjX7fg==,iv:pH9iINbNDd3f7NVf93cZ9LW805OxmlwctPL9DJQnA9E=,tag:pe78jcr+NcMWJPFY18O+eA==,type:str] +CR_PAT: ENC[AES256_GCM,data:seJR6QNBYK7diebxnWWgf29uYVcn5yPf9r9EeLzX2IS9pnNv8BDHog==,iv:uG4tqT/BXwhinxdn0aJ2wc3xct7dhZZFeqNbaqR1LIA=,tag:TaH/OnSqCQtjaeFngE5y1g==,type:str] dockerconfigjson: ENC[AES256_GCM,data:b3R9lbb9oZmnAdNmuNX1/pLNpO39Z0ww3jDheGqnCapMAnbZ2uuT6uZ2boBHX73QOuNUS6ygPfwEo3l0hULhcISeV/+qdQBAKa6uUAXAB30LTakG5QAAVU4ZxT6E/h3vQ35UQgguac1bwFdZhR6SgLClvME9xfddyFZGllHyBVqMas2WWv62sY50VbU4vfTyryAy5oe4F1SslsM9Ui3bTRfYqCdyYdY+sBbp2XkTVJQVopYeAlQu7+T9vleJ3bMx3wOAwlMbZ+b15pPczRWtH+AHOd5ytL5w7sFPIGHyRtajR6Y8UtnQoKuUT4+HCrZNrfgWedhr+J+6yxIVShew4OY5mFaK9tJqq54oyygKG9Scc720L/cdrw==,iv:1zZ9T5mZ3cTxuxmHOtTOFjzvJ3zzzoyZ5j3VfUnpDMo=,tag:lbzBff4JzBh2Vh48OPMz6A==,type:str] sops: kms: [] gcp_kms: [] azure_kv: [] - lastmodified: '2021-11-12T17:41:49Z' - mac: ENC[AES256_GCM,data:RLqTZUkPV0yt39plJ0UhcPNosngvJ0pklb2q1EYAeXL56CUYAyTARDzLRkyLi/xNEJ5NwSPUbaixaPBGpx+05ftnU2Aa58RPs4ZArOEaDCEilTpeALsLb/LZvdu202UV8Ng4/wEe0Zc8fPJyQZJKjusYbMfny9ni1hCIOdl9zZc=,iv:ICGIihEeJPX6+P4/w7zkJdI1jJHY/gINhqabgwd0Ch0=,tag:6c6wN7HmwSMy5zOi+gTycw==,type:str] + lastmodified: '2021-12-15T01:26:01Z' + mac: ENC[AES256_GCM,data:qItpl63x6ywupN9htZNlMFADgk8PgbjzaGdlk0gTd1ebwdbqhGM8nzGC8s2qH2nJHnXpDmrfRrfgHgEM/wT7r3+V8BE8mJ84ZR12U3yrHwpeIWzGB5d80b/LwxLZkL6+GZBq8qBGfywygtWpAMspYfm2IIJuv/HMlu30bjdpL/A=,iv:zPIMmvfjyU6fmKO5UNM2nvQxq8JyDfCwbOurbUwe7QA=,tag:ljY/TjP2vMhZ7hqE80KxCg==,type:str] pgp: - created_at: '2021-11-02T22:20:13Z' enc: | diff --git a/charts/pipeline/templates/pipeline.yaml b/charts/pipeline/templates/pipeline.yaml index 77f982e..c64a57f 100644 --- a/charts/pipeline/templates/pipeline.yaml +++ b/charts/pipeline/templates/pipeline.yaml @@ -10,6 +10,18 @@ spec: - name: image type: string description: name of the image to build + - name: chart_name + type: string + description: name of the helm chart to deploy + - name: chart_version + type: string + description: version of the helm chart to deploy + - name: chart_directory + type: string + description: directory containing the chart to deploy + - name: release_namespace + type: string + description: namespace to deploy the chart workspaces: - name: source description: shared space containing source code @@ -40,3 +52,21 @@ spec: workspace: source - name: dockerconfig workspace: dockerconfig + - name: deploy + taskRef: + name: helm-upgrade-from-source + bundle: gcr.io/tekton-releases/catalog/upstream/helm-upgrade-from-source:0.3 + runAfter: + - build-container + params: + - name: charts_dir + value: $(params.chart_directory) + - name: release_version + value: $(params.chart_version) + - name: release_name + value: $(params.chart_name) + - name: release_namespace + value: $(params.release_namespace) + workspaces: + - name: source + workspace: source diff --git a/charts/pipeline/templates/trigger.yaml b/charts/pipeline/templates/trigger.yaml index fbf7f6c..fa5ac1b 100644 --- a/charts/pipeline/templates/trigger.yaml +++ b/charts/pipeline/templates/trigger.yaml @@ -90,3 +90,11 @@ spec: - name: image value: $(tt.params.image) value: ghcr.io/$(tt.params.owner)/$(tt.params.image-name):$(tt.params.commit) + - name: chart_name + value: {{ .Values.chart.name }} + - name: chart_version + value: {{ .Values.chart.version }} + - name: chart_directory + value: {{ .Values.chart.directory }} + - name: release_namespace + value: {{ .Values.release.namespace }} diff --git a/charts/pipeline/values.yaml b/charts/pipeline/values.yaml index b1a1c53..903f065 100644 --- a/charts/pipeline/values.yaml +++ b/charts/pipeline/values.yaml @@ -1,3 +1,9 @@ +chart: + name: letters + version: v0.1.0 + directory: charts/pipeline +release: + namespace: letters serviceAccount: pipeline: letters-pipeline listener: cluster-listener