Skip to content
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

Remove logging that could error with multiple compute environments [BT-429] #6547

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

mcovarr
Copy link
Contributor

@mcovarr mcovarr commented Oct 19, 2021

No description provided.

@mcovarr
Copy link
Contributor Author

mcovarr commented Oct 19, 2021

Not expecting the PAPI builds to pass, those failures are addressed in #6546.

Copy link
Contributor

@markjschreiber markjschreiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few more things that should be able to be cleaned out.


BatchJobContainerContext(jobId, containerInstanceArn, ecsClusterArns, instanceIds)
}

case class BatchJobContainerContext(jobId: String, containerInstanceArn: String, ecsClusterArns: Seq[String], ec2InstanceIds: Seq[String]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also be able to remove this case class

@@ -49,8 +49,6 @@ import software.amazon.awssdk.services.batch.BatchClient
import software.amazon.awssdk.services.batch.model._
import software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient
import software.amazon.awssdk.services.cloudwatchlogs.model.{GetLogEventsRequest, OutputLogEvent}
import software.amazon.awssdk.services.ecs.EcsClient
import software.amazon.awssdk.services.ecs.model.DescribeContainerInstancesRequest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be possible to remove ecs from the dependencies.

Copy link
Collaborator

@jgainerdewar jgainerdewar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✂️ 👍

@mcovarr mcovarr merged commit bb43985 into develop Oct 20, 2021
@mcovarr mcovarr deleted the bt_429_fix_aws_multiple_compute_environments branch October 20, 2021 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants