Djordje Lukic
26c628b587
Merge pull request #28 from rumpl/feat-multiple-backends
...
Multiple backend for the cli
2020-04-30 12:07:14 +02:00
Djordje Lukic
b2606b91f2
Remove useless client grpc stuff
2020-04-30 11:06:04 +02:00
Djordje Lukic
f4bde8cb89
Multiple backend for the cli
...
* implement a little azure backend
* implement an example backend
* use the right backend from the context
2020-04-30 11:01:04 +02:00
Djordje Lukic
f5bf355d1f
Merge pull request #27 from rumpl/change-context-store
...
ACI context creation
2020-04-29 19:11:00 +02:00
Djordje Lukic
551eb2326f
ACI context creation
...
And remove gRPC stuff from the client for now
2020-04-29 19:08:58 +02:00
Djordje Lukic
01cc77a09a
Merge pull request #25 from ulyssessouza/refactor-store-new
...
Refactor store.New to use vargs and get user home by default
2020-04-28 15:00:02 +02:00
Nicolas De Loof
4138dcfb5a
Split API interface by required SDK func per command
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:59:00 +02:00
Nicolas De Loof
3d8d982d4a
format
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:59:00 +02:00
Nicolas De Loof
52c6177ff7
API mock and a test case relying on it
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:59:00 +02:00
Nicolas De Loof
8c0fee5abf
Define amazon.API as a simplified and currated interface over AWS SDK
...
This makes code simpler to read and easier to mock within tests
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:59:00 +02:00
Nicolas De Loof
52440a4732
Setup Github Action for CI
...
close #1
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:50:27 +02:00
Ulysses Souza
3380c9d459
Refactor store.New
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-27 18:56:37 +02:00
Guillaume Tardif
bf243bfe31
Merge pull request #22 from rumpl/feat-context
...
Add context commands
2020-04-27 17:23:11 +02:00
Guillaume Tardif
7eda6df07f
Merge pull request #23 from ulyssessouza/add-compose
...
Add compose.proto
2020-04-27 16:09:44 +02:00
Ulysses Souza
5c04e31117
Add compose.proto
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-04-27 16:04:30 +02:00
Djordje Lukic
474cdbae11
Remove unnecessary if
2020-04-27 15:56:23 +02:00
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