Skip to content

tests/e2e: add forward auth e2e test - #11374

Merged
BeryJu merged 17 commits into
mainfrom
tests/e2e/add-forward-auth-e2e-test
Oct 16, 2024
Merged

BeryJu merged 17 commits into
mainfrom
tests/e2e/add-forward-auth-e2e-test

Conversation

@BeryJu

@BeryJu BeryJu commented Sep 13, 2024

Copy link
Copy Markdown
Member

Details

These should've been added a long time ago tbh
Config based on https://github.com/goauthentik/testing-setups/tree/main


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 September 13, 2024 18:50
@netlify

netlify Bot commented Sep 13, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit ad47737
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/670fdaf2d54a5400089b877e

@netlify

netlify Bot commented Sep 13, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit ad47737
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/670fdaf263b33a00088a032a

@codecov

codecov Bot commented Sep 13, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.74%. Comparing base (01e7124) to head (ad47737).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11374      +/-   ##
==========================================
- Coverage   92.75%   92.74%   -0.01%     
==========================================
  Files         736      736              
  Lines       36609    36613       +4     
==========================================
+ Hits        33956    33958       +2     
- Misses       2653     2655       +2     
Flag Coverage Δ
e2e 49.37% <ø> (-0.01%) ⬇️
integration 24.96% <ø> (-0.01%) ⬇️
unit 90.20% <ø> (-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.

@BeryJu
BeryJu force-pushed the tests/e2e/add-forward-auth-e2e-test branch 2 times, most recently from 2a02cbd to 35e5352 Compare September 13, 2024 19:32
@github-actions

github-actions Bot commented Sep 13, 2024 •

Copy link
Copy Markdown
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-ad4773799d637e6eb63aad77353c26c07a558b19
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-ad4773799d637e6eb63aad77353c26c07a558b19-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-ad4773799d637e6eb63aad77353c26c07a558b19

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

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

@BeryJu
BeryJu requested a review from a team as a code owner September 18, 2024 14:48
@BeryJu
BeryJu force-pushed the tests/e2e/add-forward-auth-e2e-test branch from 1a06fbb to 89de199 Compare September 18, 2024 14:52
@BeryJu
BeryJu requested a review from a team as a code owner September 18, 2024 15:17
@BeryJu
BeryJu force-pushed the tests/e2e/add-forward-auth-e2e-test branch from 66f6b1d to da10ae1 Compare September 18, 2024 21:38
BeryJu added 15 commits October 16, 2024 16:50
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu force-pushed the tests/e2e/add-forward-auth-e2e-test branch from da10ae1 to 42f327e Compare October 16, 2024 14:50
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu merged commit 89f251d into main Oct 16, 2024
@BeryJu
BeryJu deleted the tests/e2e/add-forward-auth-e2e-test branch October 16, 2024 16:02
kensternberg-authentik added a commit that referenced this pull request Oct 18, 2024
* main: (68 commits)
  core: extract object matching from flow manager (#11458)
  admin: store version history (#11520)
  web: bump API Client version (#11706)
  providers/oauth2: add initial JWE support (#11344)
  core, web: update translations (#11703)
  tests/e2e: add forward auth e2e test (#11374)
  web/admin: fix duplicate flow labels (#11689)
  providers/saml: fix incorrect ds:Reference URI (#11699)
  website/docs: Fix websocket default config for nginx proxy manager (#11621)
  core, web: update translations (#11692)
  core: bump uvicorn from 0.31.1 to 0.32.0 (#11693)
  core: bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 (#11694)
  website/docs: add missing file to sidebar (#11695)
  website/docs: rewrote too long sentence (#11696)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#11697)
  translate: Updates for file web/xliff/en.xlf in fr (#11698)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#11683)
  core, web: update translations (#11682)
  core: bump github.com/getsentry/sentry-go from 0.29.0 to 0.29.1 (#11684)
  core: bump github.com/redis/go-redis/v9 from 9.6.1 to 9.6.2 (#11685)
  ...
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