mirror of
https://github.com/planetmint/planetmint.git
synced 2026-03-22 08:03:21 +00:00
added script for ci testing
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
12
scripts/test.sh
Executable file
12
scripts/test.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# Copyright © 2020 Interplanetary Database Association e.V.,
|
||||
# Planetmint and IPDB software contributors.
|
||||
# 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 'bash -s' < ./election.sh elect 35)
|
||||
ssh root@64.225.105.60 'bash -s' < ./election.sh approve $result
|
||||
|
||||
exitcode=$?
|
||||
|
||||
exit exitcode
|
||||
Reference in New Issue
Block a user