Skip to content

root: docker-compose: remove version top level element#9631

Merged
BeryJu merged 1 commit intogoauthentik:mainfrom
dominic-r:docker-compose/rm-top-level-element-version
May 22, 2024
Merged

root: docker-compose: remove version top level element#9631
BeryJu merged 1 commit intogoauthentik:mainfrom
dominic-r:docker-compose/rm-top-level-element-version

Conversation

@dominic-r
Copy link
Copy Markdown
Member

Details

This pull request removes the version top level element from the docker-compose.yml as it causes an unnecessary warning that can be avoided. See https://github.com/compose-spec/compose-spec/blob/master/04-version-and-name.md


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)

@dominic-r dominic-r requested a review from a team as a code owner May 7, 2024 21:34
@netlify
Copy link
Copy Markdown

netlify bot commented May 7, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 6e823b2
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/664252e1e994020008540b96

@netlify
Copy link
Copy Markdown

netlify bot commented May 7, 2024

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 6e823b2
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/664252e1a7e1880008b485fc
😎 Deploy Preview https://deploy-preview-9631--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.

@rissson
Copy link
Copy Markdown
Member

rissson commented May 13, 2024

There are other places where we can remove this as like, such as https://docs.goauthentik.io/docs/outposts/manual-deploy-docker-compose

@dominic-r dominic-r requested a review from a team as a code owner May 13, 2024 15:16
@dominic-r
Copy link
Copy Markdown
Member Author

dominic-r commented May 13, 2024

There are other places where we can remove this as like, such as https://docs.goauthentik.io/docs/outposts/manual-deploy-docker-compose

I think this should be all of them. Searched with file name instead of something like version in my first commit

@dominic-r dominic-r requested review from a team as code owners May 13, 2024 17:38
@dominic-r
Copy link
Copy Markdown
Member Author

dominic-r commented May 13, 2024

... (forgot to git pull / rebase issues)

@dominic-r dominic-r closed this May 13, 2024
@dominic-r dominic-r reopened this May 13, 2024
@rissson rissson requested a review from BeryJu May 13, 2024 19:44
@codecov
Copy link
Copy Markdown

codecov bot commented May 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.38%. Comparing base (ed214b4) to head (6e823b2).
Report is 43 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9631      +/-   ##
==========================================
+ Coverage   92.35%   92.38%   +0.03%     
==========================================
  Files         688      704      +16     
  Lines       33639    34401     +762     
==========================================
+ Hits        31068    31783     +715     
- Misses       2571     2618      +47     
Flag Coverage Δ
e2e 49.66% <ø> (+0.16%) ⬆️
integration 25.36% <ø> (-0.29%) ⬇️
unit 89.82% <ø> (+0.03%) ⬆️

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 changed the title docker-compose: remove version top level element root: docker-compose: remove version top level element May 22, 2024
@BeryJu BeryJu merged commit 73cbdb7 into goauthentik:main May 22, 2024
@dominic-r dominic-r deleted the docker-compose/rm-top-level-element-version branch May 22, 2024 10:54
kensternberg-authentik added a commit that referenced this pull request May 24, 2024
* main: (36 commits)
  ci: use container registry for container build cache (#9809)
  core: bump lxml from 5.2.1 to 5.2.2 (#9717)
  web: bump mermaid from 10.9.0 to 10.9.1 in /web (#9734)
  core: bump scim2-filter-parser from 0.5.0 to 0.5.1 (#9730)
  web: bump core-js from 3.37.0 to 3.37.1 in /web (#9733)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#9729)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN (#9802)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans (#9803)
  core: bump sentry-sdk from 2.2.0 to 2.2.1 (#9807)
  web: bump the storybook group in /web with 7 updates (#9804)
  web: bump glob from 10.3.15 to 10.3.16 in /web (#9805)
  root: docker-compose: remove version top level element (#9631)
  core, web: update translations (#9790)
  web: bump API Client version (#9801)
  web/admin: rework initial wizard pages and add grid layout (#9668)
  website/integrations: discord: fix typo (#9800)
  website/integration/netbox: fix group custom pipeline example (#9738)
  root: add primary-replica db router (#9479)
  website/integrations: add three more policy-expressions to discord-docs (#5760)
  website/integrations: netbox: add missing scope configuration (#9491)
  ...
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.

3 participants