Skip to content

root: fix container build#8727

Merged
BeryJu merged 2 commits intomainfrom
root/fix-container-build
Feb 28, 2024
Merged

root: fix container build#8727
BeryJu merged 2 commits intomainfrom
root/fix-container-build

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Feb 28, 2024

Details

Due to some change in poetry (I assume https://github.com/python-poetry/poetry/releases/tag/1.8.0?) it was no longer enough to call poetry from a python interpreter from a virtualenv, but requires activating the virtualenv


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 February 28, 2024 11:54
@netlify
Copy link

netlify bot commented Feb 28, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 8f3b35f
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/65df2e24041b2f0008e6822a

@netlify
Copy link

netlify bot commented Feb 28, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 8f3b35f
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/65df2e2411ea6e0008e2e804

@BeryJu
Copy link
Member Author

BeryJu commented Feb 28, 2024

/cherry-pick version-2024.2

@github-actions
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-ghcr.io/goauthentik/dev-server:gh-dcf948420db1ac8d1e333156bc256a7844814e6a
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-ghcr.io/goauthentik/dev-server:gh-dcf948420db1ac8d1e333156bc256a7844814e6a-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
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-dcf948420db1ac8d1e333156bc256a7844814e6a

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-dcf948420db1ac8d1e333156bc256a7844814e6a-arm64

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

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu merged commit 59b5c21 into main Feb 28, 2024
@BeryJu BeryJu deleted the root/fix-container-build branch February 28, 2024 13:14
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Feb 28, 2024
* root: fix container build

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

* run pip in venv too

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

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
rissson pushed a commit that referenced this pull request Feb 28, 2024
Co-authored-by: Jens L <jens@goauthentik.io>
fix container build (#8727)
kensternberg-authentik added a commit that referenced this pull request Feb 28, 2024
* main: (26 commits)
  stages/authenticator_webauthn: fix error when enrolling new device (#8738)
  website/docs: s3: fix migration docs (#8735)
  providers/oauth2: fix offline_access requests when prompt doesn't include consent (#8731)
  ci: fix missing DOCKER_USERNAME secret (#8730)
  website: post-split cleanup (#8729)
  website: bump @types/react from 18.2.58 to 18.2.60 in /website (#8714)
  core: bump pydantic from 2.6.1 to 2.6.3 (#8715)
  core: bump sentry-sdk from 1.40.5 to 1.40.6 (#8716)
  web: bump the sentry group in /web with 1 update (#8717)
  web: bump style-mod from 4.1.0 to 4.1.1 in /web (#8718)
  core: bump github.com/go-openapi/strfmt from 0.22.0 to 0.22.1 (#8719)
  core: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 (#8720)
  root: fix container build (#8727)
  website/docs: s3: fix environment variables (#8722)
  enterprise: force license usage update after change to license (#8723)
  ci: do not push docker image if fork (#8724)
  translate: Updates for file web/xliff/en.xlf in fr (#8710)
  website/integrations: add documentation for OIDC setup with Paperless-ngx (#8538)
  translate: Updates for file web/xliff/en.xlf in zh_CN (#8705)
  translate: Updates for file web/xliff/en.xlf in zh-Hans (#8706)
  ...
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