Skip to content

Commit

Permalink
ROX-20752: scanner-slim konflux onboarding (#1429)
Browse files Browse the repository at this point in the history
Co-authored-by: red-hat-konflux[bot] <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux <rhtap@redhat.com>
Co-authored-by: red-hat-konflux <123456+red-hat-konflux[bot]@users.noreply.github.com>
Co-authored-by: Misha Sugakov <537715+msugakov@users.noreply.github.com>
  • Loading branch information
5 people authored Mar 12, 2024
1 parent d1a653f commit f3bb6e3
Show file tree
Hide file tree
Showing 10 changed files with 1,720 additions and 768 deletions.
8 changes: 8 additions & 0 deletions .tekton/scanner-db-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
value: ''
- name: build-source-image
value: 'true'
- name: build-target-stage
value: scanner-db

workspaces:
- name: workspace
Expand Down Expand Up @@ -146,6 +148,10 @@ spec:
description: Build a source image.
name: build-source-image
type: string
- default: ""
description: Build stage to target in container build
name: build-target-stage
type: string

results:
- description: ""
Expand Down Expand Up @@ -271,6 +277,8 @@ spec:
value: $(params.image-expires-after)
- name: COMMIT_SHA
value: $(tasks.clone-repository.results.commit)
- name: TARGET_STAGE
value: $(params.build-target-stage)
runAfter:
- prefetch-dependencies
- fetch-sql-definitions
Expand Down
8 changes: 8 additions & 0 deletions .tekton/scanner-db-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
value: ''
- name: build-source-image
value: 'true'
- name: build-target-stage
value: scanner-db

workspaces:
- name: workspace
Expand Down Expand Up @@ -144,6 +146,10 @@ spec:
description: Build a source image.
name: build-source-image
type: string
- default: ""
description: Build stage to target in container build
name: build-target-stage
type: string

results:
- description: ""
Expand Down Expand Up @@ -269,6 +275,8 @@ spec:
value: $(params.image-expires-after)
- name: COMMIT_SHA
value: $(tasks.clone-repository.results.commit)
- name: TARGET_STAGE
value: $(params.build-target-stage)
runAfter:
- prefetch-dependencies
- fetch-sql-definitions
Expand Down
Loading

0 comments on commit f3bb6e3

Please sign in to comment.