Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 5b272df

Browse files
committed
Bump Open Policy Agent version to 0.59.0
1 parent 7c4f8c3 commit 5b272df

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup OPA
4646
uses: open-policy-agent/[email protected]
4747
with:
48-
version: 0.58.0
48+
version: 0.59.0
4949

5050
- name: Install Rust toolchain
5151
uses: dtolnay/rust-toolchain@stable

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup OPA
3434
uses: open-policy-agent/[email protected]
3535
with:
36-
version: 0.58.0
36+
version: 0.59.0
3737

3838
- name: Lint policies
3939
working-directory: ./policies
@@ -202,7 +202,7 @@ jobs:
202202
- name: Setup OPA
203203
uses: open-policy-agent/[email protected]
204204
with:
205-
version: 0.58.0
205+
version: 0.59.0
206206

207207
- name: Compile OPA policies
208208
working-directory: ./policies
@@ -264,7 +264,7 @@ jobs:
264264
- name: Setup OPA
265265
uses: open-policy-agent/[email protected]
266266
with:
267-
version: 0.58.0
267+
version: 0.59.0
268268

269269
- name: Compile OPA policies
270270
working-directory: ./policies

.github/workflows/coverage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup OPA
3030
uses: open-policy-agent/[email protected]
3131
with:
32-
version: 0.58.0
32+
version: 0.59.0
3333

3434
- name: Run OPA tests with coverage
3535
working-directory: ./policies
@@ -123,7 +123,7 @@ jobs:
123123
- name: Setup OPA
124124
uses: open-policy-agent/[email protected]
125125
with:
126-
version: 0.58.0
126+
version: 0.59.0
127127

128128
- name: Compile OPA policies
129129
working-directory: ./policies

Dockerfile

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARG RUSTC_VERSION=1.73.0
1313
# XXX: Upgrade to 0.11.0 blocked by https://github.com/rust-cross/cargo-zigbuild/issues/162
1414
ARG ZIG_VERSION=0.9.1
1515
ARG NODEJS_VERSION=20.9.0
16-
ARG OPA_VERSION=0.58.0
16+
ARG OPA_VERSION=0.59.0
1717
ARG CARGO_AUDITABLE_VERSION=0.6.1
1818
ARG CARGO_CHEF_VERSION=0.1.62
1919
ARG CARGO_ZIGBUILD_VERSION=0.17.5
@@ -78,9 +78,9 @@ ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
7878
# Network access: to fetch dependencies
7979
RUN --network=default \
8080
cargo install --locked \
81-
cargo-chef@=${CARGO_CHEF_VERSION} \
82-
cargo-zigbuild@=${CARGO_ZIGBUILD_VERSION} \
83-
cargo-auditable@=${CARGO_AUDITABLE_VERSION}
81+
cargo-chef@=${CARGO_CHEF_VERSION} \
82+
cargo-zigbuild@=${CARGO_ZIGBUILD_VERSION} \
83+
cargo-auditable@=${CARGO_AUDITABLE_VERSION}
8484

8585
# Download zig compiler for cross-compilation
8686
# Network access: to download zig
@@ -92,9 +92,9 @@ RUN --network=default \
9292
# Network access: to download the targets
9393
RUN --network=default \
9494
rustup target add \
95-
--toolchain "${RUSTC_VERSION}" \
96-
x86_64-unknown-linux-musl \
97-
aarch64-unknown-linux-musl
95+
--toolchain "${RUSTC_VERSION}" \
96+
x86_64-unknown-linux-musl \
97+
aarch64-unknown-linux-musl
9898

9999
# Set the working directory
100100
WORKDIR /app
@@ -106,7 +106,7 @@ FROM --platform=${BUILDPLATFORM} toolchain AS planner
106106
COPY ./Cargo.toml ./Cargo.lock /app/
107107
COPY ./crates /app/crates
108108
RUN --network=none \
109-
cargo chef prepare --recipe-path recipe.json --bin crates/cli
109+
cargo chef prepare --recipe-path recipe.json --bin crates/cli
110110

111111
########################
112112
## Actual build stage ##
@@ -118,15 +118,15 @@ COPY --from=planner /app/recipe.json recipe.json
118118
# Network access: cargo-chef cook fetches the dependencies
119119
RUN --network=default \
120120
cargo chef cook \
121-
--zigbuild \
122-
--bin mas-cli \
123-
--release \
124-
--recipe-path recipe.json \
125-
--no-default-features \
126-
--features docker \
127-
--target x86_64-unknown-linux-musl \
128-
--target aarch64-unknown-linux-musl \
129-
--package mas-cli
121+
--zigbuild \
122+
--bin mas-cli \
123+
--release \
124+
--recipe-path recipe.json \
125+
--no-default-features \
126+
--features docker \
127+
--target x86_64-unknown-linux-musl \
128+
--target aarch64-unknown-linux-musl \
129+
--package mas-cli
130130

131131
# Build the rest
132132
COPY ./Cargo.toml ./Cargo.lock /app/
@@ -135,13 +135,13 @@ ENV SQLX_OFFLINE=true
135135
# Network access: cargo auditable needs it
136136
RUN --network=default \
137137
cargo auditable zigbuild \
138-
--locked \
139-
--release \
140-
--bin mas-cli \
141-
--no-default-features \
142-
--features docker \
143-
--target x86_64-unknown-linux-musl \
144-
--target aarch64-unknown-linux-musl
138+
--locked \
139+
--release \
140+
--bin mas-cli \
141+
--no-default-features \
142+
--features docker \
143+
--target x86_64-unknown-linux-musl \
144+
--target aarch64-unknown-linux-musl
145145

146146
# Move the binary to avoid having to guess its name in the next stage
147147
RUN --network=none \

policies/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set to 1 to run OPA through Docker
22
DOCKER := 0
3-
OPA_DOCKER_IMAGE := docker.io/openpolicyagent/opa:0.58.0-debug
3+
OPA_DOCKER_IMAGE := docker.io/openpolicyagent/opa:0.59.0-debug
44

55
INPUTS := \
66
client_registration.rego \

0 commit comments

Comments
 (0)