Skip to content

Commit

Permalink
adding application default to google auths for batch + papi
Browse files Browse the repository at this point in the history
  • Loading branch information
lucymcnatt committed Feb 11, 2025
1 parent af74cad commit 9106c96
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: cacheBetweenWFNoCost
testFormat: runtwiceexpectingcallcachingnocost
backends: [Papi, GCPBATCH]

files {
workflow: cacheBetweenWF/cacheBetweenWFNoCost.wdl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: recursive_imports_cost
testFormat: workflowsuccessandverifycost
backends: [Papi, GCPBATCH]

files {
workflow: recursive_imports/recursive_imports.wdl
Expand Down
24 changes: 5 additions & 19 deletions src/ci/resources/build_application.inc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,11 @@ system {
}

# See documentation for these values in cromwell.examples.conf
services {
MetadataService {
class = "cromwell.services.metadata.impl.MetadataServiceActor"
config {
metadata-write-statistics {
enabled = true
cache-size = 20000
metadata-row-alert-interval = 5000
sub-workflow-bundling = true
}
}
}
GcpCostCatalogService {
class = "cromwell.services.cost.GcpCostCatalogService"
config {
enabled = true
catalogExpirySeconds = 86400
}
}
services.MetadataService.config.metadata-write-statistics {
enabled = true
cache-size = 20000
metadata-row-alert-interval = 5000 # Quite low... but we don't expect much metadata from test workflows, right?
sub-workflow-bundling = true
}

# Make the shutdown timeout conspicuously long, so that if it hangs, it is an obvious problem in CI.
Expand Down
4 changes: 4 additions & 0 deletions src/ci/resources/gcp_batch_application.inc.conf.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ google {
name = "user_service_account"
scheme = "user_service_account"
}
{
name = "application-default"
scheme = "application_default"
}
]
}

Expand Down
4 changes: 4 additions & 0 deletions src/ci/resources/papi_application.inc.conf.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ google {
name = "user_service_account"
scheme = "user_service_account"
}
{
name = "application-default"
scheme = "application_default"
}
]
}

Expand Down

0 comments on commit 9106c96

Please sign in to comment.