Skip to content

Commit

Permalink
feat(KONFLUX-4136): enable reduce-snapshot
Browse files Browse the repository at this point in the history
- This change enables `single component mode` by adding
  parameters to the pipeline and propagating them to the
  verify task
- Users may add `SINGLE_COMPONENT = true` to their EC
  Integration Test Scenarios to activate this mode.

Signed-off-by: Scott Hebert <[email protected]>
  • Loading branch information
scoheb authored and lcarva committed Sep 19, 2024
1 parent 74c7d62 commit e04c473
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 86 deletions.
8 changes: 6 additions & 2 deletions pipelines/enterprise-contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ spec:
type: string
description: Reduce the Snapshot to only the component whose build caused the Snapshot to be created
default: "false"
- name: PIPELINERUN_ID
- name: SINGLE_COMPONENT_CUSTOM_RESOURCE
type: string
description: PipelineRun ID
default: "$(context.pipelineRun.name)"
default: "pr/$(context.pipelineRun.name)"
results:
- name: TEST_OUTPUT
value: "$(tasks.verify.results.TEST_OUTPUT)"
Expand Down Expand Up @@ -101,6 +101,10 @@ spec:
value: "$(params.CA_TRUST_CONFIGMAP_NAME)"
- name: CA_TRUST_CONFIG_MAP_KEY
value: "$(params.CA_TRUST_CONFIG_MAP_KEY)"
- name: SINGLE_COMPONENT
value: "$(params.SINGLE_COMPONENT)"
- name: SINGLE_COMPONENT_CUSTOM_RESOURCE
value: "$(params.SINGLE_COMPONENT_CUSTOM_RESOURCE)"
taskRef:
resolver: bundles
params:
Expand Down
20 changes: 0 additions & 20 deletions task/reduce-snapshot-to-single-component/0.1/README.md

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions task/reduce-snapshot-to-single-component/OWNERS

This file was deleted.

0 comments on commit e04c473

Please sign in to comment.