-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2786: download and install as separate tasks
- Loading branch information
1 parent
2835ed3
commit 4f3fd26
Showing
7 changed files
with
46 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,10 @@ | |
default = install_cold.sh | ||
|
||
[env] | ||
SITE=${SITE} | ||
MODULE_NAME=${MODULE_NAME} | ||
ESMVALTOOL_DIR = ${CYLC_SUITE_RUN_DIR}/ESMValTool | ||
ESMVALCORE_DIR = ${CYLC_SUITE_RUN_DIR}/ESMValCore | ||
ESMVALTOOL_URL = [email protected]:ESMValGroup/ESMValTool.git | ||
ESMVALCORE_URL = [email protected]:ESMValGroup/ESMValCore.git | ||
BRANCH = main | ||
ESMVALTOOL_DIR = ${CYLC_SUITE_RUN_DIR}/ESMValTool | ||
ESMVALCORE_DIR = ${CYLC_SUITE_RUN_DIR}/ESMValCore | ||
SITE=${SITE} |
16 changes: 16 additions & 0 deletions
16
.../recipe_run_workflow/recipe_run_workflow/app/install_esmvaltool/bin/install_esmvaltool.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# Send the output from 'set -x' to 'stdout' rather than 'stderr'. | ||
BASH_XTRACEFD=1 | ||
set -eux | ||
|
||
# install esmvaltool from main branch | ||
cd "${ESMVALTOOL_DIR}" | ||
pip install . --prefix="${CYLC_WORKFLOW_RUN_DIR}" | ||
|
||
# install esmvaltool from main branch | ||
cd "${ESMVALCORE_DIR}" | ||
pip install . --prefix="${CYLC_WORKFLOW_RUN_DIR}" | ||
|
||
# this currently fails due to permissions issues when trying to install. | ||
# currently assuming it is trying to overwrite something in the installed | ||
# scitools module? (the launch file from task 1) |
6 changes: 6 additions & 0 deletions
6
...altool/utils/recipe_run_workflow/recipe_run_workflow/app/install_esmvaltool/rose-app.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[command] | ||
default = install_esmvaltool.sh | ||
|
||
[env] | ||
ESMVALTOOL_DIR = ${CYLC_SUITE_RUN_DIR}/ESMValTool | ||
ESMVALCORE_DIR = ${CYLC_SUITE_RUN_DIR}/ESMValCore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
esmvaltool/utils/recipe_run_workflow/recipe_run_workflow/rose-suite.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[template variables] | ||
SITE="metoffice" | ||
MODULE_NAME="" | ||
MODULE_NAME="scitools" | ||
PYTHON_VERSION = 3.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters