Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/tekton-demo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: This is an example of a pipeline developed in Tekton, the peaceful
It contains the main steps of a continuous software delivery process. It enforces
a strict semantic version validation strategy, managing tag increments for you.
Develop, Features, releases, patches and hotfixes flows are supported.
version: 0.0.18
version: 0.0.19
appVersion: latest
home: https://github.com/redhat-cop/helm-charts
keywords:
Expand Down
4 changes: 2 additions & 2 deletions charts/tekton-demo/templates/tasks/task-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
steps:

- name: image-build
image: registry.redhat.io/rhel8/buildah@sha256:6036e56aad7b5ca87de0df46f3a0564a5fe523d51720f76094f95ffb2f8fef24
image: registry.redhat.io/rhel8/buildah@sha256:ca102ef307cd4d07c1ce1d58859c5003ffe3494b4d30ba0a4e66a347d2daba03
workingDir: /workspace/source/{{ .Values.pipeline.build.s2i.context }}
command: ['buildah', 'bud', '--tls-verify=$(inputs.params.TLSVERIFY)', '--layers', '-f', 'Dockerfile', '-t', 'image-registry.openshift-image-registry.svc:5000/{{ .Values.application.environments.development }}/{{ .Values.application.name }}-development:$(inputs.params.revision-name)', '.']
resources: {}
Expand All @@ -51,7 +51,7 @@ spec:
privileged: true

- name: image-push
image: registry.redhat.io/rhel8/buildah@sha256:6036e56aad7b5ca87de0df46f3a0564a5fe523d51720f76094f95ffb2f8fef24
image: registry.redhat.io/rhel8/buildah@sha256:ca102ef307cd4d07c1ce1d58859c5003ffe3494b4d30ba0a4e66a347d2daba03
command: ['buildah', 'push', '--tls-verify=$(inputs.params.TLSVERIFY)', '--digestfile', '$(workspaces.source.path)/image-digest', 'image-registry.openshift-image-registry.svc:5000/{{ .Values.application.environments.development }}/{{ .Values.application.name }}-development:$(inputs.params.revision-name)', 'docker://image-registry.openshift-image-registry.svc:5000/{{ .Values.application.environments.development }}/{{ .Values.application.name }}-development:$(inputs.params.revision-name)']
volumeMounts:
- name: varlibcontainers
Expand Down
6 changes: 3 additions & 3 deletions charts/tekton-demo/templates/tasks/task-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
steps:

- name: image-build
image: registry.redhat.io/rhel8/buildah@sha256:6036e56aad7b5ca87de0df46f3a0564a5fe523d51720f76094f95ffb2f8fef24
image: registry.redhat.io/rhel8/buildah@sha256:ca102ef307cd4d07c1ce1d58859c5003ffe3494b4d30ba0a4e66a347d2daba03
workingDir: /workspace/source/{{ .Values.pipeline.build.s2i.context }}/docs
resources: {}
script: |
Expand All @@ -61,7 +61,7 @@ spec:
privileged: true

- name: image-push
image: registry.redhat.io/rhel8/buildah@sha256:6036e56aad7b5ca87de0df46f3a0564a5fe523d51720f76094f95ffb2f8fef24
image: registry.redhat.io/rhel8/buildah@sha256:ca102ef307cd4d07c1ce1d58859c5003ffe3494b4d30ba0a4e66a347d2daba03
script: |
#!/bin/sh
if [ "$(inputs.params.revision-type)" == "develop" ]; then
Expand All @@ -75,7 +75,7 @@ spec:
privileged: true

- name: image-digest
image: registry.redhat.io/rhel8/buildah@sha256:6036e56aad7b5ca87de0df46f3a0564a5fe523d51720f76094f95ffb2f8fef24
image: registry.redhat.io/rhel8/buildah@sha256:ca102ef307cd4d07c1ce1d58859c5003ffe3494b4d30ba0a4e66a347d2daba03
script: |
#!/bin/sh
printf %s "null" >> /tekton/results/digest
Expand Down
Loading