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

lifecycle: better pre release test #12806

Merged
merged 5 commits into from
Jan 25, 2025
Merged

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Jan 24, 2025

Details

Add script to run pre-release docker tests locally
also fixes a bug that tries to install wheels that no longer exist


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu BeryJu requested review from a team as code owners January 24, 2025 23:32
Copy link

netlify bot commented Jan 24, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit a5db8d8
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6794255b03b96a00085e782b

Copy link

netlify bot commented Jan 24, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit a5db8d8
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6794255b07594900082f0bf1

@BeryJu
Copy link
Member Author

BeryJu commented Jan 24, 2025

/cherry-pick version-2024.12

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.76%. Comparing base (62187e6) to head (a5db8d8).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12806      +/-   ##
==========================================
- Coverage   92.77%   92.76%   -0.02%     
==========================================
  Files         769      769              
  Lines       38920    38922       +2     
==========================================
- Hits        36109    36105       -4     
- Misses       2811     2817       +6     
Flag Coverage Δ
e2e 48.62% <100.00%> (-0.02%) ⬇️
integration 24.61% <100.00%> (-0.01%) ⬇️
unit 90.39% <100.00%> (-0.01%) ⬇️

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.

Signed-off-by: Jens Langhammer <[email protected]>
Copy link
Contributor

github-actions bot commented Jan 25, 2025

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-a5db8d85a1a63da9ce828eaffdef0136572384e2
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
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-a5db8d85a1a63da9ce828eaffdef0136572384e2

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

@BeryJu BeryJu merged commit d3d6040 into main Jan 25, 2025
72 checks passed
@BeryJu BeryJu deleted the lifecycle/better-pre-release-test branch January 25, 2025 00:38
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Jan 25, 2025
* move pre-release docker test to script

Signed-off-by: Jens Langhammer <[email protected]>

* set pipefail in ak

Signed-off-by: Jens Langhammer <[email protected]>

* don't reinstall wheels since they don't exist anymore

Signed-off-by: Jens Langhammer <[email protected]>

* fix image

Signed-off-by: Jens Langhammer <[email protected]>

* fix config error on startup

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Jens Langhammer <[email protected]>
BeryJu added a commit that referenced this pull request Jan 25, 2025
lifecycle: better pre release test (#12806)

* move pre-release docker test to script



* set pipefail in ak



* don't reinstall wheels since they don't exist anymore



* fix image



* fix config error on startup



---------

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
@@ -1,4 +1,5 @@
#!/usr/bin/env -S bash -e
#!/usr/bin/env -S bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-S is no longer required here

@@ -0,0 +1,18 @@
#!/bin/bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#!/usr/bin/env bash 👀

kensternberg-authentik added a commit that referenced this pull request Jan 27, 2025
* main: (26 commits)
  website: bump docusaurus-plugin-openapi-docs from 4.3.1 to 4.3.2 in /website (#12844)
  core: bump aws-cdk-lib from 2.176.0 to 2.177.0 (#12842)
  lifecycle/aws: bump aws-cdk from 2.176.0 to 2.177.0 in /lifecycle/aws (#12845)
  web: Fix issue where Codemirror partially applies OneDark theme. (#12811)
  ci: fix container build always attempting to push (#12810)
  lifecycle: better pre release test (#12806)
  rbac: exclude permissions for internal models (#12803)
  web: bump store2 from 2.14.3 to 2.14.4 in /web (#12805)
  website: integrations-all: update doc titles to start with "integrate with" (#12775)
  web/flows: fix `login` / `log in` inconsistency (#12526)
  flows: clear flow state before redirecting to final URL (#12788)
  core: bump goauthentik.io/api/v3 from 3.2024122.2 to 3.2024122.3 (#12793)
  core: bump kubernetes from 31.0.0 to 32.0.0 (#12794)
  core: bump pydantic from 2.10.5 to 2.10.6 (#12795)
  core: bump msgraph-sdk from 1.17.0 to 1.18.0 (#12796)
  core: bump selenium from 4.28.0 to 4.28.1 (#12797)
  core: bump ruff from 0.9.2 to 0.9.3 (#12798)
  website/integrations: Add troubleshooting part to Synology guide (#12681)
  core: fix permissions for admin device listing (#12787)
  website/docs: Flesh out Google Workspaces SAML. (#12701)
  ...
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