From 44c8397739423dcd8329939cc932cab0eb261fe6 Mon Sep 17 00:00:00 2001 From: Christopher Tomkins-Tinch Date: Fri, 20 Oct 2023 16:18:56 -0400 Subject: [PATCH] try to reach leonardo server --- pipes/WDL/tasks/tasks_terra.wdl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pipes/WDL/tasks/tasks_terra.wdl b/pipes/WDL/tasks/tasks_terra.wdl index 074ea6334..5382c2339 100644 --- a/pipes/WDL/tasks/tasks_terra.wdl +++ b/pipes/WDL/tasks/tasks_terra.wdl @@ -57,6 +57,11 @@ task get_gcloud_env_info { echo "WORKSPACE_NAMESPACE: ${WORKSPACE_NAMESPACE}" echo "WORKSPACE_NAME: ${WORKSPACE_NAME}" + curl -X 'GET' \ + "https://leonardo.dsde-dev.broadinstitute.org/api/google/v1/apps/${GOOGLE_PROJECT_ID}" \ + -H 'accept: text/plain' \ + -H "Authorization: Bearer $(gcloud auth print-access-token)" + touch additional_command_stdout.log if [ -n "~{default='' additional_command_to_run}" ]; then