Task #6135

Story #6096: [OPS] Implement a process to regularly deploy a Docker image for running jobs to Arvados clusters

'docker' jenkins jobs has to tag with the git revision on push

Added by Nico César over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
05/22/2015
Due date:
% Done:

100%

Estimated time:

Associated revisions

Revision a1fe656e (diff)
Added by Nico Cesar over 6 years ago

added --tags support

refs #6135

Revision 845e3998
Added by Nico Cesar over 6 years ago

Merge branch '6135-docker-git-tag'

closes #6135

Conflicts:
jenkins/run-docker-tests.sh

Revision 845e3998
Added by Nico Cesar over 6 years ago

Merge branch '6135-docker-git-tag'

closes #6135

Conflicts:
jenkins/run-docker-tests.sh

History

#1 Updated by Nico César over 6 years ago

  • Status changed from New to In Progress
  • Start date set to 05/22/2015

mental note

ID=$(docker build -t creack/node .) # This build and tag the image with creack/node:latest
docker tag $ID creack/node:0.10.24  # Add a new tag

#2 Updated by Nico César over 6 years ago

I think the best place to do this is:

  • add a parameter --tags to run-docker-tests
  • "docker tag $ID" before the push
  • then push it

I'm undecided what to do if --upload isn't dhere

I don't know how to get the correct ID at this stage.

#3 Updated by Nico César over 6 years ago

added --tag support in 6096-docker-git-tag (arvados-dev)

#4 Updated by Anonymous over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Applied in changeset arvados-dev|commit:845e3998bb2b4175e947a20eea4ed530629a778b.

Also available in: Atom PDF