Skip to content

Commit

Permalink
Merge branch 'main' into feat/explore-paranoia
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmaggiowski authored Sep 17, 2024
2 parents be3fb95 + 6c64b24 commit 6fad7a4
Show file tree
Hide file tree
Showing 15 changed files with 348 additions and 148 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Test
strategy:
matrix:
go_version: ['1.20', '1.21', '1.22']
go_version: ['1.21', '1.22', '1.23']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Use golang ${{ matrix.go_version }}
- name: Use golang latest
uses: actions/setup-go@v5
with:
go-version: 'stable'
Expand All @@ -66,15 +66,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go_version: ['1.20']
go_version: ['1.22']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go_version }}
- name: Run benchmark
run: make bench | tee output.txt
run: make bench | tee output.txt; exit ${PIPESTATUS[0]}
- name: Download previous benchmark data
uses: actions/cache/restore@v4
with:
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
${{ runner.os }}-buildx-
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

### Fixed

- migrated from `io/ioutil` package to `os` and `io` packages
- migrated from `io/ioutil` package to `os` and `io` packages
- [#65](https://github.com/rond-authz/rond/issues/65): router now match specific verbs

## 1.4.0 - 11-08-2022
Expand Down Expand Up @@ -130,7 +130,7 @@

### Fixed

- Prevent status routes to run into the OPA Middleware
- Prevent status routes to run into the OPA Middleware

## 0.8.1 - 14/03/2022

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################
# STEP 1 build executable binary
############################
FROM golang:1.22.1 AS builder
FROM golang:1.23.1 AS builder

WORKDIR /app

Expand Down Expand Up @@ -33,7 +33,7 @@ LABEL maintainer="rond@rond-authz.io" \

LABEL org.opencontainers.image.description "Rönd is a lightweight container that distributes security policy enforcement throughout your application."

ENV SERVICE_VERSION="1.12.3"
ENV SERVICE_VERSION="1.12.6"

# Import the user and group files from the builder.
COPY --from=builder /etc/passwd /etc/passwd
Expand Down
36 changes: 18 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ go 1.21

require (
github.com/davidebianchi/gswagger v0.10.0
github.com/getkin/kin-openapi v0.123.0
github.com/getkin/kin-openapi v0.127.0
github.com/google/uuid v1.6.0
github.com/gorilla/mux v1.8.1
github.com/mia-platform/configlib v1.0.2
github.com/mia-platform/glogger/v4 v4.1.0
github.com/mia-platform/go-crud-service-client v0.12.0
github.com/open-policy-agent/opa v0.62.1
github.com/prometheus/client_golang v1.19.0
github.com/samber/lo v1.39.0
github.com/mia-platform/glogger/v4 v4.2.0
github.com/mia-platform/go-crud-service-client v0.14.0
github.com/open-policy-agent/opa v0.65.0
github.com/prometheus/client_golang v1.19.1
github.com/samber/lo v1.42.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
github.com/uptrace/bunrouter v1.0.21
go.mongodb.org/mongo-driver v1.14.0
go.mongodb.org/mongo-driver v1.16.1
gopkg.in/h2non/gock.v1 v1.1.2
)

Expand All @@ -32,18 +32,18 @@ require (
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-ini/ini v1.67.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/jsonpointer v0.20.2 // indirect
github.com/go-openapi/swag v0.22.8 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/invopop/jsonschema v0.12.0 // indirect
github.com/invopop/yaml v0.2.0 // indirect
github.com/invopop/yaml v0.3.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.17.0 // indirect
github.com/klauspost/compress v1.17.6 // indirect
github.com/knadh/koanf v1.4.3 // indirect
github.com/knadh/koanf/v2 v2.0.1 // indirect
github.com/magiconair/properties v1.8.7 // indirect
Expand All @@ -52,11 +52,11 @@ require (
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
github.com/montanaflynn/stats v0.6.6 // indirect
github.com/montanaflynn/stats v0.7.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/perimeterx/marshmallow v1.1.5 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.48.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
Expand Down Expand Up @@ -85,11 +85,11 @@ require (
go.opentelemetry.io/otel/trace v1.21.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.16.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
Loading

0 comments on commit 6fad7a4

Please sign in to comment.