Skip to content

Commit 08a6663

Browse files
committed
Add first version of action
1 parent 54b5908 commit 08a6663

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
on: [push]
2+
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
name: Testing streamr-docker-dev-action
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: streamr-dev/streamr-docker-dev-action@master
10+
- run: curl -v http://localhost/api/v1/products
11+
shell: bash

action.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Streamr Docker Dev Action'
2+
description: 'Start Streamr Docker Stack'
3+
inputs:
4+
services-to-start:
5+
description: 'Streamr Docker Stack services to start'
6+
required: false
7+
default: 'mysql redis engine-and-editor cassandra parity-node0 parity-sidechain-node0 bridge data-union-server broker-node-storage-1 nginx smtp platform'
8+
runs:
9+
using: "composite"
10+
steps:
11+
- run: git clone --depth 1 https://github.com/streamr-dev/streamr-docker-dev.git
12+
shell: bash
13+
- run: |
14+
sudo ifconfig docker0 10.200.10.1/24
15+
./streamr-docker-dev/bin.sh start ${{ inputs.services-to-start }}
16+
./streamr-docker-dev/bin.sh wait
17+
shell: bash
18+
working-directory: streamr-docker-dev

0 commit comments

Comments
 (0)