Add sign Drone and suppress opennssl package in script

This commit is contained in:
MrArmonius 2021-07-09 16:24:03 +02:00
parent a9d9484f23
commit 3e658ac201
2 changed files with 4 additions and 2 deletions

View file

@ -14,11 +14,13 @@ steps:
- name: test_bottin - name: test_bottin
image: consul:latest image: consul:latest
environment:
BOTTIN_DEFAULT_ADMIN_PW: priZ4Cg0x5NkSyiIN/MpvWw4ZEy8f8s1
commands: commands:
- ash test_automatic/start_test.sh - ash test_automatic/start_test.sh
--- ---
kind: signature kind: signature
hmac: de69bea7ec60ab7e7cedf2407f724c489a740d7367bbac1dc7abfc4b8b1c94af hmac: a4455c124ee87ca8b0ef1779560703573f3a3f24d406e4cb281b9e0dab4ceeda
... ...

View file

@ -2,7 +2,7 @@
trap "exit" INT TERM ERR trap "exit" INT TERM ERR
trap "kill 0" EXIT trap "kill 0" EXIT
export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24) #export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)
echo $BOTTIN_DEFAULT_ADMIN_PW echo $BOTTIN_DEFAULT_ADMIN_PW
consul agent -dev > /dev/null 2>&1 & consul agent -dev > /dev/null 2>&1 &
sleep 2 sleep 2