Skip to content

Conversation

stof
Copy link
Member

@stof stof commented Oct 26, 2023

When working on #1596, I discovered that our makefile setups were not properly cleaning containers. So once you run the initialization once, any update of the image would not be taken into account unless containers are cleaned manually.

I also found some inconsistencies between which image was pulled and which image was actually used in some services, which I cleaned in this PR.

stof added 4 commits October 26, 2023 17:08
This ensures that starting the setup again picks up the new version of
the image during the next run.
The components should be pulling the images they launch and not a
different tag. And they should not try to start the shared localstack
container when the image they use is not localstack. Instead, the should
check for the shared container created by the root Makefile
Instead of having `make stop-docker` triggering the `clean` command
(which also triggers the cleaning of sub-services), it is now `clean`
which depends on `stop-docker` of the root repo.
This brings consistency with initialization commands. We now have a
symmetry between `initialize`/`clean` and `start-docker`/`stop-docker`.
@stof stof mentioned this pull request Oct 27, 2023
@jderusse jderusse merged commit da7ebb7 into async-aws:master Oct 27, 2023
@stof stof deleted the improve_makefile branch October 27, 2023 12:15
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