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

Efs support #2

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ecs-cli/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecs-cli/Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

[[constraint]]
name = "github.com/aws/aws-sdk-go"
version = "^1.29.0"
version = "^1.30.7"

[[constraint]]
name = "github.com/awslabs/amazon-ecr-credential-helper"
Expand Down
30 changes: 30 additions & 0 deletions ecs-cli/modules/cli/compose/entity/mock/entity.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions ecs-cli/modules/cli/compose/entity/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ var waitUntilSDSDeletable route53.WaitUntilSDSDeletableFunc = route53.WaitUntilS
// NewService creates an instance of a Service and also sets up a cache for task definition
func NewService(ecsContext *context.ECSContext) entity.ProjectEntity {
return &Service{
cache: entity.SetupTaskDefinitionCache(),
ecsContext: ecsContext,
cache: entity.SetupTaskDefinitionCache(),
ecsContext: ecsContext,
}
}

Expand Down Expand Up @@ -513,6 +513,8 @@ func (s *Service) buildCreateServiceInput(serviceName, taskDefName string, desir
DeploymentConfiguration: s.deploymentConfig,
LoadBalancers: []*ecs.LoadBalancer{s.loadBalancer},
Role: aws.String(s.role),
// TODO: revert to "LATEST" when latest refers to 1.4.0
bvtujo marked this conversation as resolved.
Show resolved Hide resolved
PlatformVersion: aws.String("1.4.0"),
}

if schedulingStrategy != "" {
Expand Down
2 changes: 2 additions & 0 deletions ecs-cli/modules/cli/compose/factory/mock/factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading