diff --git a/init-pipeline.sh b/init-pipeline.sh index d9f21e444bb4b2092f008e11bd84f87962e095d0..6262405ecada3e6edff897e2f87d96c4c0914a82 100755 --- a/init-pipeline.sh +++ b/init-pipeline.sh @@ -1,4 +1,5 @@ #!/bin/bash +docker rm -f tutor-pipeline mkdir -p "$(tutor plugins printroot)"/ cp plugin/pipeline-plugin.py "$(tutor plugins printroot)"/ tutor plugins enable pipeline-plugin @@ -7,4 +8,4 @@ cp "$(tutor config printroot)"/config.yml "$(tutor plugins printroot)"/templates cp service/* "$(tutor plugins printroot)"/templates/pipeline-plugin/build/pipeline/ tutor config save tutor images build pipeline -tutor local run -dp 12345:12345/tcp pipeline \ No newline at end of file +tutor local run --name tutor-pipeline -dp 12345:12345/tcp pipeline \ No newline at end of file diff --git a/plugin/pipeline-plugin.py b/plugin/pipeline-plugin.py index f871099a5ba2b00e5476a3e7afe7ad5602afbc3f..388f7ef513fa32ea81ec25e984b29ff5793dd837 100644 --- a/plugin/pipeline-plugin.py +++ b/plugin/pipeline-plugin.py @@ -21,8 +21,8 @@ hooks.Filters.ENV_PATCHES.add_item( ( "local-docker-compose-services", """ - pipeline: - image: pipeline:latest - """ +pipeline: + image: pipeline:latest +""" ) )