-
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.
WX-927 Demo KMS Docker token issues in GCP Batch
- Loading branch information
Showing
8 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...ndardTestCases/docker_hash/gcpbatch_docker_hash_dockerhub_private_no_dockerhub_config.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,13 @@ | ||
task dockerhub { | ||
command { | ||
echo "hello" | ||
} | ||
runtime { | ||
docker: "broadinstitute/cloud-cromwell:dev" | ||
backend: "GCPBATCHNoDockerHubConfig" | ||
} | ||
} | ||
|
||
workflow docker_hash_dockerhub_private { | ||
call dockerhub | ||
} |
3 changes: 1 addition & 2 deletions
3
centaur/src/main/resources/standardTestCases/docker_hash_dockerhub_private_wf_options.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
17 changes: 17 additions & 0 deletions
17
...c/main/resources/standardTestCases/gcpbatch_docker_hash_dockerhub_private_wf_options.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,17 @@ | ||
name: gcpbatch_docker_hash_dockerhub_private_wf_options | ||
testFormat: workflowsuccess | ||
backends: [GCPBATCHNoDockerHubConfig] | ||
|
||
files { | ||
workflow: docker_hash/gcpbatch_docker_hash_dockerhub_private_no_dockerhub_config.wdl | ||
# Updated the options to read_from_cache: false for | ||
# https://github.com/broadinstitute/cromwell/issues/3998 | ||
options-dir: "Error: BA-6546 The environment variable CROMWELL_BUILD_RESOURCES_DIRECTORY must be set/export pointing to a valid path such as '${YOUR_CROMWELL_DIR}/target/ci/resources'" | ||
options-dir: ${?CROMWELL_BUILD_RESOURCES_DIRECTORY} | ||
options: ${files.options-dir}/private_docker_papi_v2_usa.options | ||
} | ||
|
||
metadata { | ||
"calls.docker_hash_dockerhub_private.dockerhub.runtimeAttributes.docker": "broadinstitute/cloud-cromwell:dev", | ||
"calls.docker_hash_dockerhub_private.dockerhub.dockerImageUsed": "broadinstitute/cloud-cromwell@sha256:0d51f90e1dd6a449d4587004c945e43f2a7bbf615151308cff40c15998cc3ad4" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,5 +61,10 @@ backend { | |
filesystems.http {} | ||
} | ||
} | ||
GCPBATCHNoDockerHubConfig { | ||
actor-factory = "REPLACEME!" | ||
config { | ||
} | ||
} | ||
} | ||
} |
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