Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 53da0fe

Browse files
committed
deprecation notice
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 9ef8fac commit 53da0fe

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
## :warning: "Cloud Integrations" is DEPRECATED
2+
3+
Compose CLI a.k.a "Cloud Integrations" has been deprecated. Critical security fixes only will be considered for this repository. Compose CLI will be considered End of Live on January 1st 2024.
4+
5+
ECS user should consider using https://github.com/docker/compose-ecs
6+
7+
18
# Docker Compose "Cloud Integrations"
29

310
[![Actions Status](https://github.com/docker/compose-cli/workflows/Continuous%20integration/badge.svg)](https://github.com/docker/compose-cli/actions)
411
[![Actions Status](https://github.com/docker/compose-cli/workflows/Windows%20CI/badge.svg)](https://github.com/docker/compose-cli/actions)
512

13+
614
This Compose CLI tool makes it easy to run Docker containers and Docker Compose applications in the cloud using either :
715
- Amazon Elastic Container Service
816
([ECS](https://aws.amazon.com/ecs))

aci/backend.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
package aci
1818

1919
import (
20+
"fmt"
21+
"os"
2022
"strings"
2123

2224
"github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2019-12-01/containerinstance"
@@ -67,6 +69,7 @@ func init() {
6769
}
6870

6971
func service() (backend.Service, error) {
72+
fmt.Fprintln(os.Stderr, "Cloud integration is DEPRECATED. Read more on https://docs.docker.com/cloud/aci-integration/")
7073
contextStore := store.Instance()
7174
currentContext := apicontext.Current()
7275
var aciContext store.AciContext

aci/cloud.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ package aci
1818

1919
import (
2020
"context"
21+
"fmt"
22+
"os"
2123

2224
"github.com/pkg/errors"
2325

@@ -47,6 +49,7 @@ func (cs *aciCloudService) Logout(ctx context.Context) error {
4749
}
4850

4951
func (cs *aciCloudService) CreateContextData(ctx context.Context, params interface{}) (interface{}, string, error) {
52+
fmt.Fprintln(os.Stderr, "Cloud integration is DEPRECATED. Read more on https://docs.docker.com/cloud/aci-integration/")
5053
contextHelper := newContextCreateHelper()
5154
createOpts := params.(ContextParams)
5255
return contextHelper.createContextData(ctx, createOpts)

ecs/backend.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package ecs
1919
import (
2020
"context"
2121
"fmt"
22+
"os"
2223

2324
"github.com/docker/compose-cli/api/backend"
2425
"github.com/docker/compose-cli/api/cloud"
@@ -62,6 +63,7 @@ func init() {
6263
}
6364

6465
func service() (backend.Service, error) {
66+
fmt.Fprintln(os.Stderr, "Cloud integration is DEPRECATED. Read more on https://docs.docker.com/cloud/ecs-integration/")
6567
contextStore := store.Instance()
6668
currentContext := apicontext.Current()
6769
var ecsContext store.EcsContext
@@ -155,6 +157,7 @@ func (a ecsCloudService) Logout(ctx context.Context) error {
155157
}
156158

157159
func (a ecsCloudService) CreateContextData(ctx context.Context, params interface{}) (interface{}, string, error) {
160+
fmt.Fprintln(os.Stderr, "Cloud integration is DEPRECATED. Read more on https://docs.docker.com/cloud/ecs-integration/")
158161
contextHelper := newContextCreateHelper()
159162
createOpts := params.(ContextParams)
160163
return contextHelper.createContextData(ctx, createOpts)

0 commit comments

Comments
 (0)