Project

General

Profile

Actions

Idea #16053

closed

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

Added by Tom Clegg about 4 years ago. Updated over 3 years ago.

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

Description

The dev/test mode should cover everything at Hacking prerequisites

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

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; arvados-server boot and run-tests.sh 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.

[Deferred] 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 1 (0 open1 closed)

Task #16099: Review 16053-install-depsResolvedTom Clegg03/31/2020Actions

Related issues

Related to Arvados Epics - Idea #15941: arvados-bootNewActions
Related to Arvados - Idea #16264: Handle R SDK dependencies betterResolvedWard VandewegeActions
Blocks Arvados - Bug #16267: arvbox build uses arvados-server installResolvedWard Vandewege09/24/2020Actions
Actions

Also available in: Atom PDF