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

Fix CI #29

Merged
merged 9 commits into from
Feb 24, 2023
Merged

Fix CI #29

merged 9 commits into from
Feb 24, 2023

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Feb 24, 2023

This fixes CI by doing the following:

  • Upgrade golangci-lint version
  • Fix linting issues
  • Fix devcontainer setup
  • Add Makefile targets to spawn compose environment through the CLI
  • compose: Take container conditions into account
  • Use tag v22.2.5 for crdb
  • Ensure dev container starts where the repo is mounted.
  • Run unit tests in devcontainer

Signed-off-by: Juan Antonio Osorio <[email protected]>
Signed-off-by: Juan Antonio Osorio <[email protected]>
The devcontainer.json file actually had the environment. this fixes that
and provides an appropraite devcontainer.json file.

Signed-off-by: Juan Antonio Osorio <[email protected]>
This ensures we don't needlessly wait for a container if it was a
one-shot container.

Signed-off-by: Juan Antonio Osorio <[email protected]>
Signed-off-by: Juan Antonio Osorio <[email protected]>
This ensures it has access to the rest of the utilities like spicedb

Signed-off-by: Juan Antonio Osorio <[email protected]>
Copy link
Contributor

@fishnix fishnix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@@ -45,13 +46,14 @@ services:
env_file:
- .env
depends_on:
- "create_databases"
create_databases:
condition: service_completed_successfully
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooo fancy 💅

@JAORMX JAORMX merged commit 39c53fa into infratographer:main Feb 24, 2023
@JAORMX JAORMX deleted the fix-ci branch February 24, 2023 13:17
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.

2 participants