Project

General

Profile

Actions

Bug #10718

open

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

Added by Nico César over 5 years ago. Updated 12 months 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
Actions #1

Updated by Tom Morris almost 5 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege 12 months ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF