-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always pull images in local runner (#279)
Fixes #259 This PR: - Instructs the local runner to always pull images. This makes sure that moving tags like `dev` or `latest` are up to date before running the pipeline. As far as I can tell from my testing, this doesn't cause a noticeable delay when the image was not updated. - Adds the pipeline name to the docker compose yaml and removes orphan containers. Containers are namespaced by the pipeline name, which defaults to the cwd if not specified. So I set the name explicitly so we don't accidentally remove containers from another pipeline.
- Loading branch information
1 parent
9364802
commit c180686
Showing
8 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/example_pipelines/compiled_pipeline/example_1/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: test_pipeline | ||
services: | ||
first_component: | ||
build: ./tests/example_pipelines/valid_pipeline/example_1 | ||
|
1 change: 1 addition & 0 deletions
1
tests/example_pipelines/compiled_pipeline/example_2/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: test_pipeline | ||
services: | ||
first_component: | ||
build: ./tests/example_pipelines/valid_pipeline/example_1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters