Skip to content

Commit

Permalink
add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcovarr committed Sep 20, 2024
1 parent cccf552 commit 77deaa0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class GcpBatchRequestFactoryImpl()(implicit gcsTransferConfiguration: GcsTransfe
.putLabels("cromwell-workflow-id", toLabel(data.workflowId.toString)) // label for workflow from WDL
.putLabels("goog-batch-worker", "true")
.putAllLabels(data.createParameters.googleLabels.map(label => label.key -> label.value).toMap.asJava)
// TODO confirmed Google Compute Service Account is assigned here
.setServiceAccount(serviceAccount)
.buildPartial()

Expand All @@ -169,6 +170,7 @@ class GcpBatchRequestFactoryImpl()(implicit gcsTransferConfiguration: GcsTransfe

// set parent for metadata storage of job information
lazy val parent = s"projects/${createParameters.projectId}/locations/${data.gcpBatchParameters.region}"
// TODO confirmed Google Compute Service Account is correctly plumbed through from workflow options to here
val gcpSa = ServiceAccount.newBuilder.setEmail(createParameters.computeServiceAccount).build

// make zones path
Expand Down

0 comments on commit 77deaa0

Please sign in to comment.