* 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 committed 2021-05-01 17:13:32 -07:00
1 parent f845f1e1ec
commit 11d1652467
2 files changed
+3 -5

No files matched your search

+1 -3
View File
@@ -154,9 +154,7 @@ cargo-test-json-api:
script:
- cd json-api/
- export HMAC_PATH="../hmac.secret" && \
export WSS_HMAC_PATH="../wss-hmac.secret" && \
cargo test --release
- cargo test --release
artifacts:
paths:
+2 -2
View File
@@ -1,14 +1,14 @@
#!/bin/bash
# First the rtc server
pushd ../rtc-server/
pushd ./rtc-server/
echo Setting up RTC server
npm run autotest&
rtc_pid=$!
popd
# Next the json api
pushd ../json-api/
pushd ./json-api/
echo Setting up API server
cargo run --release -- -H ../hmac.secret -w ../wss-hmac.secret -s&
json_pid=$!