Skip to content

Commit b7e388e

Browse files
author
Matthias Wittgen
committed
Add graphviz if not installed in rubin-env
1 parent 1e8d92a commit b7e388e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pipelines/lib/util.groovy

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ def runDocumenteer(Map p) {
12451245
'eupsTag',
12461246
])
12471247
p = [
1248-
docImage: 'lsstsqre/documenteer-base',
1248+
docImage: null,
12491249
docPull: false,
12501250
] + p
12511251

@@ -1269,8 +1269,12 @@ def runDocumenteer(Map p) {
12691269
dir(p.docTemplateDir) {
12701270
bash '''
12711271
source /opt/lsst/software/stack/loadLSST.bash
1272-
export PATH="${HOME}/.local/bin:${PATH}"
1272+
command -v dot || mamba create -y --prefix=${HOME}/graphviz graphviz
1273+
mamba activate ${HOME}/graphviz
1274+
mamba activate --stack ${LSST_CONDA_ENV_NAME}
1275+
dot -V
12731276
pip install --upgrade --user -r requirements.txt
1277+
export PATH="${HOME}/.local/bin:${PATH}"
12741278
setup -r . -t "$EUPS_TAG"
12751279
build-stack-docs -d . -v
12761280
'''

0 commit comments

Comments
 (0)