Skip to content
Snippets Groups Projects
Commit e0a69443 authored by Sydney May's avatar Sydney May
Browse files

Merge branch 'easy-restart' into 'main'

Automate pipeline container removal and fix yaml issue

See merge request !8
parents 663458a5 a28045ce
1 merge request!8Automate pipeline container removal and fix yaml issue
#!/bin/bash #!/bin/bash
docker rm -f tutor-pipeline
mkdir -p "$(tutor plugins printroot)"/ mkdir -p "$(tutor plugins printroot)"/
cp plugin/pipeline-plugin.py "$(tutor plugins printroot)"/ cp plugin/pipeline-plugin.py "$(tutor plugins printroot)"/
tutor plugins enable pipeline-plugin tutor plugins enable pipeline-plugin
...@@ -7,4 +8,4 @@ cp "$(tutor config printroot)"/config.yml "$(tutor plugins printroot)"/templates ...@@ -7,4 +8,4 @@ cp "$(tutor config printroot)"/config.yml "$(tutor plugins printroot)"/templates
cp service/* "$(tutor plugins printroot)"/templates/pipeline-plugin/build/pipeline/ cp service/* "$(tutor plugins printroot)"/templates/pipeline-plugin/build/pipeline/
tutor config save tutor config save
tutor images build pipeline tutor images build pipeline
tutor local run -dp 12345:12345/tcp pipeline tutor local run --name tutor-pipeline -dp 12345:12345/tcp pipeline
\ No newline at end of file \ No newline at end of file
...@@ -21,8 +21,8 @@ hooks.Filters.ENV_PATCHES.add_item( ...@@ -21,8 +21,8 @@ hooks.Filters.ENV_PATCHES.add_item(
( (
"local-docker-compose-services", "local-docker-compose-services",
""" """
pipeline: pipeline:
image: pipeline:latest image: pipeline:latest
""" """
) )
) )
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment