-
Notifications
You must be signed in to change notification settings - Fork 21
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
[TOAZ-283] [TOAZ-282] Update Cromwell helm params and move relay listener to terra-app-setup-chart #3036
Conversation
@@ -699,54 +698,77 @@ final class LeoAppServiceInterp[F[_]: Parallel](config: AppServiceConfig, | |||
|
|||
// Step 2: call LZ for LZ resources | |||
lzResourcesByPurpose <- wsmDao.listLandingZoneResourcesByType(landingZoneId, userToken) | |||
groupedLzResources = lzResourcesByPurpose.foldMap(a => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was bugging me that we were iterating through the full list of LZ resources each time we looked up a resource, so I grouped it to a Map[(purpose, type), resource]
first.
.run(authContext) | ||
_ <- assignVmScaleSet(params.landingZoneResources.clusterName, params.cloudContext, petMi) | ||
|
||
// Deploy app chart |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to when we have more app types on Azure (e.g. after we split out WDS).
I'm treating the storage container as optional, and only required for Cromwell app at the moment.
fiab-start failed, jenkins retest |
Codecov Report
@@ Coverage Diff @@
## develop #3036 +/- ##
===========================================
- Coverage 72.95% 72.88% -0.08%
===========================================
Files 125 125
Lines 11507 11580 +73
Branches 736 716 -20
===========================================
+ Hits 8395 8440 +45
- Misses 3112 3140 +28
Continue to review full report at Codecov.
|
49917a4
to
241255e
Compare
Tested in a BEE, this seems to work: broadinstitute/cromwhelm#128 (comment) |
jenkins retest |
@@ -18,11 +18,18 @@ final case class WsmJobId(value: String) extends AnyVal | |||
final case class ManagedIdentityName(value: String) extends AnyVal | |||
final case class BatchAccountName(value: String) extends AnyVal | |||
|
|||
final case class PostgresName(value: String) extends AnyVal | |||
final case class LogAnalyticsWorkspaceName(value: String) extends AnyVal | |||
|
|||
final case class LandingZoneResources(clusterName: AKSClusterName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a few more things to LandingZoneResources since I think we'll need them soon/later.
} | ||
|
||
app-service { | ||
# Defaults to true, but disabled for fiab runs | ||
enable-custom-app-check = true | ||
} | ||
|
||
drs { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The DRS url is now used by Cromwell and Galaxy, so I made it a standalone thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will require firecloud-develop change? also cc @andy7i since he'll likely be updating this in firecloud-develop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah -- I can update fc-develop with the new config structure but keep the values the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Task(ctx.traceId, task, Some(handleKubernetesError), ctx.now, "createAppV2") | ||
) | ||
for { | ||
landingZoneResources <- F.fromOption( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
landingZoneResources
should be non-optional for Azure apps.
|
||
} yield () | ||
|
||
override def deleteApp(params: DeleteAKSAppParams)(implicit ev: Ask[F, AppContext]): F[Unit] = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply moved this method to be next to createApp
} | ||
|
||
app-service { | ||
# Defaults to true, but disabled for fiab runs | ||
enable-custom-app-check = true | ||
} | ||
|
||
drs { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will require firecloud-develop change? also cc @andy7i since he'll likely be updating this in firecloud-develop
Tests passed! I'm going to merge this to get it in |
https://broadworkbench.atlassian.net/browse/TOAZ-282
https://broadworkbench.atlassian.net/browse/TOAZ-283
Depends on:
A few changes:
relaylistener
deployment out of cromwell to the terra-app-setup-chartUnit tests pass, planning to test this on a BEE as well.
Have you read CONTRIBUTING.md lately? If not, do that first.
I, the developer opening this PR, do solemnly pinky swear that:
In all cases:
jenkins retest
multi-test