CrazyMax
69651136cf
Makefile: mutualize local and Dockerfile build opts ( #9776 )
...
Ensure that everything works nicely for `docker-ce-packaging`
as well as local development.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-26 16:06:24 -04:00
CrazyMax
5ec20296e4
Better sandboxed workflow and enhanced cross compilation
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-12 15:05:58 +02:00
Sebastiaan van Stijn
92f32b5c79
ci: use latest stable dockerfile syntax & rename docs Dockerfile ( #9711 )
...
* update dockerfiles to use latest stable syntax
Some Dockerfiles were pinned to a minor release, which meant they
wouldn't be updated to get the latest stable syntax (and fixes),
and one Dockerfile used the "labs" variant to use the HEREDOC syntax,
which has now been promoted to the stable syntax.
* docs: rename Dockerfile
There's no other Dockerfiles in the same path, so the "docs"
prefix was redundant.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-03 16:36:13 -04:00
Guillaume Lours
978b2f8265
add new targets to build Compose binary before running e2e tests
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-07-04 15:53:08 +02:00
Nick Sieger
3599fc8533
mocks: create mocks for compose api.Service
...
Signed-off-by: Nick Sieger <nick@nicksieger.com>
2022-06-07 17:09:06 -05:00
Ulysses Souza
e51fd0a844
Fix local run of `make e2e-compose-standalone`
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2022-05-20 21:31:16 +02:00
Randy Fay
97d46a14ef
Fix problems with ddev e2e test and minor cleanup, add tmate ( #27 )
...
* Add tmate for debugging
* Use -parallel=1 for standaone tests
Signed-off-by: Randy Fay <randy@randyfay.com>
2022-05-19 14:14:03 +02:00
Ulysses Souza
a5a1c5f2f1
Add ddev's e2e test
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2022-05-19 14:14:03 +02:00
Guillaume Lours
be187bae64
use a temp directory to generate doc to be sure working tree is clean
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-18 10:42:05 +01:00
Guillaume Lours
bf26cbd498
contenairized documetation generation
...
add docs validation (using same process a BuildX project)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-18 10:42:05 +01:00
Nicolas De Loof
283f7a1ec5
Bump buildx to v0.8.0
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2022-03-11 14:05:55 +01:00
Ulysses Souza
8ae8d99528
Use build tags for selecting e2e test mode
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-12-09 10:52:18 +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
Guillaume Tardif
66f64d9875
Add make install to symlink cli from `make cli`
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-22 15:27:11 +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
95d21fa768
First kube e2e. Adapted context create kubernetes command to allow non interactive mode.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 16:01:57 +01:00
Guillaume Tardif
dfc8ded216
ACI timeout moved from 10 to 15 mins
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 09:48:30 +01: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
aiordache
50792c4621
Add Kubernetes backend
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
Guillaume Tardif
dcd1e30f6a
Fix protos target to update new protos folder
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-19 16:48:54 +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
Guillaume Tardif
f8c750277f
Do not run compose local e2e tests on windows GHA nodes for now (buildkit failing with `failed to mount C:\ProgramData\docker\tmp\buildkit-mount370086869: [{Type:bind Source:C:\ProgramData\docker\windowsfilter\y3952h88q6ikevun9li41hjcb Options:[rbind ro]}]: invalid windows mount type: 'bind’`).
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2020-12-15 16:21:42 +01:00
Guillaume Tardif
6d34f28beb
Ensure local compose E2E are run in CI.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2020-12-15 15:24:02 +01:00
Chris Crone
f55616d37b
build: Do not unnecessarily export images
...
When we do not require an image output from a `docker build` command,
we should not export an image as this just wastes time.
I believe this requires using buildx which can be enabled with
`docker buildx install`
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-11 11:17:01 +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
Chris Crone
78190f8346
build: Add containerized go mod tidy
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-07 12:22:58 +01:00
Ulysses Souza
1ecf8b5c5b
Update `make pre-commit` with more checks
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-11-23 18:37:13 -03:00
Guillaume Tardif
3940b98da5
Lint packages behind feature flag : local, e2e
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-18 17:18:15 +01:00
Guillaume Tardif
8cc438c9a5
Pin ECS secrets sidecar image & add makefile targets
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-04 10:30:46 +01:00
Guillaume Tardif
8deee73857
Merge pull request #860 from gtardif/aci_bettre_clean_e2e_resource_groups
...
Nicer cleanup make target for ACI resources
2020-11-02 11:30:53 +01:00
Guillaume Tardif
72377355a9
Nicer cleanup make target for ACI resources
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-02 09:40:15 +01:00
Guillaume Tardif
3cfb252ff0
Pinned and publish docker/ecs-searchdomain-sidecar:1.0
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-30 18:35:28 +01:00
Guillaume Tardif
5bdcfe2e4a
Pin version of ACI sidecar image, so that we don’t affect prod users when re-publishing :latest.
...
Makefile includes a target to publish new versions, ensuring we don’t override an existing image tag
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-28 17:19:12 +01:00
Guillaume Tardif
0f417e9997
Fix Makefile command to cleanup ACI E2E resource groups
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-16 11:43:03 +02:00
Guillaume Tardif
8325768a72
Add ACI E2E resource cleanup command
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-10-09 10:07:13 +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
Ulysses Souza
112794e6c9
Add pre-commit target to Makefile
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-10-01 10:55:02 +02:00
Chris Crone
d154c41586
Update copyright
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 12:13:00 +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 Tardif
3a83d85d7a
First ECS E2E test
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-08-19 19:13:23 +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
95de770e87
Update or add license header which are not valid
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-08-17 16:55:25 +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
017053e19a
tests.e2e: Refactor
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-08-10 14:12:46 +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
Guillaume Tardif
0639aab22e
Allow single test run with make
2020-07-08 17:07:32 +02:00