File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1159,7 +1159,7 @@ initial_cases:
11591159 priority : p1
11601160 docker_required : true
11611161 ts_cmd : " run-user-commands --workspace-folder ${WORKSPACE} --log-level trace --secrets-file ${SECRETS_FILE} --id-label parity.case=${PARITY_CASE_ID}-${PARITY_SIDE}"
1162- setup_cmd: "WORKSPACE=/tmp/parity-secrets-run-${PARITY_CASE_ID}-${PARITY_SIDE}; rm -rf ${WORKSPACE}; mkdir -p ${WORKSPACE}; cp -R src/test/container-features/configs/lifecycle-hooks-inline-commands/. ${WORKSPACE}; SECRETS_FILE=${WORKSPACE}/test-secrets-temp.json; printf '%s' '{\"SECRET1\":\"SecretValue1\",\"MASK_IT\":\"cycle\"}' > ${SECRETS_FILE}; if [ \"${PARITY_SIDE}\" = \"ts\" ]; then node ${PARITY_REPO_ROOT}/reference/devcontainer.js up --workspace-folder ${WORKSPACE} --log-level trace --secrets-file ${SECRETS_FILE} --skip-post-create --id-label parity.case=${PARITY_CASE_ID}-${PARITY_SIDE} --remove-existing-container >/dev/null; else ${PARITY_REPO_ROOT}/devcontainer up --workspace-folder ${WORKSPACE} --log-level trace --secrets-file ${SECRETS_FILE} --skip-post-create --id-label parity.case=${PARITY_CASE_ID}-${PARITY_SIDE} --remove-existing-container >/dev/null; fi; find ${WORKSPACE} -name '*.testMarker' -delete; echo WORKSPACE=$WORKSPACE; echo SECRETS_FILE=$SECRETS_FILE; CONTAINER_ID=$(docker ps -aq --filter label=parity.case=${PARITY_CASE_ID}-${PARITY_SIDE} | head -n1); echo CONTAINER_ID=$CONTAINER_ID"
1162+ setup_cmd: "WORKSPACE=/tmp/parity-secrets-run-${PARITY_CASE_ID}-${PARITY_SIDE}; rm -rf ${WORKSPACE}; mkdir -p ${WORKSPACE}; cp -R reference/src/test/container-features/configs/lifecycle-hooks-inline-commands/. ${WORKSPACE}; SECRETS_FILE=${WORKSPACE}/test-secrets-temp.json; printf '%s' '{\"SECRET1\":\"SecretValue1\",\"MASK_IT\":\"cycle\"}' > ${SECRETS_FILE}; if [ \"${PARITY_SIDE}\" = \"ts\" ]; then node ${PARITY_REPO_ROOT}/reference/devcontainer.js up --workspace-folder ${WORKSPACE} --log-level trace --secrets-file ${SECRETS_FILE} --skip-post-create --id-label parity.case=${PARITY_CASE_ID}-${PARITY_SIDE} --remove-existing-container >/dev/null; else ${PARITY_REPO_ROOT}/devcontainer up --workspace-folder ${WORKSPACE} --log-level trace --secrets-file ${SECRETS_FILE} --skip-post-create --id-label parity.case=${PARITY_CASE_ID}-${PARITY_SIDE} --remove-existing-container >/dev/null; fi; find ${WORKSPACE} -name '*.testMarker' -delete; echo WORKSPACE=$WORKSPACE; echo SECRETS_FILE=$SECRETS_FILE; CONTAINER_ID=$(docker ps -aq --filter label=parity.case=${PARITY_CASE_ID}-${PARITY_SIDE} | head -n1); echo CONTAINER_ID=$CONTAINER_ID"
11631163 verify_cmd : " cat ${WORKSPACE}/*.devContainer.postCreateCommand.testMarker | grep '^SECRET1=SecretValue1$'"
11641164 cleanup_cmd : " IDS=$(docker ps -aq --filter label=parity.case=${PARITY_CASE_ID}-${PARITY_SIDE}); [ -n \" $IDS\" ] && docker rm -f $IDS >/dev/null 2>&1 || true; rm -rf ${WORKSPACE}"
11651165 asserts : [exit_code, stdout_normalized]
@@ -1889,7 +1889,7 @@ initial_cases:
18891889 priority : p1
18901890 docker_required : true
18911891 ts_cmd : " up --workspace-folder ${WORKSPACE} --log-level trace --secrets-file ${SECRETS_FILE} --id-label parity.case=${PARITY_CASE_ID}-${PARITY_SIDE} --remove-existing-container"
1892- setup_cmd : " WORKSPACE=/tmp/parity-secrets-up-${PARITY_CASE_ID}-${PARITY_SIDE}; rm -rf ${WORKSPACE}; mkdir -p ${WORKSPACE}; cp -R src/test/container-features/configs/lifecycle-hooks-inline-commands/. ${WORKSPACE}; SECRETS_FILE=${WORKSPACE}/test-secrets-temp.json; printf '%s' '{\" SECRET1\" :\" SecretValue1\" }' > ${SECRETS_FILE}; echo WORKSPACE=$WORKSPACE; echo SECRETS_FILE=$SECRETS_FILE"
1892+ setup_cmd : " WORKSPACE=/tmp/parity-secrets-up-${PARITY_CASE_ID}-${PARITY_SIDE}; rm -rf ${WORKSPACE}; mkdir -p ${WORKSPACE}; cp -R reference/ src/test/container-features/configs/lifecycle-hooks-inline-commands/. ${WORKSPACE}; SECRETS_FILE=${WORKSPACE}/test-secrets-temp.json; printf '%s' '{\" SECRET1\" :\" SecretValue1\" }' > ${SECRETS_FILE}; echo WORKSPACE=$WORKSPACE; echo SECRETS_FILE=$SECRETS_FILE"
18931893 verify_cmd : " cat ${WORKSPACE}/*.devContainer.postCreateCommand.testMarker | grep '^SECRET1=SecretValue1$'"
18941894 cleanup_cmd : " docker rm -f ${CONTAINER_ID} >/dev/null 2>&1 || true; rm -rf ${WORKSPACE}"
18951895 asserts : [exit_code, stdout_normalized]
You can’t perform that action at this time.
0 commit comments