Project

General

Profile

Actions

Bug #10718

open

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

Added by Nico César about 8 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
-
Release:
Release relationship:
Auto

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 over 7 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege over 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #3

Updated by Peter Amstutz almost 2 years ago

  • Release set to 60
Actions #4

Updated by Peter Amstutz 10 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF