Skip to content
Snippets Groups Projects
Commit 9645ef70 authored by Rick Carback's avatar Rick Carback
Browse files

Remove basice2eTLS, as basice2e is TLS by default. Leave the original with...

Remove basice2eTLS, as basice2e is TLS by default. Leave the original with comment as to why it was disabled.
parent 661bdfb6
No related branches found
No related tags found
No related merge requests found
......@@ -94,24 +94,27 @@ basice2e:
- basice2e/results/
- bin/
basice2eTLS:
stage: tests
image: $DOCKER_IMAGE
script:
- mkdir -p ~/.elixxir
- echo $PWD
- cd basice2e
- for CONFIG in $(echo *.yaml); do echo $CONFIG; sed -i 's/cert\:\ \"\"/cert\:\ \"\.\.\/keys\/cmix\.rip\.crt\"/g' $CONFIG; sed -i 's/key\:\ \ \"\"/key\:\ \ \"\.\.\/keys\/cmix\.rip\.key\"/g' $CONFIG; done
- for CONFIG in $(echo *.yaml); do echo $CONFIG; sed -i 's/ertPath\:\ \"\"/ertPath\:\ \"\.\.\/keys\/cmix\.rip\.crt\"/g' $CONFIG; sed -i 's/keyPath\:\ \"\"/keyPath\:\ \"\.\.\/keys\/cmix\.rip\.key\"/g' $CONFIG; done
- sed -i "s/\"Tls\_certificate\"\:\ \"\"/\"Tls\_certificate\"\:\ \"$(awk -v ORS='\\n' '1' ../keys/cmix.rip.crt | sed -e 's/[\/&]/\\&/g')\"/g" ndf.json
- sed -i 's/\-\-noTLS//g' run.sh
- ./run.sh
- cd ..
artifacts:
when: always
paths:
- basice2e/
- bin/
# NOTE: This was removed because of port conflicts with the base test. Instead
# we run in TLS mode by default and disable this version
# basice2eTLS:
# stage: tests
# image: $DOCKER_IMAGE
# script:
# - mkdir -p ~/.elixxir
# - echo $PWD
# - cd basice2e
# - for CONFIG in $(echo *.yaml); do echo $CONFIG; sed -i 's/cert\:\ \"\"/cert\:\ \"\.\.\/keys\/cmix\.rip\.crt\"/g' $CONFIG; sed -i 's/key\:\ \ \"\"/key\:\ \ \"\.\.\/keys\/cmix\.rip\.key\"/g' $CONFIG; done
# - for CONFIG in $(echo *.yaml); do echo $CONFIG; sed -i 's/ertPath\:\ \"\"/ertPath\:\ \"\.\.\/keys\/cmix\.rip\.crt\"/g' $CONFIG; sed -i 's/keyPath\:\ \"\"/keyPath\:\ \"\.\.\/keys\/cmix\.rip\.key\"/g' $CONFIG; done
# - sed -i "s/\"Tls\_certificate\"\:\ \"\"/\"Tls\_certificate\"\:\ \"$(awk -v ORS='\\n' '1' ../keys/cmix.rip.crt | sed -e 's/[\/&]/\\&/g')\"/g" ndf.json
# - sed -i 's/\-\-noTLS//g' run.sh
# - ./run.sh
# - cd ..
# artifacts:
# when: always
# paths:
# - basice2e/
# - bin/
smokeinfra:
stage: tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment