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

chore: start command validate exclude arguments #2697

Merged
merged 4 commits into from
Sep 20, 2024

Conversation

avallete
Copy link
Member

What kind of change does this PR introduce?

When providing --exclude flags, check the arguments match actuals images names show a warning otherwise.
Also fix a bug where stack couldnt start if storage was enabled in config but excluded in the arguments

Related: https://www.notion.so/supabase/exclude-doesnt-seem-to-work-f38b8444b62f4308aef657a52d51692b

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Screenshot 2024-09-19 at 15 33 59

Additional context

Also might be worth considering allowing to alias between config services names and "containers exclusions" names. As it's not clear for instance that "gotrue" container relate to the "auth" service.

When providing --exclude flags, check the arguments match actuals images names
show a warning otherwise. Also fix a bug where stack couldnt start if
storage was enabled in config but excluded in the arguments

Related: https://www.notion.so/supabase/exclude-doesnt-seem-to-work-f38b8444b62f4308aef657a52d51692b
@avallete avallete requested a review from a team as a code owner September 19, 2024 13:35
Copy link

@coveralls
Copy link

coveralls commented Sep 19, 2024

Pull Request Test Coverage Report for Build 10960007617

Details

  • 3 of 22 (13.64%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 60.022%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/start.go 0 19 0.0%
Totals Coverage Status
Change from base Build 10959895693: -0.1%
Covered Lines: 6456
Relevant Lines: 10756

💛 - Coveralls

internal/start/start.go Show resolved Hide resolved
internal/start/start.go Outdated Show resolved Hide resolved
cmd/start.go Outdated Show resolved Hide resolved
@avallete avallete merged commit e6ec6ac into develop Sep 20, 2024
9 checks passed
@avallete avallete deleted the avallete/chore-start-command-validate-exclude-names branch September 20, 2024 14:10
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