Skip to content

Commit

Permalink
Add missing keywords to example job input, add use of podman when
Browse files Browse the repository at this point in the history
present to test script.
  • Loading branch information
mcduffie committed Jul 11, 2024
1 parent 9ecce05 commit 04a9e6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/ogc_app/cwl_job_input.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ stage_in:
download_type: DAAC
edl_username: "base64.standard_b64encode(username)"
edl_password: "base64.standard_b64encode(password)"
edl_password_type: BASE64
unity_client_id: ""
unity_stac_auth: ""
stage_out: # Anonymous record type.
collection_id: null
staging_bucket: null
Expand Down
6 changes: 6 additions & 0 deletions test/ogc_app/test_cwl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,14 @@ done
echo "Using modified job input file $modified_job_inp_file:"
cat $modified_job_inp_file

# Detect if using Podman
if [ ! -z "$(which podman)" ]; then
use_podman_arg="--podman"
fi

cwltool \
--debug --leave-tmpdir --no-read-only \
$use_podman_arg \
"$WORKFLOW_FILENAME" "$modified_job_inp_file" \
$*

Expand Down

0 comments on commit 04a9e6f

Please sign in to comment.