Upgrade OPA and regal to latest versions

This commit is contained in:
Quentin Gliech
2025-09-12 10:52:39 +02:00
parent 893d51d0bc
commit e74061730e
5 changed files with 13 additions and 5 deletions

View File

@@ -12,7 +12,8 @@ runs:
- name: Install Open Policy Agent - name: Install Open Policy Agent
uses: open-policy-agent/setup-opa@v2.2.0 uses: open-policy-agent/setup-opa@v2.2.0
with: with:
version: 1.1.0 # Keep in sync with the Dockerfile and policies/Makefile
version: 1.8.0
- name: Build the policies - name: Build the policies
run: make run: make

View File

@@ -41,7 +41,8 @@ jobs:
- name: Setup Regal - name: Setup Regal
uses: StyraInc/setup-regal@v1 uses: StyraInc/setup-regal@v1
with: with:
version: 0.29.2 # Keep in sync with policies/Makefile
version: 0.36.1
- name: Lint policies - name: Lint policies
working-directory: ./policies working-directory: ./policies

View File

@@ -14,7 +14,8 @@ ARG DEBIAN_VERSION=12
ARG DEBIAN_VERSION_NAME=bookworm ARG DEBIAN_VERSION_NAME=bookworm
ARG RUSTC_VERSION=1.89.0 ARG RUSTC_VERSION=1.89.0
ARG NODEJS_VERSION=22.19.0 ARG NODEJS_VERSION=22.19.0
ARG OPA_VERSION=1.1.0 # Keep in sync with .github/actions/build-policies/action.yml and policies/Makefile
ARG OPA_VERSION=1.8.0
ARG CARGO_AUDITABLE_VERSION=0.7.0 ARG CARGO_AUDITABLE_VERSION=0.7.0
########################################## ##########################################

View File

@@ -4,6 +4,9 @@
# Please see LICENSE files in the repository root for full details. # Please see LICENSE files in the repository root for full details.
rules: rules:
imports:
unresolved-reference:
level: ignore
style: style:
external-reference: external-reference:
level: ignore level: ignore

View File

@@ -6,8 +6,10 @@
# Set to 1 to run OPA through Docker # Set to 1 to run OPA through Docker
DOCKER := 0 DOCKER := 0
PODMAN := 0 PODMAN := 0
OPA_DOCKER_IMAGE := docker.io/openpolicyagent/opa:1.1.0-debug # Keep in sync with Dockerfile and .github/actions/build-policies/action.yml
REGAL_DOCKER_IMAGE := ghcr.io/styrainc/regal:0.31.0 OPA_DOCKER_IMAGE := docker.io/openpolicyagent/opa:1.8.0-debug
# Keep in sync with .github/workflows/ci.yaml
REGAL_DOCKER_IMAGE := ghcr.io/styrainc/regal:0.36.1
INPUTS := \ INPUTS := \
common/common.rego \ common/common.rego \