Skip to content

Commit

Permalink
[release-v1.15] Sync Konflux configurations (#867)
Browse files Browse the repository at this point in the history
Co-authored-by: serverless-qe <[email protected]>
  • Loading branch information
serverless-qe and serverless-qe authored Sep 17, 2024
1 parent 7ddd9e4 commit 38c3f25
Showing 1 changed file with 37 additions and 31 deletions.
68 changes: 37 additions & 31 deletions .tekton/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ spec:
- name: workspace
workspace: workspace
params:
- default: "true"
description: Build a source image.
name: build-source-image
type: string
- default: "false"
description: 'Enable in-development package managers. WARNING: the behavior may
change at any time without notice. Use at your own risk.'
name: prefetch-input-dev-package-managers
- default: []
description: Additional image tags
name: additional-tags
Expand Down Expand Up @@ -94,10 +102,6 @@ spec:
description: Image tag expiration time, time values could be something like 1h,
2d, 3w for hours, days, and weeks, respectively.
name: image-expires-after
- default: "false"
description: Build a source image.
name: build-source-image
type: string
- default: "false"
description: Add built image into an OCI image index
name: build-image-index
Expand All @@ -124,6 +128,35 @@ spec:
name: CHAINS-GIT_COMMIT
value: $(tasks.clone-repository.results.commit)
tasks:
- name: prefetch-dependencies
params:
- name: dev-package-managers
value: $(params.prefetch-input-dev-package-managers)
- name: input
value: $(params.prefetch-input)
runAfter:
- clone-repository
taskRef:
params:
- name: name
value: prefetch-dependencies
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies:0.1@sha256:fd1fda0dcf53938860ae6fcba37f5572ae25ae02dba44c15754fb7ba7549fb5c
- name: kind
value: task
resolver: bundles
when:
- input: $(params.prefetch-input)
operator: notin
values:
- ""
workspaces:
- name: source
workspace: workspace
- name: git-basic-auth
workspace: git-auth
- name: netrc
workspace: netrc
- name: apply-tags
params:
- name: ADDITIONAL_TAGS
Expand Down Expand Up @@ -185,33 +218,6 @@ spec:
workspace: workspace
- name: basic-auth
workspace: git-auth
- name: prefetch-dependencies
params:
- name: input
value: $(params.prefetch-input)
runAfter:
- clone-repository
taskRef:
params:
- name: name
value: prefetch-dependencies
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies:0.1@sha256:fd1fda0dcf53938860ae6fcba37f5572ae25ae02dba44c15754fb7ba7549fb5c
- name: kind
value: task
resolver: bundles
when:
- input: $(params.prefetch-input)
operator: notin
values:
- ""
workspaces:
- name: source
workspace: workspace
- name: git-basic-auth
workspace: git-auth
- name: netrc
workspace: netrc
- name: build-container
params:
- name: IMAGE
Expand Down

0 comments on commit 38c3f25

Please sign in to comment.