Commit Graph

2888 Commits

Author SHA1 Message Date
Mathieu Champlon 7b03b04484
Merge pull request #1916 from mikesir87/allow-unspecified-protocol-on-port
Allow unspecified protocol on exposed port in kube backend
2021-07-28 07:47:05 +02:00
Mathieu Champlon f09336e519
Merge pull request #1953 from amineck/no_pass
Post-login msg: Ignore if password is empty
2021-07-28 07:46:17 +02:00
Lorena Rangel 657025eb94
Merge pull request #1952 from amineck/pat_suggest_url
Update personal access token url
2021-07-27 16:11:41 +02:00
Ulysses Souza 230b9b592e
Merge pull request #1942 from ndeloof/heml_oras
stop using helm fork for oras dependency conflict
2021-07-26 14:50:56 -07:00
dependabot[bot] 8b8e5218c3
Bump github.com/containerd/containerd from 1.5.0 to 1.5.4
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.0 to 1.5.4.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.0...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 21:40:35 +00:00
Amine Chouki 2edd8c216b Trigger CI
Signed-off-by: Amine Chouki <amine.chouki@docker.com>
2021-07-26 11:02:44 -04:00
Amine Chouki 3f59e9a3ad Ignore if password is empty
Signed-off-by: Amine Chouki <amine.chouki@docker.com>
2021-07-26 10:37:58 -04:00
Amine Chouki 33454c6ebd Update personal access token url
Signed-off-by: Amine Chouki <amine.chouki@docker.com>
2021-07-26 10:33:57 -04:00
Nicolas De loof b9f38feb25
Merge pull request #1935 from shua/scale0 2021-07-26 08:23:50 +02:00
Nicolas De loof 3d83989f5d
Merge pull request #1773 from ulyssessouza/completion 2021-07-26 08:23:13 +02:00
Nicolas De loof 1b76c746fe
Merge pull request #1934 from ndeloof/control_char_run 2021-07-26 08:22:57 +02:00
Nicolas De loof de6bdd4313
Merge pull request #1943 from amineck/pat_msg 2021-07-23 17:50:47 +02:00
JD Lloret c82dd55fd2
allow for 0 scale/replicas
Signed-off-by: JD Lloret <jd.lloret@joyent.com>
2021-07-23 11:38:20 -04:00
Amine Chouki 5c427ef702 Move pat_suggest.go into `cli` package
Signed-off-by: Amine Chouki <amine.chouki@docker.com>
2021-07-23 10:55:31 -04:00
Nicolas De Loof 86eadc7d67
reduce complexity (linter)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-23 15:20:53 +02:00
Nicolas De Loof 0b72b502d3
close container stream on os.stdin EOF
close https://github.com/docker/compose-cli/issues/1944

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-23 14:53:26 +02:00
Nicolas De Loof c257001e5a
Restore support for control sequence in `compose run`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-23 13:58:58 +02:00
Nicolas De Loof c3f990f0a2
replace deprecated method after transitive dependency update
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-23 10:37:24 +02:00
Nicolas De loof d993c47db6
Merge pull request #1937 from milas/cli-service-order
Print services in dependency order
2021-07-23 10:01:41 +02:00
Amine Chouki e16d0b48dd use github.com/hashicorp/go-uuid
Signed-off-by: Amine Chouki <amine.chouki@docker.com>
2021-07-22 16:58:00 -04:00
Amine Chouki 906e1b4305 Add a post-login message to promote personal access tokens
Signed-off-by: Amine Chouki <amine.chouki@docker.com>
2021-07-22 16:58:00 -04:00
Nicolas De Loof 12c2b470bc
stop using helm fork for oras dependency conflict
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-22 17:48:49 +02:00
Nicolas De Loof afc9cf8018
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-22 17:22:51 +02:00
Milas Bowman 1e35245390 Print services in dependency order
Currently, `compose config --services` outputs the services in
a random/non-deterministic order.

In Compose v1, this was implicitly topologically sorted because
the project services were pre-sorted. With `compose-go`, the
services are unordered, and the `WithServices()` helper can be
used to iterate in dependency order.

Signed-off-by: Milas Bowman <milasb@gmail.com>
2021-07-21 11:11:38 -04:00
Nicolas De loof 54dc6f9374
Merge pull request #1926 from ulyssessouza/fix-dotEnv-load-precedence
Fix dotEnv load path precedence by compose-go bump
2021-07-19 15:56:39 +02: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
Ulysses Souza 43c4db439e Fix dotEnv load path precedence by compose-go bump
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-16 11:03:14 -03:00
Ulysses Souza c28aec2308 Filter completions by toComplete variable
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-12 14:33:37 -03:00
Ulysses Souza 72b66fb5c1 Add 'no completion' or 'service' completion
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-12 14:33:37 -03:00
Ulysses Souza 37961c51ca Add completion to "compose ps"
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-12 14:33:37 -03:00
Ulysses Souza 3174f49dc2 Add completion to shells
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-12 14:33:37 -03:00
Michael Irwin e62bfc87c2
Allow unspecified protocol on exposed port in kube backend
Signed-off-by: Michael Irwin <mikesir87@gmail.com>

The Compose spec doesn't provide a default value, but the code
was defaulting to TCP in the service protocol, just not in the
name. If no protocol was specified, it would cause an invalid
service name (eg, "80-")
2021-07-12 11:23:56 -04:00
Nicolas De loof 7a4e111794
Merge pull request #1852 from ulyssessouza/logs-follow-scale 2021-07-12 17:23:37 +02:00
Nicolas De loof ba4a74267d
Merge pull request #1913 from ndeloof/nothing_to_start 2021-07-12 17:21:20 +02:00
Lorena Rangel 8fd04195be
Merge pull request #1914 from ndeloof/run_volumes
run -v should not remove configured volumes
2021-07-12 16:02:21 +02:00
Ulysses Souza 287f3156ae Detect new containers on logs --follow
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-12 09:02:51 -03:00
Nicolas De Loof e6f7c64eb8
run -v should not remove configured volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-12 12:40:37 +02:00
Nicolas De Loof 0a5b43d1e3
report error when there's no container to start
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-12 12:10:50 +02:00
Nicolas De loof 2e99f805e1
Merge pull request #1912 from ndeloof/ps_services 2021-07-12 10:51:17 +02:00
Nicolas De Loof bf0b75cee0
report error on `ps` when no container found for service(s)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-07-12 10:42:31 +02:00
Mathieu Champlon 396d449d36
Merge pull request #1906 from mikesir87/fix-log-names
Fix container name used in kube log output
2021-07-09 08:08:50 +02:00
Mathieu Champlon a8fc2149b3
Merge pull request #1904 from ulyssessouza/bump-compose-go-volumes-lowcase
Bump compose-go
2021-07-09 08:01:53 +02:00
Michael Irwin 8c5b970376
Fix container name used in kube log output
Signed-off-by: Michael Irwin <mikesir87@gmail.com>
2021-07-08 22:04:01 -04:00
Ulysses Souza f4947b68e5 Bump compose-go
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-08 18:37:25 -03:00
Ulysses Souza ed0b123b75
Merge pull request #1901 from mat007/fix-races
Fix races
2021-07-07 11:11:11 -03:00
Mathieu Champlon 2d0d3881ac Fix slice access
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-07-07 12:57:13 +02:00
Mathieu Champlon 9317ffc0ab Serialize access to observed state
This should fix concurrent accesses to the map.

Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-07-07 12:25:32 +02:00
Mathieu Champlon 918fe00f3e Fix loop variable captures in goroutines
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-07-07 12:25:22 +02:00
Mathieu Champlon 9d031553f3
Merge pull request #1897 from mikesir87/update-context-help-for-k8s
Fix help text when for context create and kube backend
2021-07-07 07:52:59 +02:00
Michael Irwin 08c2c44beb
Fix help text when for context create and kube backend
Signed-off-by: Michael Irwin <mikesir87@gmail.com>
2021-07-06 15:46:00 -04:00