cloudevents / sdk-go

Go SDK for CloudEvents
https://cloudevents.github.io/sdk-go/
Apache License 2.0
819 stars 217 forks source link

Create `docker-compose` to run integration tests easily locally #966

Open embano1 opened 12 months ago

embano1 commented 12 months ago

Acceptance criteria:

Ref: #963

duglin commented 12 months ago

In general I'm ok with this, but it does raise the bar of what's required of devs. Personally, I don't use (or have installed compose) I if needed I can adapt :-)

embano1 commented 12 months ago

Compose comes with Docker (which we require already today). Based on my experience, it actually simplifies the developer experience and prevents common issues in multi-container setups.

duglin commented 12 months ago

oh cool - for some reason I thought it was a separate install.

embano1 commented 12 months ago

Yup, assuming most users have Docker Desktop installed

Compose V2 is included with all currently supported versions of Docker Desktop. For more information, see Migrate to Compose V2.

Compose V2 integrates compose functions into the Docker platform, continuing to support most of the previous docker-compose features and flags. You can run Compose V2 by replacing the hyphen (-) with a space, using docker compose, instead of docker-compose.