Djordje Lukic
125752c127
Update golang to 1.17
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2021-11-04 09:15:46 +01:00
Nicolas De Loof
1ae9b3cb5d
move compose-cli code into docker/compose/v2
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 19:09:19 +02:00
Nicolas De Loof
fb73dd58d9
Move compose e2e tests into pkg
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-28 08:47:58 +02:00
Nicolas De Loof
3aaec6a554
split compose-cli "docker" and composeV2 cli-plugin release processes
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-27 12:46:39 +02:00
Chris Crone
a12b1dcea0
build: Bump linter, minor fixes
...
* Bump linter to 1.39.0
* Use dockerfile:1.2 syntax instead of experimental
* Fix typo in GitHub Actions
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 15:19:23 +02:00
Guillaume Tardif
3383642cd8
Validate cross build on all platforms only on the main branch, not every PR
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-26 11:31:35 +01:00
Guillaume Tardif
240f872b5c
Fixes GH Action config.
...
(See https://github.com/docker/compose-cli/actions/runs/588864117 )
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-22 14:25:21 +01:00
Chris Crone
8ecee6edaf
deps: Bump Docker, Golang, linter
...
* Docker 20.10.3
* Golang 1.16
* golangci-lint 1.37.0
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-02-18 17:13:15 +01:00
Nicolas De Loof
0e862eeaa7
introduce --resolve-image-digests on config command
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-18 14:48:28 +01:00
Ulysses Souza
18900cfcd0
Use gotestsum to make FAILURES more visible
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-15 18:17:31 -03:00
Guillaume Tardif
ecdc170938
CI build, lint & test tube backend.
...
Fixed some tests, let some failing test still fail, to be fixed
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 18:09:29 +01:00
Guillaume Tardif
46935b0300
Move tests to each backend folder
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 15:25:26 +01:00
Guillaume Tardif
aca816d5d6
Remove example backend.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 11:29:48 +01:00
Ulysses Souza
bc787a1a70
Setup docker cli on gha
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-08 11:40:35 -03:00
Chris Crone
fd187426e5
ci: Bump linter
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-24 12:15:59 +01:00
Guillaume Tardif
6fc8eefb1b
Remove build flag for local backend
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2020-12-07 14:41:27 +01:00
Guillaume Tardif
e02176004b
Document cross build step reason & timing in CI
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-15 10:07:17 +02:00
Guillaume Tardif
699f9a3dfb
Cross compile in CI
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-13 17:16:12 +02:00
Guillaume Tardif
9ad06e55b5
E2e test on metrics
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-07 10:11:46 +02:00
Guillaume Tardif
127baa35f2
Update CI workflow to build fine on PRs from forks
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-28 12:34:06 +02:00
Guillaume Lours
ae45e08d43
Remove dependabot and add a check-dependencies command in make file
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-26 09:54:01 +02:00
Guillaume Lours
c3bf09a986
CI update dependabot PR - Check that the pusher equal dependabot-preview[bot]
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 15:35:20 +02:00
Guillaume Lours
70b3bffaf0
CI update dependabot PR - Check that the pusher startWith depandabot-preview
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 14:41:47 +02:00
Guillaume Lours
9e5c122f74
Update dependabot PR to update go.sum file
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-20 14:28:39 +02:00
Djordje Lukic
b41d216aaa
Add import restrictions check
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-08-19 12:31:30 +02:00
Guillaume Lours
b4e45bf597
Add a script to check if go.mod and go.sum are up-to-date
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-18 14:57:53 +02:00
Guillaume Lours
97a50f8d51
Add CI step to check license headers
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-17 16:55:25 +02:00
Chris Crone
9d073707b9
deps: Bump Go to 1.15 and Go linter to 1.30
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-12 10:36:09 +02:00
aiordache
2471e51b39
set build tag for the ecs context and backend
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-07-30 11:34:34 +02:00
Christopher Crone
8ec9b3c77b
dependencies: Bump Golang and linter
...
* Go 1.14.5
* golangci-lint 1.28.3
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-16 13:22:12 +02:00
Christopher Crone
878783d271
tools: Update Go and linter
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-07-07 15:29:48 +02:00
Guillaume Tardif
f3cbbc48b8
Aci e2e tests moved to master build only
2020-06-30 10:14:19 +02:00
Guillaume Tardif
eda438aaed
Added basic support for service principal login, run ACI e2e tests with it
2020-06-29 20:35:23 +02:00
Djordje Lukic
e033ca27d2
Run windows build/test only on master
...
The regular CI will only run on pull requests
2020-06-22 10:16:07 +02:00
Djordje Lukic
652141c993
Use latest version of actions/cache
2020-06-18 09:44:34 +02:00
Djordje Lukic
39042aa8bd
Build example and local backend conditionaly
...
* `make` will build the cli with all backends exnabled
* `make cross` will cross build without the example and local backend
You can still cross compile with all backends by doing
```console
$ BUILD_TAGS=example,local make cross
```
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-06-15 18:02:30 +02:00
Djordje Lukic
f0efaf7a79
Remove node test, node-sdk has these tests
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-06-15 11:41:50 +02:00
Guillaume Tardif
93984f8c68
Removed test requiring linux containers
2020-06-11 12:58:58 +02:00
Guillaume Tardif
6bfdded047
Windows CI
2020-06-11 10:44:30 +02:00
Djordje Lukic
95e07a2134
Add default context to the context ls output
2020-05-20 18:39:10 +02:00
Guillaume Tardif
073832631f
First e2e test running grpc e2e test (js test client)
2020-05-18 17:00:16 +02:00
Djordje Lukic
693aa7b849
Remove golangci-lint action, use executable
...
The github action we were using had to be rebuilt on each build, we now
start from base go 1.14 and just download the golangci-tool and run it.
This saves around 20-30 seconds on each build.
2020-05-15 09:17:01 +02:00
Djordje Lukic
7b26e8e836
Faster build
...
* Run in parallel
* lint
* test/build/e2e test
* use cache for go
* do not use docker for building
* remove useless dependencies from the base image
Build time passes from 5 minutes to 1 minute 30 seconds
2020-05-14 21:16:31 +02:00
Guillaume Tardif
35c5073cc0
First e2e tests running locally (with example backend)
2020-05-05 14:40:30 +02:00
Djordje Lukic
4e9a4185af
Add `make lint` and run it on CI
2020-05-05 10:50:30 +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