Fix pipeline
Unittests / unittests (push) Successful in 11s Details
Unittests / deploy-dev (push) Failing after 1m2s Details

This commit is contained in:
Adam Štrauch 2023-11-25 19:48:39 +01:00
parent ee5a4045e9
commit 22646025e4
Signed by: cx
GPG Key ID: 7262DAFE292BCE20
1 changed files with 5 additions and 4 deletions

View File

@ -40,12 +40,13 @@ jobs:
env:
NODES: 192.168.1.236 192.168.1.220
steps:
- uses: actions/checkout@v4
- name: deploy
run: |
echo LS1
ls
# docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && go build"
docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && echo LS2 && ls"
# echo LS1
# ls
docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && go build"
# docker run --rm --privileged -ti -v `pwd`:/srv golang:1.20-buster /bin/sh -c "cd /srv && echo LS2 && ls"
ssh -o StrictHostKeyChecking=accept-new root@$HOST echo "Setting up host keys"
for NODE in $NODES; do