-
Notifications
You must be signed in to change notification settings - Fork 58
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
Remove Docker Compose: "version" #2718
Conversation
687299c
to
b25e002
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've noticed this too a few days ago. Perhaps also apply this on the other Docker Compose files in the codebase too? (e.g. in the .ci
folders)
Yeah, I was doing that, but than the whole CI breaks (so far; I don't want to add all the bogus experiments to the history so I decided to overwrite them) -- hence drafting [WIP], I will throw it in the group "when it's done" ;) |
I guess we want to get rid of all the base files as they have no use anymore. |
Do we want to keep .ci/.ci/.env.test? It seems to be empty. |
Ready for merge, removed all This question remains, however (although not relevant to this patch per se):
|
If there are no references to it, then I suppose it can be removed |
Also added changes for the recipes of |
Decided to keep it for possible future variables we have to include |
78a4835
to
e61267f
Compare
e61267f
to
b27238f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍 If we somehow find a way later to avoid specifying --project-directory
, that would be my preference
…rsion_is_obsolete
@@ -60,7 +60,7 @@ migrate: ## Run alembic migrations | |||
##|------------------------------------------------------------------------| | |||
|
|||
test: utest itest ## Run all tests. | |||
ci-docker-compose := docker compose -f base.yml -f .ci/docker-compose.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By changing the paths in the compose file you can sometimes resolve this already even without the --project-directory 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure what you mean @Donnype, can you be more specific?
- You want to change the path inside the compose file (tried that with
context
wasn't trivial to get to work...)? - You want to change the path of the compose file?
--project-directory string Specify an alternate working directory
(default: the path of the, first specified, Compose file)
…rsion_is_obsolete
* main: (51 commits) Fix static files for container images/Debian packages when DEBUG is on (#2742) OOI selection at Aggregate report does not remember changed selection (#2619) fix schema errors on empty / missing schemas (#2744) Updated `phonenumbers` and `django-phonenumber-field` (#2757) Remove octopoes coverage workflow (#2755) Bump actions/configure-pages from 4 to 5 (#2745) Add xtdb-cli tool to Octopoes (#2733) Dont report vulnerabilities without version info of the software for snyk (#2730) Feature/boefjes to oci images (#2709) Query non-reference fields and subclass-specific fields through path queries (#2662) Fix in System Specific (#2732) Plugins overview in appendix not showing any plugins (#2694) Feat stepper design v2 (#2704) Undo project-directory in Rocky (#2734) Remove Docker Compose: "version" (#2718) Upgrade `pre-commit` hooks (#2729) Fix #1739 (#2705) Improve generate report (#2633) Fix critical vulnerability counter (#2712) Fix pdf alignment (#2674) ...
Changes
Remove Docker Compose: "version"
docker/compose#11628
Issue link
This is a trivial patch without an issue, making an issue would be superfluous be a superfluous burden for everybody involved.
Demo
N/A
Code Checklist
Communication
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.