run 'start-UoW' job in docker container
Unfortunately the MiCADO management scripts 1-submit-adt.sh
, 2-delete-beast.sh
, 3-check-status.sh
have some dependencies that are not always installed on hosts. Specifically:
- curl
- jq
We should either build or find an suitable image containing these dependencies already so that we run our MiCADO orchestration within a docker container.
Fortunately, for now we are still installing build, configure and deploy dependencies (including JQ and curl) on the host due to #39 so this is not urgent
Definition of Done:
IDEA 1, (more work, more maintenance, runs faster)
-
either build or find a light weight docker image containing curl and jq -
run the content on start-UoW gitlab-ci job inside a docker container using that image
IDEA 2: (less work, less maintenance, slow because deps install on every run) (blocked by #39)
-
move the content of start-UoW into it's own script in /bin
-
add dependency installation to the new script -
run that script in a generic docker containing using a generic debian image
hints:
Maybe we should just maintain one build/configure/deploy docker image with all our dependencies, then run each stage of the deployment with that image