Bug #10718

add a --user-script option to install-arvados-jobs-image

Added by Nico C├ęsar about 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
12/13/2016
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

looking at

https://github.com/curoverse/arvados-dev/blob/master/jenkins/install-arvados-jobs-image

I need a --user-script parameter to add a script to run locally inside the a container of the image downloaded from hub.docker.com and before it's uploaded to keep.

install-arvados-jobs-image --git-commit b8e3dea8979a7dbbdb62b8ecd47f7094a7f0863c --user-script nico-monkey-patching.sh
  1. make sure and nico-monkey-patching.sh is in the local dir befor doing anything
  2. docker pull arvados/jobs:b8e3dea8979a7dbbdb62b8ecd47f7094a7f0863c
  3. docker run arvados/jobs:b8e3dea8979a7dbbdb62b8ecd47f7094a7f0863c -name happy_monkey
  4. docker cp nico-monkey-patching.sh happy_monkey
  5. docker exec happy_monkey /nico-monkey-patching.sh
  6. ... the rest of the script with arv-keepdocker + docker tag

History

#1 Updated by Tom Morris over 1 year ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF