Граф коммитов

4931 Коммитов

Автор SHA1 Сообщение Дата
Djordje Lukic e6597d6139 Don't cd into a directory before building
We pass the directory to build to the `go build` command
2020-04-27 15:42:59 +02:00
Djordje Lukic 756836ffab Use testify/suite and testify/require 2020-04-27 11:45:23 +02:00
Djordje Lukic 10bc4b93f6 Call moby if the command is unknown
Will also check if the context is an original docker context
2020-04-27 11:33:16 +02:00
Djordje Lukic cdff00d571 Run tests inside a container 2020-04-27 10:17:10 +02:00
aiordache d612a4ab89 Project name parameter as alternative to compose file on down
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-27 09:21:58 +02:00
Djordje Lukic 32da9e65e8 Only execute moby if the command is not a context command 2020-04-27 09:20:58 +02:00
Djordje Lukic e2c7370a82 Implement context list 2020-04-26 22:07:50 +02:00
Djordje Lukic 3bb4fe163c Add `docker context create` command
This creates a context with a name and a type
2020-04-26 19:42:20 +02:00
Djordje Lukic 244adb77a4
Merge pull request #20 from chris-crone/copyright
Update copyright date
2020-04-24 18:06:14 +02:00
Djordje Lukic c5e8f297fc
Merge pull request #21 from chris-crone/dockerignore
Add dockerignore
2020-04-24 15:05:06 +02:00
Christopher Crone cbfcd5cf64 Add dockerignore
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 15:03:46 +02:00
Ulysses Souza 31ad0385b2
Merge pull request #13 from ulyssessouza/dockerize-build
Dockerize build
2020-04-24 14:44:51 +02:00
Ulysses Souza 9c6a9957aa
Merge pull request #18 from ulyssessouza/refactoring-context
Refactor NewContext
2020-04-24 14:44:10 +02:00
Christopher Crone d166ad82f9 Update copyright date
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 14:39:49 +02:00
Ulysses Souza 88aef2e4e2 Dockerize build and proto gen
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-24 14:20:42 +02:00
Guillaume Lours f393dea175
Merge pull request #19 from chris-crone/clean-gitignore
Remove non-project path
2020-04-24 14:13:41 +02:00
Christopher Crone fcc7582826 Remove non-project path
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-04-24 14:04:27 +02:00
Ulysses Souza b44547c71f Refactor NewContext
This renames NewContext to NewSigContext and
moves it to ./util/util.go avoiding the servers
to import "github.com/docker/api/client"

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-24 11:50:30 +02:00
Nicolas De Loof f8bf0078aa Use DescribeCluster as ListCluster is a Paginated API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-24 10:13:38 +02:00
Djordje Lukic 667d1fa37e
Merge pull request #16 from rumpl/feat-containers-proto
Add containers proto from docker/d2
2020-04-23 21:21:09 +02:00
Nicolas De Loof ea6d35a927 Fix minor issue after merge conflit resolution
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-23 16:19:47 +02:00
Nicolas De Loof 5be037dae1 Merge branch 'aiordache-cluster-create' 2020-04-23 14:55:52 +02:00
Nicolas De Loof a1c91ac4c2 Merge branch 'cluster-create' of github.com:aiordache/ecs-plugin into aiordache-cluster-create
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-23 14:55:41 +02:00
aiordache 3d7e062215 add delete-cluster flag on down cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-23 14:50:18 +02:00
Djordje Lukic d473b83b00 Add containers proto from docker/d2 2020-04-23 12:25:14 +02:00
Djordje Lukic 29a838ddf5
Merge pull request #15 from glours/find_existing_docker_binary
Use docker binary find in path to fallback to Moby CLI
2020-04-23 11:32:13 +02:00
Nicolas De Loof 48096eeed8 DescribeStacks fail with error if stack does not exists
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-23 11:19:59 +02:00
Djordje Lukic 5cc722da4a
Merge pull request #14 from glours/upgrade_urfave_cli
Use v2 of urfave/cli
2020-04-23 10:07:00 +02:00
aiordache 3c9905c474 tidy up go mod
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-23 09:45:50 +02:00
Guillaume Lours 8db55e8c5c Use v2 of urfave/cli
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-23 09:43:53 +02:00
Guillaume Lours 8af8924a58 Use docker binary find in path to fallback to Moby CLI
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-22 23:47:04 +02:00
aiordache 55f2908c16 wait for stack removal on cluster delete
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-22 16:49:55 +02:00
Nicolas De Loof 5110cb6b85 Basic architecture documentation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-22 15:39:02 +02:00
Nicolas De Loof 87f053d710 Detect stack already exists
This will later be used to switch to ChangeSet logic

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-22 15:37:39 +02:00
aiordache 30fd37b6ca ecs cluster create
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-04-22 15:06:01 +02:00
Djordje Lukic 83e9843ef2
Merge pull request #11 from glours/fix_protobuff_setup_file
add protoc-gen-go and remove gogo install
2020-04-21 15:30:51 +02:00
Guillaume Lours e3d62ce74a add protoc-gen-go and remove gogo install
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-21 15:29:18 +02:00
Guillaume Lours 1df55a2a3c
Merge pull request #10 from rumpl/feat-go-mod
Feat go mod
2020-04-21 15:12:32 +02:00
Djordje Lukic 6bfeda054b Go mods initialized, protos without gogo 2020-04-21 15:07:41 +02:00
Nicolas De Loof 0972776e6d Ingress description to include service being exposed
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-21 14:48:51 +02:00
Djordje Lukic 3a5fd3bb07 Use go mod 2020-04-21 14:13:48 +02:00
Nicolas De Loof b70f01d2f4 Adopt CloudFormation to create ECS app from compose.yaml
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-21 11:38:52 +02:00
Guillaume Lours b24985af56
Merge pull request #9 from glours/default_to_cli_only
Fallback to default CLI
2020-04-21 10:01:30 +02:00
Djordje Lukic 4b2c8ae9cf Call original docker on moby context
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 21:16:03 +02:00
Guillaume Lours f5aa9638af Add default shellout to engine if no context specified
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 17:16:37 +02:00
Guillaume Lours a8403241e4 Add default shellout to engine if no context specified
Improve CLI documentation

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-04-20 16:22:15 +02:00
Nicolas De Loof 3dac4df803 Implement context loading
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-20 16:22:15 +02:00
Nicolas De Loof 4e72d1892a Prefer AWS API interface over actual implementation
This will help introduce mock-based tests

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-20 13:47:38 +02:00
Guillaume LOURS 2a99ecdeec
Merge pull request #8 from rumpl/feat-client-connection
Configure client connection backoff
2020-04-17 14:51:28 +02:00
Djordje Lukic dfa8e03860 Configure client connection backoff
For faster startup times (from 2s to ~130ms)
2020-04-17 14:37:54 +02:00