Skip to content

Commit

Permalink
whoops missed conflicts
Browse files Browse the repository at this point in the history
THWiseman committed Dec 4, 2023
2 parents bf9b5fe + 408bc29 commit 3d86736
Showing 4 changed files with 8 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -25,22 +25,13 @@ import cromwell.filesystems.gcs.GcsPathBuilder
import cromwell.filesystems.gcs.GcsPathBuilder.ValidFullGcsPath

import java.io.FileNotFoundException
<<<<<<< HEAD
import cromwell.backend.standard.{
StandardAdHocValue,
StandardAsyncExecutionActor,
StandardAsyncExecutionActorParams,
StandardAsyncJob
}
=======
import cromwell.backend.standard.{
ScriptPreambleData,
StandardAdHocValue,
StandardAsyncExecutionActor,
StandardAsyncExecutionActorParams,
StandardAsyncJob
}
>>>>>>> develop
import cromwell.core._
import cromwell.core.io.IoCommandBuilder
import cromwell.core.path.{DefaultPathBuilder, Path}
Original file line number Diff line number Diff line change
@@ -36,22 +36,13 @@ import cromwell.backend.google.pipelines.common.errors.FailedToDelocalizeFailure
import cromwell.backend.google.pipelines.common.io._
import cromwell.backend.google.pipelines.common.monitoring.{CheckpointingConfiguration, MonitoringImage}
import cromwell.backend.io.DirectoryFunctions
<<<<<<< HEAD
import cromwell.backend.standard.{
StandardAdHocValue,
StandardAsyncExecutionActor,
StandardAsyncExecutionActorParams,
StandardAsyncJob
}
=======
import cromwell.backend.standard.{
ScriptPreambleData,
StandardAdHocValue,
StandardAsyncExecutionActor,
StandardAsyncExecutionActorParams,
StandardAsyncJob
}
>>>>>>> develop
import cromwell.core._
import cromwell.core.io.IoCommandBuilder
import cromwell.core.path.{DefaultPathBuilder, Path}
Original file line number Diff line number Diff line change
@@ -113,11 +113,11 @@ object TesAsyncBackendJobExecutionActor {
| exit 1
| fi
|fi
|
|curl --version
|jq --version
|# Acquire bearer token, relying on the User Assigned Managed Identity of this VM.
|echo Acquiring Bearer Token using User Assigned Managed Identity...
|BEARER_TOKEN=$$(curl 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fmanagement.azure.com%2F' -H Metadata:true -s | jq .access_token)
|
|# Remove the leading and trailing quotes
|BEARER_TOKEN="$${BEARER_TOKEN#\\"}"
|BEARER_TOKEN="$${BEARER_TOKEN%\\"}"
@@ -130,7 +130,9 @@ object TesAsyncBackendJobExecutionActor {
| -X POST "$getSasWsmEndpoint" \\
| -H "Content-Type: application/json" \\
| -H "accept: */*" \\
| -H "Authorization: Bearer $${BEARER_TOKEN}")
| -H "Authorization: Bearer $${BEARER_TOKEN}" \\
| -H "Content-Length: 0" \\
| -d "")
|
|# Store token as environment variable
|export $environmentVariableName=$$(echo "$${sas_response_json}" | jq -r '.token')
Original file line number Diff line number Diff line change
@@ -156,7 +156,9 @@ class TesAsyncBackendJobExecutionActorSpec extends AnyFlatSpec with Matchers wit
| -X POST "$expectedEndpoint" \\
| -H "Content-Type: application/json" \\
| -H "accept: */*" \\
| -H "Authorization: Bearer $${BEARER_TOKEN}")
| -H "Authorization: Bearer $${BEARER_TOKEN}" \\
| -H "Content-Length: 0" \\
| -d "")
|""".stripMargin
val exportCommandSubstring =
s"""export $mockEnvironmentVariableNameFromWom=$$(echo "$${sas_response_json}" | jq -r '.token')"""

0 comments on commit 3d86736

Please sign in to comment.