Story #16053

[boot] subcommand to install/update dev and runtime dependencies

Added by Tom Clegg 27 days ago. Updated 6 days ago.

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

0%

Estimated time:
(Total: 0.00 h)
Story points:
4.0

Description

The dev/test mode should cover everything at Hacking prerequisites

The non-dev/test mode should omit things like Go and phantomjs

By default, if anything needs to be done as root, complain and exit; if "root" command-line option is given,

Dev mode should install symlinks in /usr/local/bin so the developer can run phantomjs, passenger, keepstore, etc. easily. Conflicting contents of /usr/local/bin (which aren't symlinks to /var/lib/arvados) should be reported as an error.

All modes should install dependencies in /var/lib/arvados, and arvados-server boot should prefer to run binaries from there. For example, presence of an old version of ruby in /usr/local shouldn't break (or be broken by) anything in Arvados.

Before downloading anything (like ruby 2.5.5 source code), check /var/lib/arvados/archives first. This allows a workaround for packages that aren't available from the usual source, and allows testing without repetitive downloading.

References

arvbox dependency install:

https://dev.arvados.org/projects/arvados/repository/revisions/master/entry/tools/arvbox/lib/arvbox/docker/Dockerfile.base

the jenkins worker image install:

:packer.git/jenkins/run_jenkins-slave-image-run-tests.sh


Subtasks

Task #16099: ReviewNewPeter Amstutz


Related issues

Related to Arvados Epics - Story #15941: arvados-bootIn Progress01/15/202004/15/2020

History

#1 Updated by Tom Clegg 27 days ago

#2 Updated by Tom Clegg 27 days ago

  • Description updated (diff)

#3 Updated by Tom Clegg 27 days ago

  • Story points set to 4.0
  • Assigned To set to Tom Clegg

#4 Updated by Tom Clegg 27 days ago

  • Target version set to 2020-02-12 Sprint

#5 Updated by Tom Clegg 27 days ago

  • Description updated (diff)

#6 Updated by Peter Amstutz 27 days ago

  • Description updated (diff)

#7 Updated by Peter Amstutz 27 days ago

  • Description updated (diff)

#8 Updated by Tom Clegg 6 days ago

  • Target version changed from 2020-02-12 Sprint to 2020-02-26 Sprint

Also available in: Atom PDF