Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROX-20750: Onboard scanner-db-slim to Konflux #1436

Merged
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
4 changes: 4 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 @@ -271,6 +273,8 @@ spec:
value: $(params.image-expires-after)
- name: COMMIT_SHA
value: $(tasks.clone-repository.results.commit)
- name: TARGET_STAGE
value: scanner-db
Comment on lines +276 to +277
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, this isn't necessary since Dockerfile will be built until the final stage by default. Although I'm happy if you keep this for explicitness.

runAfter:
- prefetch-dependencies
- fetch-sql-definitions
Expand Down
4 changes: 4 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 @@ -269,6 +271,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
Loading