Skip to content

Commit

Permalink
Pin policies used by RHTAP Multi-CI
Browse files Browse the repository at this point in the history
With the imminent GA of RHTAP 1.3, let's pin this reference for
stability. I pushed the branch to ec-policies just now on
sha 158a9858c7be2250cd1ec8e7b80c7dca0d8ca01d .

It means that changes from EC-1032 didn't get merged in time, but
that's okay, we'll include them in future RHTAP releases.

I considered introducing an RHTAP version number in the branch name,
e.g. `release-v0.5-rhtap-1.3` but decided against it, though we may
want to do somethinhg like that in future.

Ref: https://issues.redhat.com/browse/EC-1029
  • Loading branch information
simonbaird committed Dec 2, 2024
1 parent ae9338b commit a4c4206
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions rhtap-github/policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ description: >-
sources:
- name: Default
policy:
- github.com/enterprise-contract/ec-policies//policy/lib?ref=main
- github.com/enterprise-contract/ec-policies//policy/release?ref=main
- github.com/enterprise-contract/ec-policies//policy/lib?ref=release-v0.5-rhtap
- github.com/enterprise-contract/ec-policies//policy/release?ref=release-v0.5-rhtap
data: []
config:
include:
Expand Down
4 changes: 2 additions & 2 deletions rhtap-gitlab/policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ description: >-
sources:
- name: Default
policy:
- github.com/enterprise-contract/ec-policies//policy/lib?ref=main
- github.com/enterprise-contract/ec-policies//policy/release?ref=main
- github.com/enterprise-contract/ec-policies//policy/lib?ref=release-v0.5-rhtap
- github.com/enterprise-contract/ec-policies//policy/release?ref=release-v0.5-rhtap
data: []
config:
include:
Expand Down
6 changes: 2 additions & 4 deletions src/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ rhtap-gitlab:
Includes rules suitable for use with the attestations created by RHTAP
GitLab build pipelines.
environment: versioned
# Pin to a release branch in future
ecPoliciesRef: main
ecPoliciesRef: release-v0.5-rhtap
include:
- '@rhtap-gitlab'
exclude: []
Expand All @@ -40,8 +39,7 @@ rhtap-github:
Includes rules suitable for use with the attestations created by RHTAP
GitHub build pipelines.
environment: versioned
# Pin to a release branch in future
ecPoliciesRef: main
ecPoliciesRef: release-v0.5-rhtap
include:
- '@rhtap-github'
exclude: []
Expand Down

0 comments on commit a4c4206

Please sign in to comment.