From 7e0d0c8cd6d7fc1c3178d6a84b9a43c5ead5b2e8 Mon Sep 17 00:00:00 2001 From: Steven Murray <Steven.Murray@cern.ch> Date: Tue, 13 Feb 2018 23:47:46 +0100 Subject: [PATCH] Added sync::openw.default action to workflow --- .../docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh | 1 + continuousintegration/orchestration/create_instance.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh index 2633a7848a..1c7966ee40 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh @@ -8,6 +8,7 @@ eos attr set sys.acl=g:eosusers:rwx!d,u:poweruser1:rwx+dp,u:poweruser2:rwx+dp ${ eos attr set CTA_StorageClass=ctaStorageClass ${PREPROD_DIR} eos attr set CTA_TapeFsId=65535 ${PREPROD_DIR} +eos attr set sys.workflow.sync::openw.default="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR} eos attr set sys.workflow.closew.default="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR} eos attr set sys.workflow.closew.CTA_retrieve="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR} eos attr set sys.workflow.archived.default="proto:ctafrontend:10955 ctafrontend" ${PREPROD_DIR} diff --git a/continuousintegration/orchestration/create_instance.sh b/continuousintegration/orchestration/create_instance.sh index ea1b8439b6..855eb6ebbb 100755 --- a/continuousintegration/orchestration/create_instance.sh +++ b/continuousintegration/orchestration/create_instance.sh @@ -312,7 +312,7 @@ CTA_ENDPOINT=ctafrontend:10955 echo "Setting workflows in namespace ${instance} pod ctaeos:" CTA_WF_DIR=/eos/${EOSINSTANCE}/proc/cta/workflow -for WORKFLOW in closew.default archived.default sync::prepare.default closew.CTA_retrieve sync::delete.default +for WORKFLOW in sync::openw.default closew.default archived.default sync::prepare.default closew.CTA_retrieve sync::delete.default do echo "eos attr set sys.workflow.${WORKFLOW}=\"proto:${CTA_ENDPOINT} ctafrontend\" ${CTA_WF_DIR}" kubectl --namespace=${instance} exec ctaeos -- bash -c "eos attr set sys.workflow.${WORKFLOW}=\"proto:${CTA_ENDPOINT} ctafrontend\" ${CTA_WF_DIR}" -- GitLab