Commit Graph

110 Commits

Author SHA1 Message Date
CrazyMax 0a53d93338
ci: release workflow to open a PR on docs repo with latest changes
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-06-24 18:40:08 +02:00
Sebastiaan van Stijn d2639a8638
update golang to 1.18.3
go1.18.3 (released 2022-06-01) includes security fixes to the crypto/rand,
crypto/tls, os/exec, and path/filepath packages, as well as bug fixes to the
compiler, and the crypto/tls and text/template/parse packages. See the Go
1.18.3 milestone on our issue tracker for details:

https://github.com/golang/go/issues?q=milestone%3AGo1.18.3+label%3ACherryPickApproved

Hello gophers,

We have just released Go versions 1.18.3 and 1.17.11, minor point releases.

These minor releases include 4 security fixes following the security policy:

- crypto/rand: rand.Read hangs with extremely large buffers
  On Windows, rand.Read will hang indefinitely if passed a buffer larger than
  1 << 32 - 1 bytes.

  Thanks to Davis Goodin and Quim Muntal, working at Microsoft on the Go toolset,
  for reporting this issue.

  This is [CVE-2022-30634][CVE-2022-30634] and Go issue https://go.dev/issue/52561.
- crypto/tls: session tickets lack random ticket_age_add
  Session tickets generated by crypto/tls did not contain a randomly generated
  ticket_age_add. This allows an attacker that can observe TLS handshakes to
  correlate successive connections by comparing ticket ages during session
  resumption.

  Thanks to GitHub user nervuri for reporting this.

  This is [CVE-2022-30629][CVE-2022-30629] and Go issue https://go.dev/issue/52814.
- `os/exec`: empty `Cmd.Path` can result in running unintended binary on Windows

  If, on Windows, `Cmd.Run`, `cmd.Start`, `cmd.Output`, or `cmd.CombinedOutput`
  are executed when Cmd.Path is unset and, in the working directory, there are
  binaries named either "..com" or "..exe", they will be executed.

  Thanks to Chris Darroch, brian m. carlson, and Mikhail Shcherbakov for reporting
  this.

  This is [CVE-2022-30580][CVE-2022-30580] and Go issue https://go.dev/issue/52574.
- `path/filepath`: Clean(`.\c:`) returns `c:` on Windows

  On Windows, the `filepath.Clean` function could convert an invalid path to a
  valid, absolute path. For example, Clean(`.\c:`) returned `c:`.

  Thanks to Unrud for reporting this issue.

  This is [CVE-2022-29804][CVE-2022-29804] and Go issue https://go.dev/issue/52476.

[CVE-2022-30634]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30634
[CVE-2022-30629]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30629
[CVE-2022-30580]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30580
[CVE-2022-29804]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29804

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-06-02 09:56:16 +02:00
Guillaume Lours 6b71073ae2
Merge pull request #9453 from glours/go-18
update golang version to 1.18
2022-05-23 10:41:03 +02:00
Guillaume Lours 71600a52bf
update golang version to 1.18
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-05-20 22:13:55 +02: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
Sneha Kanekar1 e0286360a8 add support for ppc64le
Signed-off-by: Sneha Kanekar1 <sneha.kanekar1@ibm.com>
2022-04-14 17:25:01 +05:30
MaxPeal 5d809a2e89 create also a checksums.txt file, add --binary
create also a checksums.txt file
and switch shasum to --binary,
to Fix problems with the verification on different OS systems
fixes https://github.com/docker/compose/issues/9388

Signed-off-by: MaxPeal <30347730+MaxPeal@users.noreply.github.com>
2022-04-14 09:06:35 +02:00
Guillaume Lours 09e0cca9a7 update CI github actions comment to mention docs validation
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-18 10:42:05 +01:00
Guillaume Lours d75f22cc7b publish a draft release with auto generate release notes
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-03-08 10:19:06 +01:00
Nicolas De Loof d47dcef1a6
use golangci-lint-action
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2022-02-17 18:10:28 +01:00
Ulysses Souza ce7a2412b1 Add dependabot
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-12-14 16:19:41 +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
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
Mathieu Champlon 9bc1dfe036 Update link to Docker Community Slack
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-10-27 07:33:57 +02:00
Nicolas De Loof 17d845b3d2 compute sha256 checksums while releasing
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-28 16:16:18 +02:00
Nicolas De Loof 1a73d1412d
release to tag on v2 branch
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-04 09:21:47 +02:00
Nicolas De Loof 37e0db31b8 fix release project to build with GIT_TAG
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-02 15:27:38 +02:00
Nicolas De Loof aa02a3d2d8
setup compose v2 release workflow
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-02 13:35:29 +02:00
Nicolas De Loof 19682173d7
fix make target for cross compilation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-01 15:30:33 +02: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 4bb025068c
Update .github/workflows/pending_answered.yml
Co-authored-by: Mathieu Champlon <mathieu.champlon@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-30 14:45:29 +02:00
Nicolas De Loof a95f09376d publish cross platform artifacts for PRs
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-30 14:43:05 +02:00
Paul Buonopane a6ef9f0981 Fix formatting bug in ISSUE_TEMPLATE.md
1. There was a trailing asterisk in one of the headers, preventing the formatting from being applied.
2. There needs to be a blank line between the bold header and the code block in order for formatting to be applied to the header.

Signed-off-by: Paul Buonopane <Zenexer@users.noreply.github.co>
2021-08-05 13:41:22 -04:00
Nicolas De loof 66fa1657f5
Merge pull request #1890 from lorenrh/il-222-release
Add dry run workflow to test release
2021-07-19 15:56:17 +02:00
Lorena Rangel edcb23b11f Add dry run workflow to test release
Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2021-07-05 10:07:37 +02:00
Randy Fay 1635451ac9 Issue template should ask for docker-compose version
Signed-off-by: Randy Fay <randy@randyfay.com>
2021-07-01 23:38:20 -06: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 1fed4dd47f
pending label auto-removal on new comment
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-24 09:51:58 +02:00
Nicolas De Loof fdd2cd85d0
include packaging LICENSE in release
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 15:47:13 +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
Nicolas De Loof 11c36bd9a0
rebase workflow
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-14 08:02:51 +02:00
Nicolas De Loof 7d4a768848 introduce support for /rebase
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-13 17:32:12 +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 add91ca068 Set our own docker CLI on windows nodes
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-30 18:08:24 +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 794f638bec Check context description in kube e2e
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 17:56:01 +01: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 74c394124c Add kube auto-labeller
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 12:22:57 +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
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
Guillaume Tardif fe90934ed3 Split optional CI workflows to allow re-running only ACI, ECS or Windows.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-05 18:20:15 +01:00
Chris Crone fd187426e5 ci: Bump linter
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-24 12:15:59 +01:00