Verified Commit 6e2667db authored by Volodymyr SAVCHENKO's avatar Volodymyr SAVCHENKO
Browse files

adapt reana

parent 0b39d10a
......@@ -143,7 +143,7 @@ function build() {
--from ${CC_BASE_IMAGE:?} \
--store-dockerfile /tmp/Dockerfile-auto \
--docker-run-prefix="mkdir -pv /home/oda; export HOME_OVERRRIDE=/home/oda; source /init.sh; " \
--docker-command='id; export HOME_OVERRRIDE=/tmp; mkdir -pv $HOME_OVERRRIDE; source /init.sh; source /etc/bashrc; oda-kb-eval /repo/'$ROOT_NB' $@'
--docker-command='id; export HOME_OVERRRIDE=/tmp; mkdir -pv $HOME_OVERRRIDE; source /init.sh; source /etc/bashrc; oda-kb-eval /repo/'$ROOT_NB' "$@"'
ls -ltr *cwl
)
set +x
......@@ -476,10 +476,11 @@ function submit-all-cases() {
}
function configure-reana() {
reana-client secrets-add --env MINIO_KEY=${MINIO_KEY:?this should be set}
reana-client secrets-add --env MINIO_URL=${MINIO_URL:?this should be set}
reana-client secrets-add --env MINIO_SECURE=${MINIO_SECURE:?this should be set}
reana-client secrets-add --env MINIO_USER=${MINIO_USER:-USER}
reana-client secrets-add --env MINIO_KEY=${MINIO_KEY:?this should be set} --overwrite
reana-client secrets-add --env MINIO_URL=${MINIO_URL:?this should be set} --overwrite
reana-client secrets-add --env MINIO_SECURE=${MINIO_SECURE:?this should be set} --overwrite
reana-client secrets-add --env MINIO_USER=${MINIO_USER:-USER} --overwrite
reana-client secrets-add --env ODA_TOKEN=${ODA_TOKEN:?} --overwrite
reana-client secrets-list
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment