-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
31 lines (31 loc) · 1.04 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: 'Streamr Docker Dev Action'
description: 'Start Streamr Docker Stack'
branding:
icon: 'layers'
color: 'orange'
inputs:
services-to-start:
description: 'Streamr Docker Stack services to start'
required: false
# If changing the default list of services below, update examples in README.md
default: 'mysql cassandra parity-node0 parity-sidechain-node0 broker-node-storage-1 nginx platform'
branch:
description: 'Streamr Docker Branch to Use'
required: false
default: 'main'
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
with:
repository: streamr-dev/streamr-docker-dev
ref: ${{ inputs.branch }}
path: streamr-docker-dev
- run: |
cp streamr-docker-dev/streamr-docker-dev/bin.sh streamr-docker-dev/streamr-docker-dev/streamr-docker-dev
echo "$(pwd)/streamr-docker-dev/streamr-docker-dev" >> $GITHUB_PATH
shell: bash
- run: |
streamr-docker-dev start ${{ inputs.services-to-start }}
streamr-docker-dev wait
shell: bash