Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase #28

Closed
wants to merge 174 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
aa8a364
chore: bump openapi-generator (#3696)
alnr Jan 22, 2024
c9f4b5f
autogen(docs): regenerate and update changelog
ory-bot Jan 22, 2024
b177f81
chore(deps): bump axios and @openapitools/openapi-generator-cli (#3701)
dependabot[bot] Jan 30, 2024
18d9793
chore(deps): bump follow-redirects in /test/e2e/oauth2-client (#3697)
dependabot[bot] Jan 30, 2024
2a653e6
feat: add skip_logout_consent option to clients (#3705)
aeneasr Jan 30, 2024
92eb03a
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 30, 2024
01aeffc
autogen(docs): regenerate and update changelog
ory-bot Jan 30, 2024
8812e0e
fix: incorrect down migration (#3708)
aeneasr Jan 30, 2024
11bf9df
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 30, 2024
cdd2647
autogen(docs): regenerate and update changelog
ory-bot Jan 30, 2024
2dc6606
chore: improve context (#3656)
aeneasr Jan 31, 2024
4a00e3e
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 31, 2024
d0dfc0f
autogen(docs): regenerate and update changelog
ory-bot Jan 31, 2024
4fa2889
chore(deps): bump github.com/docker/docker (#3707)
dependabot[bot] Jan 31, 2024
f502d6e
feat: add --skip-logout-consent flag to CLI (#3709)
aeneasr Jan 31, 2024
e796893
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 31, 2024
21e0a9b
autogen(docs): regenerate and update changelog
ory-bot Jan 31, 2024
0487217
autogen: render config schema
ory-bot Feb 1, 2024
8168ee3
autogen: pin v2.2.0-pre.1 release commit
aeneasr Feb 1, 2024
bfc05d0
chore(deps): bump github.com/opencontainers/runc from 1.1.8 to 1.1.12…
dependabot[bot] Feb 2, 2024
33950db
autogen(docs): regenerate and update changelog
ory-bot Feb 2, 2024
65165e7
fix: return empty slice if requested_scope or audience is null (#3711)
jonas-jonas Feb 12, 2024
28e9e31
autogen(openapi): regenerate swagger spec and internal client
ory-bot Feb 12, 2024
8e6c4bf
autogen(docs): regenerate and update changelog
ory-bot Feb 12, 2024
57096be
autogen: pin v2.2.0 release commit
aeneasr Feb 12, 2024
fad1456
autogen(docs): generate and bump docs
ory-bot Feb 12, 2024
0421fda
autogen: add v2.2.0 to version.schema.json
ory-bot Feb 12, 2024
7862dc3
feat: add access token strategy parameter to cli (#3718)
jagobagascon Mar 5, 2024
b47942c
autogen(docs): regenerate and update changelog
ory-bot Mar 5, 2024
67a85cc
fix: wrap token handler in transaction (#3730)
hperl Mar 5, 2024
5bfc7fb
autogen(openapi): regenerate swagger spec and internal client
ory-bot Mar 5, 2024
fcaace4
autogen(docs): regenerate and update changelog
ory-bot Mar 5, 2024
89323e2
fix: upgrade fosite and improve webhook integration (#3727)
aeneasr Mar 13, 2024
9e89e9a
chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 (…
dependabot[bot] Mar 13, 2024
1d4c17c
autogen(openapi): regenerate swagger spec and internal client
ory-bot Mar 13, 2024
37c5e7f
autogen(docs): regenerate and update changelog
ory-bot Mar 13, 2024
8fff30d
chore(deps): bump jose from 2.0.5 to 2.0.7 in /test/e2e/oauth2-client…
dependabot[bot] Mar 13, 2024
632faef
fix: correctly pass multiple token audiences and prompt parameters wh…
alnr Mar 15, 2024
44f4f58
autogen(docs): regenerate and update changelog
ory-bot Mar 15, 2024
7aca23d
chore: upgrade ory/x (#3749)
aeneasr Mar 27, 2024
a9168e7
chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#3738)
dependabot[bot] Mar 27, 2024
b355eb4
autogen(openapi): regenerate swagger spec and internal client
ory-bot Mar 27, 2024
1f61853
autogen(docs): regenerate and update changelog
ory-bot Mar 27, 2024
4f786c6
chore(deps): bump express in /test/e2e/oauth2-client (#3750)
dependabot[bot] Mar 27, 2024
153e4b5
fix: error log when RP responds with status code 204 (#3731)
SiebelsTim Apr 4, 2024
5dadfe2
autogen(docs): regenerate and update changelog
ory-bot Apr 4, 2024
17ec137
chore(deps): bump follow-redirects in /test/e2e/oauth2-client (#3739)
dependabot[bot] Apr 4, 2024
50301e0
feat: improve persistence logic (#3756)
aeneasr Apr 5, 2024
63611f1
autogen(openapi): regenerate swagger spec and internal client
ory-bot Apr 5, 2024
247d867
autogen(docs): regenerate and update changelog
ory-bot Apr 5, 2024
bd95ed2
chore: add alnr as code owner
alnr Apr 22, 2024
2013450
feat: add Inspect option to registry
alnr Apr 22, 2024
e98b7bf
chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
dependabot[bot] Apr 19, 2024
017ebae
autogen(docs): regenerate and update changelog
ory-bot Apr 22, 2024
b372fd2
feat: add id parameter to create oauth2-client cli (#3725)
inigohu Apr 26, 2024
ec75f70
autogen(openapi): regenerate swagger spec and internal client
ory-bot Apr 26, 2024
d5eee06
autogen(docs): regenerate and update changelog
ory-bot Apr 26, 2024
5b106aa
fix: wrap authorize response in transaction (#3763)
aeneasr May 7, 2024
c558e40
autogen(docs): regenerate and update changelog
ory-bot May 7, 2024
1bbfdb5
fix: do not retry sending responses (#3764)
aeneasr May 8, 2024
e5b9e5c
autogen(docs): regenerate and update changelog
ory-bot May 8, 2024
db0255f
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr May 22, 2024
af0c64f
autogen(docs): regenerate and update changelog
ory-bot May 22, 2024
f7159f4
chore: add kubescape image scanner (#3776)
Demonsthere Jun 6, 2024
7563907
autogen(docs): regenerate and update changelog
ory-bot Jun 6, 2024
5ef20a2
fix: do not iteratively delete records (#3766)
aeneasr Jun 7, 2024
685222e
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jun 7, 2024
29f053e
autogen(docs): regenerate and update changelog
ory-bot Jun 7, 2024
5e70cde
update doc example for get oauth2-client
anthonysterling May 30, 2024
afd8c5f
autogen(docs): regenerate and update changelog
ory-bot Jun 11, 2024
cb0004b
fix: incorrect indices (#3778)
aeneasr Jun 13, 2024
c58f038
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jun 13, 2024
c184470
autogen(docs): regenerate and update changelog
ory-bot Jun 13, 2024
04c34aa
fix: faster GetPublicKeys (#3787)
aeneasr Jun 25, 2024
7c0ccf8
chore(deps): bump github.com/hashicorp/go-retryablehttp (#3786)
dependabot[bot] Jun 25, 2024
eeaf6f0
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#3783)
dependabot[bot] Jun 25, 2024
c8d5b0e
chore: document custom JWKs in broadcast endpoint (#3793)
jonas-jonas Jul 9, 2024
5c6b195
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 9, 2024
71fe10b
autogen(docs): regenerate and update changelog
ory-bot Jul 9, 2024
757d940
chore(deps): bump github.com/rs/cors from 1.9.0 to 1.11.0 (#3792)
dependabot[bot] Jul 10, 2024
2bda9e6
chore(deps-dev): bump braces in /test/e2e/oauth2-client (#3788)
dependabot[bot] Jul 10, 2024
28f139f
autogen(docs): regenerate and update changelog
ory-bot Jul 10, 2024
7311a79
chore: reduce registry code bloat and improve DI (#3794)
aeneasr Jul 16, 2024
440d1c7
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 16, 2024
9ba07a7
autogen(docs): regenerate and update changelog
ory-bot Jul 16, 2024
2113355
chore: update newsletter link (#3803)
vinckr Jul 24, 2024
0b3ecfc
autogen(docs): regenerate and update changelog
ory-bot Jul 24, 2024
477abae
chore: bump dependencies and generate internal SDK aligned with the p…
zepatrik Jul 31, 2024
d096523
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 31, 2024
e3f450e
autogen(docs): regenerate and update changelog
ory-bot Jul 31, 2024
de3c018
chore: fix some comments
beforetech Jul 31, 2024
f3f0274
autogen(docs): regenerate and update changelog
ory-bot Aug 5, 2024
d85c69f
chore: update newsletter link (#3814)
vinckr Aug 6, 2024
829e120
autogen(docs): regenerate and update changelog
ory-bot Aug 6, 2024
d0e047c
fix(docs): adjust note about SDK support on oauth2 flow endpoints (#3…
jonas-jonas Aug 6, 2024
ffdfb73
fix: use docker compose rather than docker-compose (#3815)
alnr Aug 6, 2024
ed6dc0b
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 6, 2024
6f2e24e
chore(deps): bump github.com/docker/docker
dependabot[bot] Aug 9, 2024
64c991b
autogen(docs): regenerate and update changelog
ory-bot Aug 12, 2024
ae04899
chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1
dependabot[bot] Aug 12, 2024
fa50e3e
fix: incorrect context passthru
alnr Aug 12, 2024
b36b701
fix: broken JSON round-tripping for custom claims
alnr Aug 13, 2024
c341d0e
autogen(docs): regenerate and update changelog
ory-bot Aug 14, 2024
a48a2e1
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 22, 2024
eec40e4
autogen(docs): regenerate and update changelog
ory-bot Aug 22, 2024
434fd91
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
b8ad420
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
5459361
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
e2f7049
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
cd7e7ef
feat: upgrade to jackc/pgx/v5 (#3798)
alnr Aug 29, 2024
d686795
chore: compile a static binary in Docker to move from distroless/stat…
alnr Aug 29, 2024
93edc9a
chore: remove json1 build tag everywhere
alnr Aug 29, 2024
554238b
fix: Correct span names
matsuu Aug 30, 2024
ee427ed
chore: consistently use otelx.End(); fix some incorrect API docs (#3835)
alnr Sep 16, 2024
7f65266
chore(deps): bump github.com/opencontainers/runc from 1.1.13 to 1.1.1…
dependabot[bot] Sep 16, 2024
c59a6d6
chore(deps): bump axios and @openapitools/openapi-generator-cli (#3825)
dependabot[bot] Sep 16, 2024
fe48d49
chore(deps): bump send and express in /test/e2e/oauth2-client (#3839)
dependabot[bot] Sep 16, 2024
0f37ba8
chore(deps): bump serve-static and express in /test/e2e/oauth2-client…
dependabot[bot] Sep 16, 2024
f83193f
feat: add expiry and requested times to logout table (#3837)
aeneasr Sep 16, 2024
99deae2
chore: adjust project automation (#3855)
nipsufn Oct 10, 2024
6d829dd
fix: change comment on revokeOAuth2LoginSessions (#3853)
sakai-303 Oct 10, 2024
8263ef4
revert: change comment on revokeOAuth2LoginSessions (#3853) (#3858)
alnr Oct 10, 2024
7f8bd90
feat: built-in login/consent UI for `hydra perform authorization-code…
alnr Oct 10, 2024
0cd00dc
feat: reduce size of verifiers (#3857)
aeneasr Oct 12, 2024
56fc3da
feat: remove unused indices (#3859)
aeneasr Oct 14, 2024
e278b40
feat: graceful refresh token rotation (#3860)
aeneasr Oct 21, 2024
9cc5f28
fix: advertise support for response_mode=form_post in OIDC discovery …
alnr Oct 23, 2024
db095de
test: patch oauth2 snapshot (#3867)
awill1988 Oct 29, 2024
41476ec
feat: support more claims in password grant (#3864)
hperl Oct 31, 2024
3164970
chore: update ristretto and ory/x (#3871)
aeneasr Nov 1, 2024
f777fd1
feat: update clients from files through the CLI (#3874)
zepatrik Nov 4, 2024
d5f65c5
fix: cpu contention when reading JWKs and suppress generating duplica…
terev Nov 4, 2024
7b82361
revert: reduce size of verifiers (#3875)
aeneasr Nov 5, 2024
0ce9d7a
revert: cpu contention when reading JWKs and suppress generating dupl…
aeneasr Nov 5, 2024
825c24d
chore: update reference in config.schema.json (#3881)
Laplace-Transformer Nov 8, 2024
68aa167
fix: untyped int build issues on 32bit architectures (#3885)
zepatrik Nov 14, 2024
a5b2d75
fix: omit explicit transaction in ConfirmLoginSession and add tracing…
alnr Nov 15, 2024
b0270ad
chore: pin GHA PM action version (#3888)
nipsufn Nov 18, 2024
728b732
chore: install fosite from branch (remove)
nsklikas Sep 25, 2024
66ba94d
fix: set utc expires_at
nsklikas Sep 25, 2024
e892878
fix: add redirect_uri to test
nsklikas Sep 25, 2024
ce85ce8
chore: update go.mod
nsklikas Sep 25, 2024
7514ae6
fix: add rfc8628 providers to registry
nsklikas Feb 9, 2024
580fd4e
fix: update database schema
nsklikas Feb 9, 2024
a08e961
fix: update oauth persister logic
nsklikas Sep 24, 2024
75f3d7c
feat: add device authorization endpoint handler
nsklikas Feb 9, 2024
73b9543
refactor: move logic to updateSessionWithRequest method
nsklikas Feb 28, 2024
da682ad
fix: rename device auth endpoint handler
nsklikas Feb 28, 2024
ec9a15d
feat: add device user verification handler
nsklikas Feb 28, 2024
e47ca85
fix: implement device user verification logic
nsklikas Feb 28, 2024
6a11a7c
feat: update flow
nsklikas Mar 1, 2024
21517e9
fix: add post device auth handler
nsklikas Mar 1, 2024
bd8fcf7
feat: add consent handler for accepting a user_code
nsklikas Mar 1, 2024
fb38b6a
chore: add post_device_done to config schema
nsklikas Mar 7, 2024
b3a8c62
chore: add e2e tests
nsklikas Mar 11, 2024
7d0930f
feat: token request handling for device flow
wood-push-melon Mar 23, 2024
d8a86da
chore: update config
nsklikas Mar 21, 2024
4f7bd9f
fix: fix the OIDC token and refresh token issue for device flow
wood-push-melon Apr 11, 2024
a074d6f
fix: update OpenID Connect session after user consent
wood-push-melon Apr 12, 2024
7d6d6f3
fix: add GetDeviceCodeSessionByRequestID method
nsklikas Apr 15, 2024
799e7bd
fix: return client_id to post_device page
nsklikas Apr 15, 2024
f88bcc2
fix: update existing device session
nsklikas Apr 15, 2024
efe9fd0
fix: update tests
nsklikas Apr 15, 2024
83ac5e4
fix: add device auth endpoint in discovery metadata
nsklikas Apr 23, 2024
fa7d3c4
fix: make device grant lifetimes configurable
nsklikas Apr 25, 2024
2e70195
test: update sql fixtures
nsklikas Apr 29, 2024
35dd1c5
fix: perform device flow from CLI
nsklikas May 22, 2024
3dd0859
fix: wrap db calls in transaction
nsklikas Jul 30, 2024
d0cfa42
chore: fix license
nsklikas Sep 25, 2024
d3ef058
chore: update sdk
nsklikas Sep 24, 2024
25c6d1f
fix: duplicate user_code update
nsklikas Sep 26, 2024
0f9025c
refactor: merge user and device code tables
nsklikas Nov 15, 2024
93e49bf
fix: create openid session when log in succeeds
nsklikas Nov 18, 2024
0e55f5c
refactor: update device session persistence logic
nsklikas Nov 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions .docker/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM alpine:3.18
FROM alpine:3.20

RUN addgroup -S ory; \
adduser -S ory -G ory -D -H -s /bin/nologin
RUN apk --no-cache --upgrade add ca-certificates
adduser -S ory -G ory -D -H -s /bin/nologin && \
apk upgrade --no-cache && \
apk add --no-cache --upgrade ca-certificates

COPY hydra /usr/bin/hydra

Expand Down
9 changes: 4 additions & 5 deletions .docker/Dockerfile-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 AS builder
FROM golang:1.22 AS builder

WORKDIR /go/src/github.com/ory/hydra

Expand All @@ -9,17 +9,16 @@ RUN apt-get update && apt-get upgrade -y &&\
COPY go.mod go.sum ./
COPY internal/httpclient/go.* ./internal/httpclient/

ENV GO111MODULE on
ENV CGO_ENABLED 1
ENV CGO_ENABLED=1

RUN go mod download

COPY . .
RUN go build -tags sqlite,json1 -o /usr/bin/hydra
RUN go build -ldflags="-extldflags=-static" -tags sqlite,sqlite_omit_load_extension -o /usr/bin/hydra

#########################

FROM gcr.io/distroless/base-nossl-debian12:nonroot AS runner
FROM gcr.io/distroless/static-debian12:nonroot AS runner

COPY --from=builder --chown=nonroot:nonroot /var/lib/sqlite /var/lib/sqlite
COPY --from=builder /usr/bin/hydra /usr/bin/hydra
Expand Down
4 changes: 2 additions & 2 deletions .docker/Dockerfile-hsm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 AS builder
FROM golang:1.22 AS builder

WORKDIR /go/src/github.com/ory/hydra

Expand All @@ -18,7 +18,7 @@ COPY . .
###############################

FROM builder as build-hydra
RUN go build -tags sqlite,json1,hsm -o /usr/bin/hydra
RUN go build -tags sqlite,hsm -o /usr/bin/hydra

###############################

Expand Down
5 changes: 3 additions & 2 deletions .docker/Dockerfile-scratch
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM alpine:3.18
FROM alpine:3.20

RUN apk --no-cache --upgrade --latest add ca-certificates
RUN apk upgrade --no-cache && \
apk add --no-cache --upgrade ca-certificates

# set up nsswitch.conf for Go's "netgo" implementation
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
Expand Down
5 changes: 3 additions & 2 deletions .docker/Dockerfile-sqlite
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18
FROM alpine:3.20

# Because this image is built for SQLite, we create /home/ory and /home/ory/sqlite which is owned by the ory user
# and declare /home/ory/sqlite a volume.
Expand All @@ -10,7 +10,8 @@ FROM alpine:3.18
RUN addgroup -S ory; \
adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; \
chown -R ory:ory /home/ory && \
apk --no-cache --upgrade --latest add ca-certificates sqlite
apk upgrade --no-cache && \
apk add --no-cache --upgrade --latest ca-certificates sqlite

WORKDIR /home/ory

Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @aeneasr @hperl
* @aeneasr @hperl @alnr

/docs/ @ory/documenters
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ body:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
id: checklist
type: checkboxes
- attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/DESIGN-DOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ body:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
id: checklist
type: checkboxes
- attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ body:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
id: checklist
type: checkboxes
- attributes:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- name: Start service
run: ./test/conformance/start.sh
- name: Run tests
Expand All @@ -49,15 +49,15 @@ jobs:
- sdk-generate
services:
postgres:
image: postgres:11.8
image: postgres:16
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: test
POSTGRES_USER: test
ports:
- 5432:5432
mysql:
image: mysql:8.0.26
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: test
ports:
Expand All @@ -69,7 +69,7 @@ jobs:
steps:
- run: |
docker create --name cockroach -p 26257:26257 \
cockroachdb/cockroach:v22.1.10 start-single-node --insecure
cockroachdb/cockroach:latest-v24.1 start-single-node --insecure
docker start cockroach
name: Start CockroachDB
- uses: ory/ci/checkout@master
Expand All @@ -82,7 +82,7 @@ jobs:
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.22"
- run: go list -json > go.list
- name: Run nancy
uses: sonatype-nexus-community/[email protected]
Expand All @@ -94,12 +94,12 @@ jobs:
GOGC: 100
with:
args: --timeout 10m0s
version: v1.55.2
version: v1.61.0
skip-pkg-cache: true
- name: Run go-acc (tests)
run: |
make .bin/go-acc
.bin/go-acc -o coverage.out ./... -- -failfast -timeout=20m -tags sqlite,json1
.bin/go-acc -o coverage.out ./... -- -failfast -timeout=20m -tags sqlite,sqlite_omit_load_extension
- name: Submit to Codecov
run: |
bash <(curl -s https://codecov.io/bash)
Expand All @@ -125,7 +125,7 @@ jobs:
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- name: Setup HSM libs and packages
run: |
sudo apt install -y softhsm opensc
Expand All @@ -150,15 +150,15 @@ jobs:
args: ["", "--jwt"]
services:
postgres:
image: postgres:11.8
image: postgres:16
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: test
POSTGRES_USER: test
ports:
- 5432:5432
mysql:
image: mysql:8.0.26
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: test
ports:
Expand All @@ -170,13 +170,13 @@ jobs:
steps:
- run: |
docker create --name cockroach -p 26257:26257 \
cockroachdb/cockroach:v22.1.10 start-single-node --insecure
cockroachdb/cockroach:latest-v24.1 start-single-node --insecure
docker start cockroach
name: Start CockroachDB
- uses: ory/ci/checkout@master
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- uses: actions/cache@v2
with:
path: ./test/e2e/hydra
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.22"
- run: go version

# Initializes the CodeQL tools for scanning.
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/cve-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ jobs:
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ steps.grype-scan.outputs.sarif }}
- name: Kubescape scanner
uses: kubescape/github-action@main
id: kubescape
with:
image: oryd/hydra:${{ env.SHA_SHORT }}-sqlite
verbose: true
format: pretty-printer
# can't whitelist CVE yet: https://github.com/kubescape/kubescape/pull/1568
severityThreshold: critical
- name: Trivy Scanner
uses: aquasecurity/trivy-action@master
if: ${{ always() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- run: make format
- name: Indicate formatting issues
run: git diff HEAD --exit-code --color
2 changes: 1 addition & 1 deletion .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- uses: actions/setup-node@v2
with:
node-version: "18"
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/pm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Synchronize with product board

on:
issues:
types:
- opened
pull_request:
types:
- opened
- ready_for_review

jobs:
automate:
if: github.event.pull_request.head.repo.fork == false
name: Add issue to project
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: ory-corp/[email protected]
with:
organization: ory-corp
project: 5
token: ${{ secrets.ORY_BOT_PAT }}
todoLabel: "Needs Triage"
statusName: Status
statusValue: "Needs Triage"
includeEffort: "false"
monthlyMilestoneName: Roadmap Monthly
quarterlyMilestoneName: Roadmap
6 changes: 2 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ linters:
- goimports
disable:
- ineffassign
- deadcode
- unused
- structcheck

run:
skip-files:
issues:
exclude-files:
- ".+_test.go"
- ".+_test_.+.go"
Loading
Loading