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

ci: run full docker test suite in built image on a schedule #12863

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Jan 29, 2025

Details

Add a CI job that runs the full test suite in the actual release containers, on a schedule


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)

@BeryJu BeryJu requested a review from a team as a code owner January 29, 2025 01:41
Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 60c36d3
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6799873823afc6000851b78d

Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 60c36d3
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/679987384aaba500081f1db7

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.75%. Comparing base (645323c) to head (60c36d3).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12863      +/-   ##
==========================================
- Coverage   92.77%   92.75%   -0.02%     
==========================================
  Files         769      769              
  Lines       38929    38929              
==========================================
- Hits        36115    36108       -7     
- Misses       2814     2821       +7     
Flag Coverage Δ
e2e 48.62% <ø> (+0.04%) ⬆️
integration 24.60% <ø> (ø)
unit 90.39% <ø> (ø)

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.

Copy link
Contributor

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-60c36d3d04b194d4ad8c2a4b9eaefe5366addc03
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-60c36d3d04b194d4ad8c2a4b9eaefe5366addc03

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

matrix:
version:
- docs
- version-2024-12
Copy link
Member

Choose a reason for hiding this comment

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

We should probably add to the release checklist that this needs to be updated as well

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I have some plans for automating and centralising that

@BeryJu BeryJu merged commit a10e6b7 into main Jan 29, 2025
73 checks passed
@BeryJu BeryJu deleted the ci/scheduled-docker-tests branch January 29, 2025 13:45
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