diff --git a/pipelines/enterprise-contract.yaml b/pipelines/enterprise-contract.yaml index 30fbe77af2..224b1a2a0e 100644 --- a/pipelines/enterprise-contract.yaml +++ b/pipelines/enterprise-contract.yaml @@ -71,6 +71,12 @@ spec: type: string description: PipelineRun ID default: "pr/$(context.pipelineRun.name)" + - name: STRICT + type: string + description: | + A boolean flag that determines whether the result of the test will mark the TaskRun as passing or not. + Swap to false to make the IntegrationTestScenario informative. + value: "true" results: - name: TEST_OUTPUT value: "$(tasks.verify.results.TEST_OUTPUT)" @@ -83,12 +89,8 @@ spec: value: "$(params.SNAPSHOT)" - name: SSL_CERT_DIR value: "$(params.SSL_CERT_DIR)" - # It's confusing for users to see a passing taskrun that represents a failing EC test. - # For that reason let's have the taskrun fail when there are EC violations. Also, if - # this is set to false (IIUC), it's not possible to have the IntegrationTest gate the - # deploy to the devel environment work, which is what users expect to be able to do. - name: STRICT - value: "true" + value: "$(params.STRICT)" - name: PUBLIC_KEY value: "$(params.PUBLIC_KEY)" - name: IGNORE_REKOR