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: fix test_docker.sh failing due to missing .env #12873

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

BeryJu
Copy link
Member

@BeryJu BeryJu commented Jan 29, 2025

Details

Script fails due to missing .env, and also fails if not run in a git repo


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 15:35
@BeryJu
Copy link
Member Author

BeryJu commented Jan 29, 2025

/cherry-pick version-2024.12

Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit d5f45a7
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/679a4adac148d10008382871

Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit d5f45a7
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/679a4adadddc14000865b509

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.76%. Comparing base (a10e6b7) to head (d5f45a7).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12873   +/-   ##
=======================================
  Coverage   92.75%   92.76%           
=======================================
  Files         769      769           
  Lines       38929    38929           
=======================================
+ Hits        36110    36113    +3     
+ Misses       2819     2816    -3     
Flag Coverage Δ
e2e 48.62% <ø> (+0.01%) ⬆️
integration 24.60% <ø> (ø)
unit 90.40% <ø> (+<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 merged commit e41d86b into main Jan 29, 2025
65 checks passed
@BeryJu BeryJu deleted the ci/fix-test_docker.sh branch January 29, 2025 15:58
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Jan 29, 2025
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-d5f45a7bec34e9d3aefb83a421c99c59402ddc79
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-d5f45a7bec34e9d3aefb83a421c99c59402ddc79

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

BeryJu added a commit that referenced this pull request Jan 29, 2025
… (#12874)

ci: fix test_docker.sh failing due to missing .env (#12873)

Signed-off-by: Jens Langhammer <[email protected]>
Co-authored-by: Jens L. <[email protected]>
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