-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into wx_927_moar_labels
- Loading branch information
Showing
12 changed files
with
134 additions
and
6 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
centaur/src/main/resources/standardTestCases/gcpbatch_requester_pays_engine_functions.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: gcpbatch_requester_pays_engine_functions | ||
testFormat: workflowsuccess | ||
backends: [GCPBATCHRequesterPays] | ||
workflowType: WDL | ||
workflowTypeVersion: 1.0 | ||
tags: ["wdl_1.0"] | ||
|
||
files { | ||
workflow: requester_pays_gcs/engine_functions.wdl | ||
options: requester_pays_gcs/gcpbatch_engine_functions.options | ||
} | ||
|
||
metadata { | ||
workflowName: requester_pays_engine_functions | ||
status: Succeeded | ||
} |
16 changes: 16 additions & 0 deletions
16
centaur/src/main/resources/standardTestCases/gcpbatch_requester_pays_localization.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: gcpbatch_requester_pays_localization | ||
testFormat: workflowsuccess | ||
backends: [GCPBATCHRequesterPays] | ||
workflowType: WDL | ||
workflowTypeVersion: 1.0 | ||
tags: ["wdl_1.0"] | ||
|
||
files { | ||
workflow: requester_pays_gcs/localization.wdl | ||
options: requester_pays_gcs/gcpbatch_localization.options | ||
} | ||
|
||
metadata { | ||
workflowName: requester_pays_localization | ||
status: Succeeded | ||
} |
18 changes: 18 additions & 0 deletions
18
...r/src/main/resources/standardTestCases/gcpbatch_requester_pays_localization_negative.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: gcpbatch_requester_pays_localization_negative | ||
testFormat: workflowfailure | ||
# GCPBATCH backend configured SA does not have permission to bill the project, so this workflow should fail | ||
backends: [GCPBATCH] | ||
workflowType: WDL | ||
workflowTypeVersion: 1.0 | ||
tags: ["wdl_1.0"] | ||
|
||
files { | ||
workflow: requester_pays_gcs/localization.wdl | ||
} | ||
|
||
metadata { | ||
workflowName: requester_pays_localization | ||
status: Failed | ||
"failures.0.message": "Workflow failed" | ||
"failures.0.causedBy.0.message": ~~"Job failed due to task failure. Specifically, task with index 0 failed due to the following task event: \"Task state is updated from RUNNING to FAILED" | ||
} |
31 changes: 31 additions & 0 deletions
31
centaur/src/main/resources/standardTestCases/hello_docker_image_format_v1.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 'Hello world' for a public image in Docker v1 manifest format. | ||
name: hello_docker_image_format_v1 | ||
testFormat: workflowsuccess | ||
backends: [Papiv2, GCPBATCH] | ||
|
||
# Attempting to pull locally I get an exit code 1, no image pulled, and the following output: | ||
# % docker pull "ubuntu:utopic-20150319" | ||
# utopic-20150319: Pulling from library/ubuntu | ||
# | ||
# What's next: | ||
# View a summary of image vulnerabilities and recommendations → docker scout quickview ubuntu:utopic-20150319 | ||
# [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/library/ubuntu:utopic-20150319 to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/ | ||
# | ||
# Also: | ||
# % docker scout quickview ubuntu:utopic-20150319 | ||
# ✗ Pull failed | ||
# ERROR Status: failed to get image ubuntu:utopic-20150319: failed to pull image ubuntu:utopic-20150319: unsupported MediaType: "application/vnd.docker.distribution.manifest.v1+prettyjws", see https://github.com/google/go-containerregistry/issues/377, Code: 1 | ||
|
||
files { | ||
workflow: hello_docker_image_format_v1/hello_docker_image_format_v1.wdl | ||
inputs: hello/hello.inputs | ||
} | ||
|
||
metadata { | ||
workflowName: wf_hello | ||
status: Succeeded | ||
"calls.wf_hello.hello.executionStatus": Done | ||
"calls.wf_hello.hello.runtimeAttributes.docker": "ubuntu:utopic-20150319" | ||
"outputs.wf_hello.hello.salutation": "Hello m'Lord!" | ||
"inputs.wf_hello.hello.addressee": "m'Lord" | ||
} |
19 changes: 19 additions & 0 deletions
19
...resources/standardTestCases/hello_docker_image_format_v1/hello_docker_image_format_v1.wdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
task hello { | ||
String addressee | ||
command { | ||
echo "Hello ${addressee}!" | ||
} | ||
output { | ||
String salutation = read_string(stdout()) | ||
} | ||
runtime { | ||
docker: "ubuntu:utopic-20150319" | ||
} | ||
} | ||
|
||
workflow wf_hello { | ||
call hello | ||
output { | ||
hello.salutation | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
centaur/src/main/resources/standardTestCases/requester_pays_engine_functions.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...src/main/resources/standardTestCases/requester_pays_gcs/gcpbatch_engine_functions.options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"jes_gcs_root": "gs://cromwell_bucket_with_requester_pays/cromwell-execution", | ||
"backend": "GCPBATCHRequesterPays" | ||
} |
3 changes: 3 additions & 0 deletions
3
...aur/src/main/resources/standardTestCases/requester_pays_gcs/gcpbatch_localization.options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"backend": "GCPBATCHRequesterPays" | ||
} |
2 changes: 1 addition & 1 deletion
2
centaur/src/main/resources/standardTestCases/requester_pays_localization.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
centaur/src/main/resources/standardTestCases/requester_pays_localization_negative.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters