Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small updates to GVS Integration WDL [VS-618] #8042

Merged
merged 5 commits into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ workflows:
branches:
- master
- ah_var_store
- rsa_vs_618_integration
- name: GvsIngestTieout
subclass: WDL
primaryDescriptorPath: /scripts/variantstore/wdl/GvsIngestTieout.wdl
Expand Down
13 changes: 5 additions & 8 deletions scripts/variantstore/wdl/GvsQuickstartIntegration.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ workflow GvsQuickstartIntegration {
]

Int? extract_scatter_count
String drop_state = "NONE"
String drop_state = "FORTY"
}
String project_id = "gvs-internal"

Expand Down Expand Up @@ -119,7 +119,6 @@ task AssertIdenticalOutputs {
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😿

I'd be sad to see these xtraces wiped out as they have saved my bacon many times. Happy to discuss this at (post) standup tomorrow.


failures=()

Expand Down Expand Up @@ -190,7 +189,7 @@ task AssertIdenticalOutputs {
>>>

runtime {
docker: "gcr.io/google.com/cloudsdktool/cloud-sdk:398.0.0"
docker: "gcr.io/google.com/cloudsdktool/cloud-sdk:402.0.0-alpine"
disks: "local-disk 500 HDD"
}

Expand All @@ -217,7 +216,6 @@ task AssertCostIsTrackedAndExpected {
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace

echo "project_id = ~{project_id}" > ~/.bigqueryrc
bq query --location=US --project_id=~{project_id} --format=csv --use_legacy_sql=false \
Expand Down Expand Up @@ -288,7 +286,7 @@ task AssertCostIsTrackedAndExpected {
>>>

runtime {
docker: "gcr.io/google.com/cloudsdktool/cloud-sdk:398.0.0"
docker: "gcr.io/google.com/cloudsdktool/cloud-sdk:402.0.0-alpine"
disks: "local-disk 10 HDD"
}

Expand All @@ -314,7 +312,6 @@ task AssertTableSizesAreExpected {
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace

echo "project_id = ~{project_id}" > ~/.bigqueryrc
bq query --location=US --project_id=~{project_id} --format=csv --use_legacy_sql=false \
Expand All @@ -323,7 +320,7 @@ task AssertTableSizesAreExpected {
UNION ALL \
SELECT 'ref_ranges_total' AS total_name, sum(total_billable_bytes) AS total_bytes \
FROM \`~{dataset_name}.INFORMATION_SCHEMA.PARTITIONS\` \
WHERE table_name LIKE 'ref_ranges_%'" > table_size_output.csv
WHERE table_name LIKE 'ref_ranges_%' ORDER BY total_name" > table_size_output.csv

set +o errexit
diff -w table_size_output.csv ~{expected_output_csv} > differences.txt
Expand All @@ -337,7 +334,7 @@ task AssertTableSizesAreExpected {
>>>

runtime {
docker: "gcr.io/google.com/cloudsdktool/cloud-sdk:398.0.0"
docker: "gcr.io/google.com/cloudsdktool/cloud-sdk:402.0.0-alpine"
disks: "local-disk 10 HDD"
}

Expand Down