lifecycle/migrate: only acquire lock once#9856
Merged
Conversation
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
✅ Deploy Preview for authentik-docs canceled.
|
✅ Deploy Preview for authentik-storybook canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9856 +/- ##
=======================================
Coverage 92.62% 92.62%
=======================================
Files 710 710
Lines 34723 34723
=======================================
Hits 32162 32162
Misses 2561 2561
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
BeryJu
approved these changes
May 24, 2024
Contributor
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-c318c78f81b64e6227ad413b9d29269d06ebd30d
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sFor arm64, use these values: AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-c318c78f81b64e6227ad413b9d29269d06ebd30d-arm64
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-ghcr.io/goauthentik/dev-server:gh-c318c78f81b64e6227ad413b9d29269d06ebd30dFor arm64, use these values: authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-ghcr.io/goauthentik/dev-server:gh-c318c78f81b64e6227ad413b9d29269d06ebd30d-arm64Afterwards, run the upgrade commands from the latest release notes. |
kensternberg-authentik
added a commit
that referenced
this pull request
Jun 11, 2024
* main: (43 commits) website/docs: improve read replica docs (#9828) translate: Updates for file locale/en/LC_MESSAGES/django.po in ru (#9859) web: bump API Client version (#9857) lib/sync/outgoing, sources/ldap: fix sync status endpoint (#9855) lifecycle/migrate: only acquire lock once (#9856) core: add option to select group for property mapping testing (#9834) policies: fix ak_call_policy failing when used in testing (#9853) website/integrations: gitlab: make placeholder clearer (#9838) core: bump requests from 2.31.0 to 2.32.2 (#9852) core: bump codespell from 2.2.6 to 2.3.0 (#9842) core: bump docker from 7.0.0 to 7.1.0 (#9843) translate: Updates for file web/xliff/en.xlf in zh-Hans (#9839) translate: Updates for file web/xliff/en.xlf in zh_CN (#9840) core: bump watchdog from 4.0.0 to 4.0.1 (#9845) website: bump @types/react from 18.3.2 to 18.3.3 in /website (#9841) core: bump sentry-sdk from 2.2.1 to 2.3.1 (#9844) core: bump goauthentik.io/api/v3 from 3.2024042.4 to 3.2024042.7 (#9846) web: bump chromedriver from 125.0.1 to 125.0.2 in /tests/wdio (#9847) web: bump @sentry/browser from 8.3.0 to 8.4.0 in /web in the sentry group (#9848) web: bump the storybook group in /web with 7 updates (#9849) ...
kensternberg-authentik
added a commit
that referenced
this pull request
Jul 5, 2024
* main: (1016 commits) website/docs: improve read replica docs (#9828) translate: Updates for file locale/en/LC_MESSAGES/django.po in ru (#9859) web: bump API Client version (#9857) lib/sync/outgoing, sources/ldap: fix sync status endpoint (#9855) lifecycle/migrate: only acquire lock once (#9856) core: add option to select group for property mapping testing (#9834) policies: fix ak_call_policy failing when used in testing (#9853) website/integrations: gitlab: make placeholder clearer (#9838) core: bump requests from 2.31.0 to 2.32.2 (#9852) core: bump codespell from 2.2.6 to 2.3.0 (#9842) core: bump docker from 7.0.0 to 7.1.0 (#9843) translate: Updates for file web/xliff/en.xlf in zh-Hans (#9839) translate: Updates for file web/xliff/en.xlf in zh_CN (#9840) core: bump watchdog from 4.0.0 to 4.0.1 (#9845) website: bump @types/react from 18.3.2 to 18.3.3 in /website (#9841) core: bump sentry-sdk from 2.2.1 to 2.3.1 (#9844) core: bump goauthentik.io/api/v3 from 3.2024042.4 to 3.2024042.7 (#9846) web: bump chromedriver from 125.0.1 to 125.0.2 in /tests/wdio (#9847) web: bump @sentry/browser from 8.3.0 to 8.4.0 in /web in the sentry group (#9848) web: bump the storybook group in /web with 7 updates (#9849) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Maybe fix the race conditions we've been seeing with migrations?
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)If applicable
make website)