-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,31 @@ | ||
Test | ||
# cp-all-in-one-action | ||
|
||
This action runs [cp-all-in-one](https://github.com/confluentinc/cp-all-in-one/tree/latest/cp-all-in-one), a Docker Compose for Confluent Platform. See [Confluent documentation](https://docs.confluent.io/platform/current/tutorials/build-your-own-demos.html) for details. | ||
|
||
# Usage | ||
|
||
- `service`: up to which service in the docker-compose.yml file to run. Default is none, so all services are run | ||
- `github-branch-version`: which GitHub branch of [cp-all-in-one](https://github.com/confluentinc/cp-all-in-one) to run. Default is `latest`. | ||
|
||
Example to run ZooKeeper and broker on Confluent Platform `7.1.0`: | ||
|
||
```yaml | ||
|
||
steps: | ||
|
||
- name: Run Confluent Platform (Confluent Server) | ||
uses: ./.github/actions/cp-all-in-one | ||
with: | ||
service: broker | ||
github-branch-version: 7.1.0-post | ||
``` | ||
Example to run all services on `latest`: | ||
|
||
```yaml | ||
steps: | ||
- name: Run Confluent Platform (Confluent Server) | ||
uses: ./.github/actions/cp-all-in-one | ||
``` |