Configurable `opa` version on github-actions
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- github-actions
- Domain
- ci-cd
Research direction
Start with .github/workflows/reusable-test-policy-rego.yml and compare it with the gatekeeper-policy-template workflow at .github/workflows/test.yml#L8. Expose an opa-version input with a sane default, then verify the reusable workflow can select the requested version while retaining the default behavior.
Written by the indexing model from the issue text.
Description
Some rego policies are currently being built with opa 0.X versions, meanwhile others are built with 1.X.
The gatekeeper-policy-template currently is trying to use opa 1.X, but the github-actions don't allow for it. See here:
https://github.com/kubewarden/gatekeeper-policy-template/blob/main/.github/workflows/test.yml#L8
Acceptance criteria
- Expose the opa-version in the reusable-test-policy-rego.yml so we can set it. Provide a sane default.
- Dominant language
- Shell
- Stars
- 4
- Forks
- 11
- Avg merge
- 3h 41m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kubewarden/github-actions
-
help wanted kind/enhancement status/help wanted
Difficulty 4/5 3-5 days Newbie friendliness 35/100
kubewarden/github-actions#237 ·
-
good first issue help wanted kind/good first issue kind/tech-debt status/help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
kubewarden/github-actions#188 · 1 comment ·
-
area/ci status/postpone
Difficulty 4/5 3-5 days Newbie friendliness 42/100
kubewarden/github-actions#139 · 2 reactions ·
-
kind/good first issue status/help wanted
kubewarden/github-actions#87 · 1 comment · 1 assignee ·
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
kubewarden/github-actions#19 ·
All issues in kubewarden/github-actions
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·