* Fixing push/popd path typo

* Removing export command from cargo-unit-test job
This was causing the job to fail so the env vars have been moved to live under
the ci file's job-level variables key
This commit is contained in:
shockrah 2021-05-01 17:13:32 -07:00
parent f845f1e1ec
commit 11d1652467
2 changed files with 3 additions and 5 deletions

View File

@ -154,9 +154,7 @@ cargo-test-json-api:
script: script:
- cd json-api/ - cd json-api/
- export HMAC_PATH="../hmac.secret" && \ - cargo test --release
export WSS_HMAC_PATH="../wss-hmac.secret" && \
cargo test --release
artifacts: artifacts:
paths: paths:

View File

@ -1,14 +1,14 @@
#!/bin/bash #!/bin/bash
# First the rtc server # First the rtc server
pushd ../rtc-server/ pushd ./rtc-server/
echo Setting up RTC server echo Setting up RTC server
npm run autotest& npm run autotest&
rtc_pid=$! rtc_pid=$!
popd popd
# Next the json api # Next the json api
pushd ../json-api/ pushd ./json-api/
echo Setting up API server echo Setting up API server
cargo run --release -- -H ../hmac.secret -w ../wss-hmac.secret -s& cargo run --release -- -H ../hmac.secret -w ../wss-hmac.secret -s&
json_pid=$! json_pid=$!