changed paths for test script (#46)

* changed paths for test script

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>

* set host key checking strategy

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>

* try to change permission during ci execution

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>

* checking exit code

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>

* removed redundant step

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>

* reverted ci files to previous state

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2022-02-21 10:21:58 +01:00 committed by GitHub
parent 8ca0eec642
commit a9be85caba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -14,6 +14,7 @@ elif [[ ${PLANETMINT_CI_ABCI} == 'enable' ]]; then
elif [[ ${PLANETMINT_ACCEPTANCE_TEST} == 'enable' ]]; then
./run-acceptance-test.sh
elif [[ ${PLANETMINT_INTEGRATION_TEST} == 'enable' ]]; then
chmod 600 id_ed25519
./run-integration-test.sh
./scripts/test.sh
else

View File

@ -4,9 +4,5 @@
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
result=$(ssh root@64.225.106.52 -i id_ed25519 'bash -s' < ./election.sh elect 35)
ssh root@64.225.105.60 -i id_ed25519 'bash -s' < ./election.sh approve $result
exitcode=$?
exit exitcode
result=$(ssh -o StrictHostKeyChecking=accept-new root@64.225.106.52 -i id_ed25519 'bash -s' < scripts/election.sh elect 35)
ssh -o StrictHostKeyChecking=accept-new root@64.225.105.60 -i id_ed25519 'bash -s' < scripts/election.sh approve $result