Modify entry script to execute command as is, if supplied to pipelines API directly. #477
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes the issue in #475
Tested via docker, gcloud and pipelines run.
Got the same error as customer with following command on older image, but passed with new image:
pipelines run action_input.json --scopes https://www.googleapis.com/auth/genomics,https://www.googleapis.com/auth/cloud-platform --zones us-west1-b
with action_input.json:
[
{
"imageUri": "gcr.io/tural-test-runner/gcp-variant-transforms:a53a8fa653d5110ac3da0d5ed71f1147dde3fd33",
"commands": ["/opt/gcp_variant_transforms/bin/vcf_to_bq", "--project", "tural-test-runner", "--input_pattern", "gs://gcp-variant-transforms-testfiles/small_tests/valid-4.0.vcf", "--output_table", "tural-test-runner:turalds.test1800", "--runner", "DataflowRunner", "--job_name", "vcf-to-bigquery", "--temp_location", "gs://tural-test-runner/temp", "--staging_location", "gs://tural-test-runner/staging"],
}
]