Fix pipeline
Unittests / unittests (push) Failing after 1m53s Details
Unittests / deploy-dev (push) Failing after 0s Details

This commit is contained in:
Adam Štrauch 2023-11-25 19:19:49 +01:00
parent 0f0b6dc210
commit 29ccaf10f4
Signed by: cx
GPG Key ID: 7262DAFE292BCE20
1 changed files with 5 additions and 2 deletions

View File

@ -8,8 +8,6 @@ on:
jobs:
unittests:
runs-on: [amd64, moon]
env:
NODES: 192.168.1.236 192.168.1.220
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
@ -19,9 +17,14 @@ jobs:
run: |
make test
deploy-dev:
runs-on: [amd64, moon]
env:
NODES: 192.168.1.236 192.168.1.220
steps:
- name: deploy
run: |
docker run --rm --privileged -ti -v ${shell pwd}:/srv golang:1.20-buster /bin/sh -c "cd /srv && go build"
ssh -o StrictHostKeyChecking=accept-new root@$HOST echo "Setting up host keys"
for NODE in $NODES; do
echo "\033[0;32mDeploying $NODE\033[0m"