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

Validate docker-compose files in CI #2812

Closed
humphd opened this issue Feb 3, 2022 · 0 comments · Fixed by #3845
Closed

Validate docker-compose files in CI #2812

humphd opened this issue Feb 3, 2022 · 0 comments · Fixed by #3845
Assignees
Labels
area: CI/CD Continuous integration / Continuous delivery type: enhancement New feature or request type: nice to have Feature that'd be nice to have, but not a priority

Comments

@humphd
Copy link
Contributor

humphd commented Feb 3, 2022

I ran into an issue tonight with an error in our docker-compose files (#2810), and the fix was trivial (#2811) once I knew what I was looking for.

Validating a docker-compose file or files is easy using the config command:

docker-compose -f docker/docker-compose.yml -f docker/production.yml -f docker/supabase/docker-compose.yml config

This will print any warnings or errors, and fail if the file(s) isn't valid.

I wonder if we should add this locally to our linting, or to CI somehow?

@humphd humphd added the type: enhancement New feature or request label Feb 3, 2022
@TueeNguyen TueeNguyen self-assigned this Feb 3, 2022
@RC-Lee RC-Lee added this to the 2.9 Release milestone Mar 15, 2022
@TueeNguyen TueeNguyen removed their assignment Mar 15, 2022
@JerryHue JerryHue added 5 min fix Fixable in 5 minutes or less area: CI/CD Continuous integration / Continuous delivery type: nice to have Feature that'd be nice to have, but not a priority and removed 5 min fix Fixable in 5 minutes or less labels Mar 22, 2022
@nguyenhung15913 nguyenhung15913 removed this from the 3.0-alpha Release milestone Mar 29, 2022
@manekenpix manekenpix self-assigned this Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CI/CD Continuous integration / Continuous delivery type: enhancement New feature or request type: nice to have Feature that'd be nice to have, but not a priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants