Ulysses Souza
0c1979979f
Remove unused kube tag
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2023-01-09 14:52:11 +01:00
Guillaume Lours
86a648bd51
e2e tests display Compose version used to run the test
...
currently the version displayed is the one installed and not the one use for the tests
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2022-12-21 18:38:24 +01:00
Guillaume Lours
27a3241934
rely on CI timeout
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2022-12-21 16:11:56 +01:00
Guillaume Lours
cc247fdb84
remove go.* from e2e tests directory
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2022-12-08 19:06:22 +01:00
Milas Bowman
053f20edab
port: improve error-handling if port not found ( #10039 )
...
This method looked slightly incomplete. If the port wasn't found,
it'd return `err`, but that was always `nil`, so we'd print out
`:0`.
Now, we construct a nice error message with the targeted port and
the ones we found.
The `--protocol` flag is also now case-insensitive to prevent any
weirdness/confusion there.
Co-authored-by: Nick Sieger <nicksieger@gmail.com>
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-12-05 22:11:45 +00:00
Laura Brehm
7424a3d3c1
Fix Makefile target `validate-go-mod` to only run correct bakefile target
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2022-10-18 15:38:41 +02:00
Ulysses Souza
91eae4f035
Add Codecov
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2022-10-17 15:32:51 +02:00
Laura Brehm
c6109b2e5c
Add Makefile, buildx target to ensure root and e2e go.mod are kept in sync
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2022-09-27 02:35:57 +02:00
Laura Brehm
0dc64723c9
Restore `-s` in `uname` OS detection logic in `Makefile`
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2022-09-21 10:19:00 -04:00
Laura Brehm
6bc50cb457
Rework Makefile for better Windows support
...
Fixes error when attempting to run `uname` on Windows, and add `.exe` to built binary on `make` if on Windows
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2022-09-20 11:33:31 -04:00
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