Djordje Lukic
6feedaf939
Use go modules on build
2020-05-05 10:27:44 +02:00
Djordje Lukic
24c035e822
Add comments on exported items, remove example command
...
Also add `make lint` to run the linter
2020-05-05 10:27:44 +02:00
Djordje Lukic
29737c2a23
Merge pull request #38 from rumpl/fix-exec
...
Simplify exec on ACI
2020-05-05 10:26:10 +02:00
Djordje Lukic
0584ff7dfa
Merge pull request #39 from docker/chore-clean-makefile
...
Cleanup Makefiles
2020-05-05 10:13:36 +02:00
Djordje Lukic
d6417cb504
Simplify exec on ACI
...
* both streams send messages to a `chan error`
* the main goroutine returns the error if one exists
2020-05-05 10:12:37 +02:00
Djordje Lukic
ba8c824436
Cleanup Makefiles
...
* add `make help` target
* remove unused variables
* add .exe to the binary name when on windows
* add ldflags to go build to strip the binary (smaller binary size)
* `make protos` must be executed manually when proto files change
2020-05-05 10:07:11 +02:00
Djordje Lukic
900d82ced0
Merge pull request #36 from rumpl/feat-logs
...
Feat logs
2020-05-04 16:39:31 +02:00
Djordje Lukic
e964a3af2e
Implement `docker logs --tal <N>`
2020-05-04 16:38:02 +02:00
Djordje Lukic
1c7270b697
Implement logs
2020-05-04 15:52:31 +02:00
Djordje Lukic
d36baba42e
Merge pull request #35 from rumpl/feat-exec
...
Feat exec
2020-05-04 15:19:37 +02:00
Djordje Lukic
afca3e31b5
Implement exec command
2020-05-04 12:43:32 +02:00
Djordje Lukic
50daf97a86
Merge pull request #32 from rumpl/feat-run
...
Feat run
2020-05-04 12:18:33 +02:00
Djordje Lukic
092c432028
Init all the fields of a compose project at once
2020-05-04 11:51:40 +02:00
Djordje Lukic
28808f3f6d
Check that port definition contains source and dest
2020-05-04 11:45:34 +02:00
Djordje Lukic
e992b4192c
Panic if we cannot set env var
2020-05-04 11:35:11 +02:00
Djordje Lukic
63c460240c
Move config initialization closer to the beginning
2020-05-04 11:35:11 +02:00
Djordje Lukic
6aec90c506
Lowercase errors
2020-05-04 11:35:11 +02:00
Djordje Lukic
6fa941686c
Make all functions in aci.go package private
...
They shouldn't be used outside of the package any way
2020-05-04 11:35:11 +02:00
Djordje Lukic
9fd5f7bef3
Rename xcli to cross
2020-05-04 11:35:11 +02:00
Djordje Lukic
eee9bf449f
Move run to own package
2020-05-04 11:35:11 +02:00
Djordje Lukic
7046fc8ac5
Add convert tests
2020-05-04 11:35:11 +02:00
Djordje Lukic
a1a5e1794b
Add ports publishing to run
2020-05-04 11:35:11 +02:00
Djordje Lukic
5aa31b6bf5
Separate conversion code into own package
2020-05-04 11:35:11 +02:00
Djordje Lukic
3d363643ad
Implement simple ACI run
2020-05-04 11:35:11 +02:00
Djordje Lukic
600feb1e00
Split makefiles
...
* Makefile is for users to use
* builder.Makefile is used by the builder container
2020-05-04 11:35:11 +02:00
Ulysses Souza
7802e4d1df
Merge pull request #24 from ulyssessouza/add-compose
...
Little fixes on client side and containers.proto
2020-05-04 11:32:00 +02:00
Ulysses Souza
33c45a0a62
Add "goimports"
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-04 11:30:21 +02:00
Ulysses Souza
933bed5f5d
Invert the logic to preserve the happy path
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-04 11:30:21 +02:00
Ulysses Souza
4f3c2c1996
Fix protos and its generation
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-04 11:30:21 +02:00
Ulysses Souza
111ec3b80d
Add Containers and Compose to gRPC client creation
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-04 11:30:21 +02:00
Ulysses Souza
ec7a7ef055
Fix go_package
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-05-04 11:30:21 +02:00
Djordje Lukic
2cf6d6513b
Merge pull request #33 from rumpl/fix-ps
...
Get the real status of containers
2020-05-04 10:45:29 +02:00
Djordje Lukic
152d4119d2
Proper variable naming
2020-05-04 09:59:12 +02:00
Djordje Lukic
fc748142fa
Fix badge...
2020-05-03 15:32:19 +02:00
Djordje Lukic
2154cd4ea7
Merge pull request #34 from rumpl/chore-actions-badge
...
Add ci badge in the readme
2020-05-03 15:26:21 +02:00
Djordje Lukic
c3df7cdc78
Add ci badge in the readme
2020-05-03 15:25:50 +02:00
Djordje Lukic
885fd799e1
Get the real status of containers
2020-05-03 14:54:15 +02:00
Djordje Lukic
02526dec84
Merge pull request #30 from rumpl/chore-update-readme
...
Remove example from README, it no longer exists
2020-04-30 18:39:37 +02:00
Djordje Lukic
e415d00afc
Merge pull request #31 from rumpl/chore-mod-tidy
...
Tidy go mods, remove urfave/cli
2020-04-30 18:15:24 +02:00
Djordje Lukic
a307952dab
Tidy go mods, remove urfave/cli
2020-04-30 18:12:53 +02:00
Djordje Lukic
aae6a0b3ca
Remove example from README, it no longer exists
2020-04-30 18:11:49 +02:00
Djordje Lukic
1858367277
Add gotestsum
2020-04-30 17:48:34 +02:00
Djordje Lukic
bb017c490e
Only install required go dependencies
2020-04-30 17:47:28 +02:00
Djordje Lukic
5cbfa2778e
Use github action to install protoc
2020-04-30 17:45:48 +02:00
Djordje Lukic
04e2710380
Use setup-dev.sh script
2020-04-30 17:41:59 +02:00
Djordje Lukic
cc87bbe34e
Add github actions
2020-04-30 17:37:41 +02:00
Djordje Lukic
ebbd660101
Merge pull request #29 from rumpl/feat-serve
...
Feat serve
2020-04-30 17:16:01 +02:00
Djordje Lukic
c4a260369b
Remove useless SetContext function in client.go
2020-04-30 12:44:55 +02:00
Djordje Lukic
6ecb5550f7
Use a request for the context list rpc in cli.proto
2020-04-30 12:42:11 +02:00
Djordje Lukic
0af5afe440
Move the proxy in the server package
2020-04-30 12:20:04 +02:00