Skip to content

ci: fix checkout stable - #18303

Merged
gergosimonyi merged 1 commit into
mainfrom
ci/fix-checkout-stable
Nov 20, 2025
Merged

gergosimonyi merged 1 commit into
mainfrom
ci/fix-checkout-stable

Conversation

@gergosimonyi

Copy link
Copy Markdown
Member

If you don't happen to read the logs of this step, everything seems fine and git checkout $(prev_stable) is just interpreted as the no-op git checkout. That's because $() spawns a subshell and subshell errors don't stop execution on set -eo pipefail. In fact, a quick search didn't reveal any way to catch this typo with set.

I wonder how long this could have stayed hidden if I wasn't specifically looking at this workflow for a completely different reason.

If you don't happen to read the logs of this step, everything seems
fine and `git checkout $(prev_stable)` is just interpreted as the
no-op `git checkout`. That's because `$()` spawns a subshell and
subshell errors don't stop execution on `set -eo pipefail`. In fact, a
quick search didn't reveal any way to catch this typo with `set`.

I wonder how long this could have stayed hidden if I wasn't specifically
looking at this workflow for a completely different reason.
@netlify

netlify Bot commented Nov 20, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations canceled.

Name Link
🔨 Latest commit d62a9fc
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/691f96e631f5040008d963a7

@netlify

netlify Bot commented Nov 20, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit d62a9fc
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/691f96e641770300075d0be3

@netlify

netlify Bot commented Nov 20, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit d62a9fc
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/691f96e6a89e5d000822ab83
😎 Deploy Preview https://deploy-preview-18303--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 Nov 20, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.93%. Comparing base (e9c2e10) to head (d62a9fc).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #18303   +/-   ##
=======================================
  Coverage   92.92%   92.93%           
=======================================
  Files         894      894           
  Lines       48919    48919           
=======================================
+ Hits        45457    45461    +4     
+ Misses       3462     3458    -4     
Flag Coverage Δ
e2e 45.38% <ø> (+0.38%) ⬆️
integration 23.08% <ø> (-0.06%) ⬇️
unit 91.11% <ø> (+<0.01%) ⬆️
unit-migrate 91.16% <ø> (+<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.

@github-actions

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

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

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Nov 20, 2025
@gergosimonyi
gergosimonyi merged commit fc9d534 into main Nov 20, 2025
@gergosimonyi
gergosimonyi deleted the ci/fix-checkout-stable branch November 20, 2025 23:45
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Nov 20, 2025
gergosimonyi added a commit that referenced this pull request Jan 14, 2026
Fixes the fix at #18303

This fails on version branches that already have releases, because the
version tag is named `version/${numbers}`, not just ${numbers}.
gergosimonyi added a commit that referenced this pull request Jan 14, 2026
Fixes the fix at #18303

This fails on version branches that already have releases, because the
version tag is named `version/${numbers}`, not just `${numbers}`.
BeryJu added a commit that referenced this pull request Jan 15, 2026
* ci: fix checkout stable (again)

Fixes the fix at #18303

This fails on version branches that already have releases, because the
version tag is named `version/${numbers}`, not just `${numbers}`.

* lint by human

Thank you <3

Co-authored-by: Jens L. <[email protected]>
Signed-off-by: Simonyi Gergő <[email protected]>

---------

Signed-off-by: Simonyi Gergő <[email protected]>
Co-authored-by: Jens L. <[email protected]>
BeryJu added a commit that referenced this pull request Jan 15, 2026
* ci: fix checkout stable (again)

Fixes the fix at #18303

This fails on version branches that already have releases, because the
version tag is named `version/${numbers}`, not just `${numbers}`.

* lint by human

Thank you <3

Co-authored-by: Jens L. <[email protected]>
Signed-off-by: Simonyi Gergő <[email protected]>

---------

Signed-off-by: Simonyi Gergő <[email protected]>
Co-authored-by: Jens L. <[email protected]>
BeryJu added a commit that referenced this pull request Jan 15, 2026
* ci: fix checkout stable (again)

Fixes the fix at #18303

This fails on version branches that already have releases, because the
version tag is named `version/${numbers}`, not just `${numbers}`.

* lint by human

Thank you <3




---------

Signed-off-by: Simonyi Gergő <[email protected]>
Co-authored-by: Simonyi Gergő <[email protected]>
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.

3 participants