Skip to content

Commit 620185b

Browse files
committed
fix test: add docker to input json for workflow tests
1 parent 28caf5a commit 620185b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,17 @@ commands:
5959
6060
echo ${GCLOUD_SERVICE_ACCOUNT_SECRET_JSON} > tmp_secret_key.json
6161
export GOOGLE_APPLICATION_CREDENTIALS=$PWD/tmp_secret_key.json
62+
63+
# add docker image to input JSON
64+
cat ${INPUT} | jq ".+{\"chip.docker\": \"${TAG}\"}" > input_with_docker.json
65+
6266
caper run ../../../chip.wdl \
6367
--backend gcp --gcp-prj ${GOOGLE_PROJECT_ID} \
6468
--gcp-service-account-key-json $PWD/tmp_secret_key.json \
6569
--out-gcs-bucket ${CAPER_OUT_DIR} --tmp-gcs-bucket ${CAPER_TMP_DIR} \
66-
-i ${INPUT} -m metadata.json --docker ${TAG}
70+
-i input_with_docker.json -m metadata.json --docker ${TAG}
71+
72+
rm -f input_with_docker.json
6773
6874
res=$(jq '.outputs["chip.qc_json_ref_match"]' metadata.json)
6975
[[ "$res" != true ]] && exit 100

0 commit comments

Comments
 (0)