Skip to content

core: fix task clean_expiring_models removing valid sessions with using database storage (cherry-pick #9598)#9601

Merged
BeryJu merged 1 commit intoversion-2024.4from
cherry-pick-81d024-version-2024.4
May 6, 2024
Merged

core: fix task clean_expiring_models removing valid sessions with using database storage (cherry-pick #9598)#9601
BeryJu merged 1 commit intoversion-2024.4from
cherry-pick-81d024-version-2024.4

Conversation

@gcp-cherry-pick-bot
Copy link
Copy Markdown
Contributor

Cherry-picked core: fix task clean_expiring_models removing valid sessions with using database storage (#9598)

@gcp-cherry-pick-bot gcp-cherry-pick-bot bot requested a review from a team as a code owner May 6, 2024 12:02
@rissson rissson enabled auto-merge (squash) May 6, 2024 12:03
@netlify
Copy link
Copy Markdown

netlify bot commented May 6, 2024

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 0942455
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6638c6c57c18630008a7c5eb
😎 Deploy Preview https://deploy-preview-9601--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.

@codecov
Copy link
Copy Markdown

codecov bot commented May 6, 2024

Codecov Report

Attention: Patch coverage is 15.00000% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 48.87%. Comparing base (90fe1ed) to head (0942455).

Files Patch % Lines
authentik/core/tasks.py 15.00% 17 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##           version-2024.4    #9601       +/-   ##
===================================================
- Coverage           92.51%   48.87%   -43.65%     
===================================================
  Files                 669      669               
  Lines               32878    32889       +11     
===================================================
- Hits                30417    16074    -14343     
- Misses               2461    16815    +14354     
Flag Coverage Δ
e2e 47.41% <15.00%> (-3.09%) ⬇️
integration 25.92% <15.00%> (+<0.01%) ⬆️
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BeryJu BeryJu merged commit 225d02d into version-2024.4 May 6, 2024
@BeryJu BeryJu deleted the cherry-pick-81d024-version-2024.4 branch May 6, 2024 12:09
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 6, 2024

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-09424556c883329cea5eae22cde4eab53ec866b2
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-09424556c883329cea5eae22cde4eab53ec866b2-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:

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-09424556c883329cea5eae22cde4eab53ec866b2

For 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-09424556c883329cea5eae22cde4eab53ec866b2-arm64

Afterwards, run the upgrade commands from the latest release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants