goauthentik / authentik

The authentication glue you need.
https://goauthentik.io
Other
13.67k stars 915 forks source link

providers/oauth2: fix migration dependencies (cherry-pick #12123) #12132

Closed gcp-cherry-pick-bot[bot] closed 16 hours ago

gcp-cherry-pick-bot[bot] commented 16 hours ago

Cherry-picked providers/oauth2: fix migration dependencies (#12123)

we had to change these dependencies for 2024.8.x since that doesn't have invalidation flows

they also need to be changed for 2024.10 when upgrading, and these migrations don't need the invalidation flow migration at all

Signed-off-by: Jens Langhammer jens@goauthentik.io

codecov[bot] commented 16 hours ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.68%. Comparing base (111e120) to head (198c4ad). Report is 2 commits behind head on version-2024.10.

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## version-2024.10 #12132 +/- ## =================================================== + Coverage 92.60% 92.68% +0.08% =================================================== Files 761 761 Lines 37953 37953 =================================================== + Hits 35147 35178 +31 + Misses 2806 2775 -31 ``` | [Flag](https://app.codecov.io/gh/goauthentik/authentik/pull/12132/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | Coverage Δ | | |---|---|---| | [e2e](https://app.codecov.io/gh/goauthentik/authentik/pull/12132/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `49.29% <ø> (+0.11%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/goauthentik/authentik/pull/12132/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `24.87% <ø> (ø)` | | | [unit](https://app.codecov.io/gh/goauthentik/authentik/pull/12132/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `90.19% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

netlify[bot] commented 16 hours ago

Deploy Preview for authentik-docs ready!

Name Link
Latest commit 198c4ad32e432e281036a1821e7bb09a06a3ba21
Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/673f5ed93bf90800088cd81a
Deploy Preview https://deploy-preview-12132--authentik-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 15 hours ago

authentik PR Installation instructions

Instructions for docker-compose Add the following block to your `.env` file: ```shell AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server AUTHENTIK_TAG=gh-198c4ad32e432e281036a1821e7bb09a06a3ba21 AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s ``` For arm64, use these values: ```shell AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server AUTHENTIK_TAG=gh-198c4ad32e432e281036a1821e7bb09a06a3ba21-arm64 AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s ``` Afterwards, run the upgrade commands from the latest release notes.
Instructions for Kubernetes Add the following block to your `values.yml` file: ```yaml authentik: outposts: container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s global: image: repository: ghcr.io/goauthentik/dev-server tag: gh-198c4ad32e432e281036a1821e7bb09a06a3ba21 ``` For arm64, use these values: ```yaml authentik: outposts: container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s global: image: repository: ghcr.io/goauthentik/dev-server tag: gh-198c4ad32e432e281036a1821e7bb09a06a3ba21-arm64 ``` Afterwards, run the upgrade commands from the latest release notes.