Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor commands #1004

Merged
merged 6 commits into from
Jul 18, 2024
Merged

Refactor commands #1004

merged 6 commits into from
Jul 18, 2024

Conversation

synfinatic
Copy link
Owner

  • move ecs setup to setup
  • use kong.AfterApply() to determine auth/no auth
  • fix docker start command

This moves the decision wether or not we should require
a valid SSO session to the command and away from the main()
function for better maintainability.
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.17%. Comparing base (9802074) to head (0a7f885).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1004   +/-   ##
=======================================
  Coverage   84.17%   84.17%           
=======================================
  Files          42       42           
  Lines        3071     3071           
=======================================
  Hits         2585     2585           
  Misses        393      393           
  Partials       93       93           
Flag Coverage Δ
unittests 84.17% <ø> (ø)

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


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9802074...0a7f885. Read the comment docs.

- improve version command
- improve --level flag validation
- improve naming of runCtx.Auth constants to be more clear
@synfinatic synfinatic merged commit 81e0984 into main Jul 18, 2024
7 checks passed
@synfinatic synfinatic deleted the move-ecs-setup branch July 18, 2024 20:33
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.

1 participant