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

website: enable docusaurus faster option #12326

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Dec 11, 2024

Details

Now that the OpenAPI plugin we use is update, we can enable this

(both on Apple M1 Pro 10 core)

Before:

________________________________________________________
Executed in  168.26 secs    fish           external
   usr time  286.63 secs   52.00 micros  286.63 secs
   sys time   24.98 secs  529.00 micros   24.98 secs

After:

________________________________________________________
Executed in   85.23 secs    fish           external
   usr time  116.19 secs    0.09 millis  116.19 secs
   sys time   16.43 secs    2.73 millis   16.43 secs

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 <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner December 11, 2024 14:11
Copy link

netlify bot commented Dec 11, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 51f4bf1
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6759bf77dd9a5100080a2bfb

Copy link

netlify bot commented Dec 11, 2024

Deploy Preview for authentik-docs failed. Why did it fail? →

Name Link
🔨 Latest commit 51f4bf1
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6759bf771681da0008ad7271

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.61%. Comparing base (006766c) to head (51f4bf1).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12326      +/-   ##
==========================================
- Coverage   92.68%   92.61%   -0.08%     
==========================================
  Files         762      762              
  Lines       38238    38238              
==========================================
- Hits        35442    35414      -28     
- Misses       2796     2824      +28     
Flag Coverage Δ
e2e 48.96% <ø> (-0.07%) ⬇️
integration 24.72% <ø> (ø)
unit 90.22% <ø> (ø)

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 <jens@goauthentik.io>
Copy link
Contributor

@tanberry tanberry left a comment

Choose a reason for hiding this comment

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

Whoot and Yay for faster!

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the website/enable-docusaurus-faster branch from 915a652 to 5247ee6 Compare December 11, 2024 15:17
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Copy link
Contributor

github-actions bot commented Dec 11, 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-51f4bf183beba6ad91c2b413b0d224f4d4db4eeb
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-51f4bf183beba6ad91c2b413b0d224f4d4db4eeb-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
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-51f4bf183beba6ad91c2b413b0d224f4d4db4eeb

For arm64, use these values:

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-51f4bf183beba6ad91c2b413b0d224f4d4db4eeb-arm64

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

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
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