Skip to content

ci: run tests in the server image - #26510

Merged
emilburzo merged 5 commits into
mainfrom
container-test-kit
Oct 21, 2026
Merged

emilburzo merged 5 commits into
mainfrom
container-test-kit

Conversation

@emilburzo

Copy link
Copy Markdown
Member

No description provided.

@emilburzo emilburzo self-assigned this Sep 28, 2026
@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 949e7c1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6acf347b2e16f88c8b3b3ce8
😎 Deploy Preview https://deploy-preview-26510--authentik-storybook.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 project configuration.

@emilburzo
emilburzo added this pull request to stack #26511 September 28, 2026 16:50
@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 949e7c1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6acf347bfc4d70c488ffba44
😎 Deploy Preview https://deploy-preview-26510--authentik-integrations.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 project configuration.

@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 949e7c1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6acf347bda60263783e3ac95
😎 Deploy Preview https://deploy-preview-26510--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 project configuration.

@codecov

codecov Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.37%. Comparing base (0643bba) to head (c16c6bd).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #26510   +/-   ##
=======================================
  Coverage   92.36%   92.37%           
=======================================
  Files        1189     1189           
  Lines       80134    80137    +3     
  Branches     4351     4351           
=======================================
+ Hits        74019    74023    +4     
+ Misses       6049     6048    -1     
  Partials       66       66           
Flag Coverage Δ
conformance 32.31% <0.00%> (+<0.01%) ⬆️
e2e 36.99% <0.00%> (-0.01%) ⬇️
integration 29.19% <0.00%> (+<0.01%) ⬆️
rust 44.42% <ø> (ø)
unit 94.02% <100.00%> (+<0.01%) ⬆️
unit-migrate 94.01% <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 Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 39631667567 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

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

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

@emilburzo
emilburzo force-pushed the container-test-kit branch 3 times, most recently from 17fbce9 to b5c05e7 Compare September 29, 2026 11:34
@emilburzo emilburzo changed the title ci: run tests on the distroless server image ci: run tests in the server image Oct 1, 2026
@emilburzo
emilburzo force-pushed the container-test-kit branch 2 times, most recently from 28f3a2d to 4c0c23f Compare October 1, 2026 14:39
@emilburzo
emilburzo marked this pull request as ready for review October 1, 2026 14:44
@emilburzo
emilburzo requested review from a team as code owners October 1, 2026 14:44
@emilburzo
emilburzo requested a review from BeryJu October 13, 2026 16:15
@emilburzo
emilburzo force-pushed the container-test-kit branch 2 times, most recently from 949e7c1 to 7a6acbc Compare October 14, 2026 09:06
Base automatically changed from distroless-entrypoint to main October 14, 2026 10:43
@BeryJu
BeryJu force-pushed the container-test-kit branch from 7a6acbc to 59b9dab Compare October 14, 2026 10:43
@emilburzo
emilburzo force-pushed the container-test-kit branch 4 times, most recently from e2822bf to 1be57a2 Compare October 14, 2026 17:59
return safe_load((REPO_ROOT / "locales.yaml").read_text())["locales"]


@skipUnless((REPO_ROOT / "locales.yaml").exists(), "Requires the repository checkout")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is a repo-only relevant check AFAICT, so we skip it in the tests that run in the image (would also affect the release build)

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Oct 21, 2026
@emilburzo
emilburzo merged commit 5ed2214 into main Oct 21, 2026
160 checks passed
@emilburzo
emilburzo deleted the container-test-kit branch October 21, 2026 16:42
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Oct 21, 2026
kensternberg-authentik added a commit that referenced this pull request Oct 22, 2026
* main: (21 commits)
  root: require Node.js 24.22.1 (#27093)
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  website/docs: add release notes for `2026.8.5` (#27084)
  website/docs: add release notes for `2026.5.8` (#27083)
  core, web: update translations (#27035)
  core: bump twilio from 9.11.2 to 9.12.0 (#27081)
  core: bump cachetools from 7.2.2 to 7.2.3 (#27082)
  core: bump paramiko from 5.0.0 to 5.0.1 (#27080)
  ...
kensternberg-authentik added a commit that referenced this pull request Oct 22, 2026
…ts/sidebar-api-disconnect

* web/elements/sidebar-footer-dependency: (27 commits)
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  web/elements: test that ak-mdx does not evaluate API-supplied content (#24524)
  root: require Node.js 24.22.1 (#27093)
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
* main: (1416 commits)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  core: bump djangorestframework from 3.18.1 to 3.18.3 (#26838)
  website/docs: add release notes for `2026.8.5` (#27084)
  website/docs: add release notes for `2026.5.8` (#27083)
  core, web: update translations (#27035)
  core: bump twilio from 9.11.2 to 9.12.0 (#27081)
  core: bump cachetools from 7.2.2 to 7.2.3 (#27082)
  core: bump paramiko from 5.0.0 to 5.0.1 (#27080)
  core: bump ruff from 0.17.0 to 0.17.1 (#27077)
  lib/tracing: fix sentry tracing when otel is enabled (#27066)
  website/integrations: audiobookshelf: Fix Post Logout URI (#27074)
  web/user: fix agents tab flashing without license (#27069)
  root: bump cert-related deps due to emudhra (#27068)
  web: fix table fetch races and search select e2e lookups (#27059)
  core: bump astral-sh/uv from 0.13.1 to 0.13.3 in /lifecycle/container (#27037)
  policies: fix warning from setting non-string tracing data (#27062)
  root: annotate hot paths (#27052)
  website/docs: contributing: add guidelines for vendor contributions (#27032)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
…single-shadowdom-sidebar

* web/elements/sidebar-api-disconnect: (28 commits)
  Fix some merge issues.
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  web/elements: test that ak-mdx does not evaluate API-supplied content (#24524)
  root: require Node.js 24.22.1 (#27093)
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: change routing info after 2026.8 changes (#27109)
  core: bump astral-sh/uv from 0.13.4 to 0.13.5 in /lifecycle/container (#27096)
  flows: avoid saving plan history when inspector inaccessible (#27089)
  core: bump pyo3 from 0.29.0 to 0.30.1 (#27099)
  core: bump arc-swap from 1.9.2 to 1.9.3 (#27098)
  core: bump pyroscope-io from 1.2.5 to 1.3.0 (#27100)
  core: bump pyo3-build-config from 0.29.0 to 0.30.1 (#27097)
  core: bump dexidp/dex from v2.46.0 to v2.46.1 in /tests/e2e (#27095)
  website/integrations: VCF 9: touch up (#27094)
  lifecycle/container: add a distroless version of the server image (#26321)
  ci: run tests in the server image (#26510)
  packages/client-ts: Generate imports with `.js` extensions (#27029)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants