Skip to content

Commit 04a9e6f

Browse files
committed
Add missing keywords to example job input, add use of podman when
present to test script.
1 parent 9ecce05 commit 04a9e6f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test/ogc_app/cwl_job_input.yml.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ stage_in:
1212
download_type: DAAC
1313
edl_username: "base64.standard_b64encode(username)"
1414
edl_password: "base64.standard_b64encode(password)"
15+
edl_password_type: BASE64
16+
unity_client_id: ""
17+
unity_stac_auth: ""
1518
stage_out: # Anonymous record type.
1619
collection_id: null
1720
staging_bucket: null

test/ogc_app/test_cwl.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,14 @@ done
4444
echo "Using modified job input file $modified_job_inp_file:"
4545
cat $modified_job_inp_file
4646

47+
# Detect if using Podman
48+
if [ ! -z "$(which podman)" ]; then
49+
use_podman_arg="--podman"
50+
fi
51+
4752
cwltool \
4853
--debug --leave-tmpdir --no-read-only \
54+
$use_podman_arg \
4955
"$WORKFLOW_FILENAME" "$modified_job_inp_file" \
5056
$*
5157

0 commit comments

Comments
 (0)