Skip to content

admin: monitor worker version #12463

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

Merged
merged 5 commits into from
Dec 23, 2024
Merged

admin: monitor worker version #12463

merged 5 commits into from
Dec 23, 2024

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Dec 23, 2024

Details

Monitor connected worker's versions to make sure they match the authentik instance's version.

cc @rissson


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>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested review from a team as code owners December 23, 2024 15:49
Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit df9a000
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6769b92b88a8ad0008c6c02e

Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit df9a000
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6769b92b0a5a3e00088c466e

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

Attention: Patch coverage is 61.53846% with 15 lines in your changes missing coverage. Please review.

Project coverage is 92.70%. Comparing base (d17f781) to head (df9a000).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/admin/signals.py 52.94% 8 Missing ⚠️
authentik/admin/api/workers.py 62.50% 6 Missing ⚠️
authentik/root/celery.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12463      +/-   ##
==========================================
- Coverage   92.79%   92.70%   -0.09%     
==========================================
  Files         770      770              
  Lines       38828    38859      +31     
==========================================
- Hits        36029    36026       -3     
- Misses       2799     2833      +34     
Flag Coverage Δ
e2e 48.61% <35.89%> (-0.12%) ⬇️
integration 24.59% <23.07%> (+<0.01%) ⬆️
unit 90.39% <61.53%> (-0.02%) ⬇️

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

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-df9a000d816968e5be6df1416d0bc5a3a9f40887
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-df9a000d816968e5be6df1416d0bc5a3a9f40887-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-df9a000d816968e5be6df1416d0bc5a3a9f40887

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-df9a000d816968e5be6df1416d0bc5a3a9f40887-arm64

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

@BeryJu BeryJu merged commit aa4f817 into main Dec 23, 2024
67 of 68 checks passed
@BeryJu BeryJu deleted the admin/monitor-worker-version branch December 23, 2024 21:13
kensternberg-authentik added a commit that referenced this pull request Jan 8, 2025
* main: (118 commits)
  outposts: fix version label (#12486)
  web: only load version context when authenticated (#12482)
  core: bump goauthentik.io/api/v3 from 3.2024120.2 to 3.2024121.2 (#12478)
  ci: bump helm/kind-action from 1.11.0 to 1.12.0 (#12479)
  web: fix build dev build (#12473)
  root: fix dev build version being invalid semver (#12472)
  internal: fix missing trailing slash in outpost websocket (#12470)
  web: bump API Client version (#12469)
  admin: monitor worker version (#12463)
  core: bump jinja2 from 3.1.4 to 3.1.5 (#12467)
  web: bump API Client version (#12468)
  release: 2024.12.1 (#12466)
  web: misc fixes for admin and flow inspector (#12461)
  website/docs: 2024.12.1 release notes (#12462)
  core: bump goauthentik.io/api/v3 from 3.2024120.1 to 3.2024120.2 (#12456)
  core: bump urllib3 from 2.2.3 to 2.3.0 (#12457)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#12454)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#12453)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#12455)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#12458)
  ...
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.

1 participant