Install all detector versions in a single image
Reduce complexity of the multiple almost-identical images by installing all detector versions in the main image. Proposed install scheme (that keeps backward compatibility):
/opt/detector/lib --> /opt/detector/athena-nighlty/lib
/opt/detector/share --> /opt/detector/athena-nightly/share
/opt/detector/setup.sh --> /opt/detector/athena-nightly/setup.sh
/opt/detector/athena-nightly
/opt/detector/athena-nightly/lib
/opt/detector/athena-nightly/share
/opt/detector/athena-nighlty/setup.sh
/opt/detector/athena-acadia --> /opt/detector/athena-acadia-vX.X
/opt/detector/athena-acadia-vX.X
/opt/detector/athena-acadia-vX.X/lib
/opt/detector/athena-acadia-vX.X/share
/opt/detector/athena-acadia-vX.X/setup.sh
/opt/detector/athena-canyonlands --> /opt/detector/athena-acadia-vX.X
/opt/detector/athena-canyonlands-vX.X
/opt/detector/athena-canyonlands-vX.X/lib
/opt/detector/athena-canyonlands-vX.X/share
/opt/detector/athena-canyonlands-vX.X/setup.sh
We can define the versions as a single bash array in the global variables field:
ATHENA_VERSIONS: "acadia:acadia-v2.1:ip6-v0.5.2;canyonlands:canyonlands-v1.1:ip6-v0.6"
And for convenience, include a bash script to parse/execute this (and append nightly:master:ip6-master
for nightly builds).
The top level variables should symlink against the last requested ATHENA_VERSION (master
for nightly
, canyonlands
for stable
).
Edited by Sylvester Joosten