esnet-security / SCRAM

Security Catch and Release Automation Manager
Other
5 stars 0 forks source link

refactor(docker compose plugin): Move to using the docker compose plugin #22

Closed samoehlert closed 9 months ago

samoehlert commented 9 months ago

Standalone docker compose v1 we were using is deprecated. By updating the Makefile we can point to the right commands and continue to use the same Make targets in dev and via ansible deployment. Updating the .gitlab-ci.yml file to use a different image should get CI using the same version of docker compose as well.

Reordered the Makefile as well for easier understanding. Also removed an extraneous target that wasn't doing anything or working.

precommit and pyproject.toml changes were because precommit was failing not allowing any commits. These changes get it working again so we can continue committing the actual changes.