docs/.concourse/pipeline.yml

46 lines
No EOL
1 KiB
YAML

---
resource_types:
- name: helm
type: docker-image
source:
repository: ghcr.io/typositoire/concourse-helm3-resource
resources:
- name: inetmock-docs.git
type: git
icon: github
source:
uri: https://code.icb4dc0.de/inetmock/docs.git
- name: caddy-image
type: docker-image
source:
repository: code.icb4dc0.de/prskr/ci-images/caddy
- name: blog-chart
type: helm
source:
cluster_url: ((k8s-credentials.url))
cluster_ca: ((k8s-credentials.ca-crt))
token: ((k8s-credentials.token))
release: docs
namespace: inetmock
jobs:
- name: build
plan:
- get: inetmock-docs.git
trigger: true
- get: caddy-image
trigger: true
- task: build-container-image
file: inetmock-docs.git/.concourse/tasks/image.yml
input_mapping: {repo: inetmock-docs.git}
- put: blog-chart
params:
chart: inetmock-docs.git/deploy/helm
override_values:
- key: image.tag
path: inetmock-docs.git/.git/ref
type: string