Skip to content

lifecycle: build binary dependencies which link against SSL directly - #12724

Merged
BeryJu merged 22 commits into
mainfrom
lifecycle/install-no-binary-deps-directly
Jan 21, 2025
Merged

BeryJu merged 22 commits into
mainfrom
lifecycle/install-no-binary-deps-directly

Conversation

@BeryJu

@BeryJu BeryJu commented Jan 17, 2025

Copy link
Copy Markdown
Member

Details

closes #12639


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 review from a team as code owners January 17, 2025 13:35
@netlify

netlify Bot commented Jan 17, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit a2e1229
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/678fa7a6de84550008c64de7
😎 Deploy Preview https://deploy-preview-12724--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 site configuration.

@netlify

netlify Bot commented Jan 17, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit a2e1229
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/678fa7a6dac35a00088a2b84

@codecov

codecov Bot commented Jan 17, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.77%. Comparing base (236455f) to head (a2e1229).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12724      +/-   ##
==========================================
+ Coverage   92.76%   92.77%   +0.01%     
==========================================
  Files         769      769              
  Lines       38898    38898              
==========================================
+ Hits        36083    36088       +5     
+ Misses       2815     2810       -5     
Flag Coverage Δ
e2e 48.63% <ø> (+0.05%) ⬆️
integration 24.62% <ø> (ø)
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 force-pushed the lifecycle/install-no-binary-deps-directly branch from c8aa116 to fa76fd3 Compare January 20, 2025 20:18
@github-actions

github-actions Bot commented Jan 20, 2025 •

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

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

@BeryJu
BeryJu force-pushed the lifecycle/install-no-binary-deps-directly branch 2 times, most recently from a52b705 to c5541da Compare January 20, 2025 23:20
BeryJu added 20 commits January 21, 2025 14:52
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]>
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 lifecycle/install-no-binary-deps-directly branch from 824ab1e to a2e1229 Compare January 21, 2025 13:56
@BeryJu
BeryJu requested a review from a team as a code owner January 21, 2025 13:56

@tanberry tanberry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So @BeryJu one no longer needs to add-arm64 to the tag name (no spaces)? Will it break anything if the tag remains? If so, we need to add this to Rel Notes or somewhere, correct?

@BeryJu

BeryJu commented Jan 21, 2025

Copy link
Copy Markdown
Member Author

/cherry-pick version-2024.12

@BeryJu
BeryJu merged commit faab182 into main Jan 21, 2025
@BeryJu
BeryJu deleted the lifecycle/install-no-binary-deps-directly branch January 21, 2025 14:36
@gcp-cherry-pick-bot

Copy link
Copy Markdown
Contributor

Cherry-pick failed with Merge error faab1824047167f70e2ee4b8386b1a2e32a3b801 into temp-cherry-pick-6810c9-version-2024.12

BeryJu added a commit that referenced this pull request Jan 21, 2025
…12724)

* lifecycle: install binary dependencies in dockerfile directly

Signed-off-by: Jens Langhammer <[email protected]>

* install ua-parser-builtins manually as its only distributed as binary

Signed-off-by: Jens Langhammer <[email protected]>

* build duo_client from scratch, sigh

Signed-off-by: Jens Langhammer <[email protected]>

* deps for kadmin

Signed-off-by: Jens Langhammer <[email protected]>

* ok fine

Signed-off-by: Jens Langhammer <[email protected]>

* run on arm runner?

Signed-off-by: Jens Langhammer <[email protected]>

* fix yaml format

Signed-off-by: Jens Langhammer <[email protected]>

* rewrite release pipeline to use re-usable workflows

Signed-off-by: Jens Langhammer <[email protected]>

* fix typo

Signed-off-by: Jens Langhammer <[email protected]>

* re-usable multi-arch build?

Signed-off-by: Jens Langhammer <[email protected]>

* also add suffix for amd64

Signed-off-by: Jens Langhammer <[email protected]>

* parameterise image name

Signed-off-by: Jens Langhammer <[email protected]>

* re-use workflow for CI images...?

Signed-off-by: Jens Langhammer <[email protected]>

* fix missing checkout

Signed-off-by: Jens Langhammer <[email protected]>

* inherit secrets

Signed-off-by: Jens Langhammer <[email protected]>

* temp build directly

Signed-off-by: Jens Langhammer <[email protected]>

* get cache-to from python script

Signed-off-by: Jens Langhammer <[email protected]>

* better name?

Signed-off-by: Jens Langhammer <[email protected]>

* matrix for merging images?

Signed-off-by: Jens Langhammer <[email protected]>

* re-add build dep

Signed-off-by: Jens Langhammer <[email protected]>

* use multi-image tag

Signed-off-by: Jens Langhammer <[email protected]>

* include arch in buildcache

Signed-off-by: Jens Langhammer <[email protected]>

---------

Signed-off-by: Jens Langhammer <[email protected]>
# Conflicts:
#	.github/workflows/ci-main.yml
#	.github/workflows/release-publish.yml
kensternberg-authentik added a commit that referenced this pull request Jan 21, 2025
* main: (65 commits)
  stages/redirect: fix query parameter when redirecting to flow (#12750)
  website/integrations: cloudflare-access: refactor (#12663)
  sources/kerberos: handle principal expire time (#12748)
  lifecycle: build binary dependencies which link against SSL directly (#12724)
  website/docs: style guide: document styling preferences for URLs (#12715)
  website/integrations: nextcloud: fix broken link (#12744)
  core: bump selenium from 4.27.1 to 4.28.0 (#12745)
  lifecycle: move AWS CFN generation to lifecycle and fix CI (#12743)
  core: search users' attributes (#12740)
  web/components: ak-number-input: add support for min (#12703)
  website/integrations: nextcloud: fix url for "disable username changes" (#12725)
  core: bump pytest-github-actions-annotate-failures from 0.2.0 to 0.3.0 (#12735)
  website: bump katex from 0.16.11 to 0.16.21 in /website (#12731)
  web: bump katex from 0.16.11 to 0.16.21 in /web (#12730)
  website/integrations: Fix URL for authentik installation instead of mobilizon installation (#12729)
  core: bump debugpy from 1.8.11 to 1.8.12 (#12718)
  core: bump ruff from 0.9.1 to 0.9.2 (#12717)
  core: bump webauthn from 2.4.0 to 2.5.0 (#12719)
  core: bump structlog from 24.4.0 to 25.1.0 (#12720)
  website/integrations: all: install -> installation (#12676)
  ...
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.

OpenSSL internal error: FATAL FIPS SELFTEST FAILURE

3 participants