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

update #150

Open
wants to merge 6 commits into
base: ec-release-debugging
Choose a base branch
from
Open
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
3 changes: 1 addition & 2 deletions .tekton/ec-cli-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "ec-release-debugging"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && files.all.exists(x, x.matches('internal/'))
creationTimestamp: null
labels:
appstudio.openshift.io/application: ec-release-debugging
Expand Down
3 changes: 1 addition & 2 deletions .tekton/verify-enterprise-contract-task-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "ec-release-debugging" && files.all.exists(x, x.matches('tasks/verify-enterprise-contract/0.1/'))
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request"
creationTimestamp: null
labels:
appstudio.openshift.io/application: ec-release-debugging
Expand Down
4 changes: 4 additions & 0 deletions internal/applicationsnapshot/attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ func (r *Report) attestations() ([]in_toto.Statement, error) {
}
return statements, nil
}

func toString() string {
return "attestation"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Copyright The Enterprise Contract Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -11,10 +12,9 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# comment
# SPDX-License-Identifier: Apache-2.0

---
apiVersion: tekton.dev/v1
kind: Task
metadata:
Expand Down