authentik icon indicating copy to clipboard operation
authentik copied to clipboard

sources/oauth: add gitlab type [AUTH-323]

Open smusali opened this issue 1 year ago • 6 comments
trafficstars

Details

REPLACE ME


Checklist

  • [x] Local tests pass (ak test authentik/)
  • [x] The code has been formatted (make lint-fix)

If an API change has been made

  • [x] The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • [x] The code has been formatted (make web)
  • [x] The translation files have been updated (make i18n-extract)

If applicable

  • [ ] The documentation has been updated
  • [x] The documentation has been formatted (make website)

smusali avatar Jan 16 '24 12:01 smusali

Deploy Preview for authentik-storybook ready!

Name Link
Latest commit 1639d3723a60c502f2a88ebe8d2aa918803e1e0a
Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/65e088f4a383230008205584
Deploy Preview https://deploy-preview-8195--authentik-storybook.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[bot] avatar Jan 16 '24 12:01 netlify[bot]

Codecov Report

Attention: Patch coverage is 96.15385% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 64.36%. Comparing base (cef1d2d) to head (54e197f). Report is 235 commits behind head on main.

:exclamation: Current head 54e197f differs from pull request most recent head 1639d37. Consider uploading reports for the commit 1639d37 to get more accurate results

Files Patch % Lines
authentik/sources/oauth/types/gitlab.py 95.23% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8195       +/-   ##
===========================================
+ Coverage   46.62%   64.36%   +17.74%     
===========================================
  Files         626      493      -133     
  Lines       30996    24854     -6142     
===========================================
+ Hits        14451    15997     +1546     
+ Misses      16545     8857     -7688     
Flag Coverage Δ
e2e 62.40% <96.15%> (+17.68%) :arrow_up:
integration 32.47% <96.15%> (+6.48%) :arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jan 16 '24 12:01 codecov[bot]

authentik translations instructions

Thanks for your pull request!

authentik translations are handled using Transifex. Please edit translations over there and they'll be included automatically.

github-actions[bot] avatar Jan 16 '24 12:01 github-actions[bot]

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-1639d3723a60c502f2a88ebe8d2aa918803e1e0a
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-1639d3723a60c502f2a88ebe8d2aa918803e1e0a-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-1639d3723a60c502f2a88ebe8d2aa918803e1e0a

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-1639d3723a60c502f2a88ebe8d2aa918803e1e0a-arm64

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

github-actions[bot] avatar Jan 16 '24 12:01 github-actions[bot]

Deploy Preview for authentik ready!

Name Link
Latest commit cdd103c55f87b590d361f9375a562652b4d115e2
Latest deploy log https://app.netlify.com/sites/authentik/deploys/65d34eeaeef2b200081861b3
Deploy Preview https://deploy-preview-8195--authentik.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[bot] avatar Jan 22 '24 12:01 netlify[bot]

Deploy Preview for authentik-docs ready!

Name Link
Latest commit 1639d3723a60c502f2a88ebe8d2aa918803e1e0a
Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/65e088f4f19c6000080dcc28
Deploy Preview https://deploy-preview-8195--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[bot] avatar Feb 29 '24 13:02 netlify[bot]