Skip to content

blueprints: fix API validation with OCI blueprint path#5822

Merged
BeryJu merged 1 commit intomainfrom
blueprints/fix-validation-for-oci
May 31, 2023
Merged

blueprints: fix API validation with OCI blueprint path#5822
BeryJu merged 1 commit intomainfrom
blueprints/fix-validation-for-oci

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented May 31, 2023

Details

closes #5813

Changes

New Features

  • Adds feature which does x, y, and z.

Breaking Changes

  • Adds breaking change which causes <issue>.

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)
  • The translation files have been updated (make i18n-extract)

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 May 31, 2023 12:21
@codecov
Copy link

codecov bot commented May 31, 2023

Codecov Report

Patch coverage: 90.91% and project coverage change: -0.01 ⚠️

Comparison is base (165305f) 92.61% compared to head (67b5bad) 92.59%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5822      +/-   ##
==========================================
- Coverage   92.61%   92.59%   -0.01%     
==========================================
  Files         549      549              
  Lines       26305    26326      +21     
==========================================
+ Hits        24360    24375      +15     
- Misses       1945     1951       +6     
Flag Coverage Δ
e2e 51.87% <45.46%> (+0.01%) ⬆️
integration 26.48% <27.28%> (-<0.01%) ⬇️
unit 89.45% <90.91%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
authentik/blueprints/v1/tasks.py 73.47% <50.00%> (+0.19%) ⬆️
authentik/blueprints/api.py 86.16% <100.00%> (+1.78%) ⬆️
authentik/blueprints/models.py 95.24% <100.00%> (ø)
authentik/blueprints/tests/test_v1_api.py 100.00% <100.00%> (ø)
authentik/blueprints/v1/oci.py 98.37% <100.00%> (+0.03%) ⬆️

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@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-blueprints-fix-validation-for-oci-1685536442-67b5bad
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-blueprints-fix-validation-for-oci-1685536442-67b5bad-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-blueprints-fix-validation-for-oci-1685536442-67b5bad

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-blueprints-fix-validation-for-oci-1685536442-67b5bad-arm64

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

@BeryJu BeryJu merged commit b6d3386 into main May 31, 2023
@BeryJu BeryJu deleted the blueprints/fix-validation-for-oci branch May 31, 2023 12:50
BeryJu added a commit that referenced this pull request May 31, 2023
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request May 31, 2023
* main:
  ci: build outpost binaries statically linked (#5823)
  blueprints: fix API validation with OCI blueprint path (#5822)
  ci: replace github bot account with github app (#5819)
  providers/ldap: fix LDAP Outpost application selection (#5812)
  website: handle go-get requests statically (#5821)
  web: bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0 in /web (#5816)
  core: bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#5818)
  web: bump pyright from 1.1.310 to 1.1.311 in /web (#5817)
  website: switch to selfhosted plausible
kensternberg-authentik added a commit that referenced this pull request Jun 1, 2023
* main:
  web: bump API Client version (#5826)
  release: 2023.5.3
  website/docs: prepare 2023.5.3 (#5824)
  ci: build outpost binaries statically linked (#5823)
  blueprints: fix API validation with OCI blueprint path (#5822)
  ci: replace github bot account with github app (#5819)
  providers/ldap: fix LDAP Outpost application selection (#5812)
  stages/deny: fix typos (#5800)
  web/flows: fix RedirectStage not detecting absolute URLs correctly (#5781)
kensternberg-authentik added a commit that referenced this pull request Jun 5, 2023
* main:
  ci: build outpost binaries statically linked (#5823)
  blueprints: fix API validation with OCI blueprint path (#5822)
  ci: replace github bot account with github app (#5819)
  providers/ldap: fix LDAP Outpost application selection (#5812)
  website: handle go-get requests statically (#5821)
  web: bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0 in /web (#5816)
  core: bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#5818)
  web: bump pyright from 1.1.310 to 1.1.311 in /web (#5817)
  website: switch to selfhosted plausible
kensternberg-authentik added a commit that referenced this pull request Jun 5, 2023
* main:
  web: bump API Client version (#5826)
  release: 2023.5.3
  website/docs: prepare 2023.5.3 (#5824)
  ci: build outpost binaries statically linked (#5823)
  blueprints: fix API validation with OCI blueprint path (#5822)
  ci: replace github bot account with github app (#5819)
  providers/ldap: fix LDAP Outpost application selection (#5812)
  stages/deny: fix typos (#5800)
  web/flows: fix RedirectStage not detecting absolute URLs correctly (#5781)
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.

OCI Blueprint file not found

1 participant