mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-02 10:35:15 -05:00
GitlabCI install curl and jq in base image
This commit is contained in:
parent
463d46a26f
commit
a95b99dcb4
@ -29,30 +29,29 @@ build-and-test:
|
||||
docker run --name retroshare --detach --tty
|
||||
"$CI_REGISTRY_IMAGE:testing"
|
||||
retroshare-service --jsonApiPort 9092
|
||||
- docker exec retroshare apt-get install -y curl
|
||||
- >
|
||||
docker exec retroshare
|
||||
curl --verbose http://127.0.0.1:9092/jsonApiServer/version
|
||||
curl --verbose http://127.0.0.1:9092/jsonApiServer/version | jq
|
||||
- >
|
||||
docker exec retroshare
|
||||
curl --verbose http://127.0.0.1:9092/rsMsgs/getChatLobbyList
|
||||
curl --verbose http://127.0.0.1:9092/rsMsgs/getChatLobbyList | jq
|
||||
- >
|
||||
docker exec retroshare
|
||||
curl --verbose http://127.0.0.1:9092/rsLoginHelper/getLocations
|
||||
curl --verbose http://127.0.0.1:9092/rsLoginHelper/getLocations | jq
|
||||
- >
|
||||
docker exec retroshare
|
||||
curl --verbose --data
|
||||
'{ "location":{ "mLocationName":"Test 1", "mPpgName":"Test2",
|
||||
"makeHidden":false, "makeAutoTor":false }, "password":"Test 3",
|
||||
"caller_data":"Test 5" }'
|
||||
http://127.0.0.1:9092/rsLoginHelper/createLocation
|
||||
http://127.0.0.1:9092/rsLoginHelper/createLocation | jq
|
||||
- >
|
||||
docker exec retroshare
|
||||
curl --verbose http://127.0.0.1:9092/rsLoginHelper/getLocations
|
||||
curl --verbose http://127.0.0.1:9092/rsLoginHelper/getLocations | jq
|
||||
- >
|
||||
docker exec retroshare
|
||||
curl --verbose http://127.0.0.1:9092/rsLoginHelper/isLoggedIn
|
||||
curl --verbose http://127.0.0.1:9092/rsLoginHelper/isLoggedIn | jq
|
||||
- >
|
||||
docker exec retroshare
|
||||
curl --verbose http://127.0.0.1:9092/rsMsgs/getChatLobbyList
|
||||
curl --verbose http://127.0.0.1:9092/rsMsgs/getChatLobbyList | jq
|
||||
- docker container stop retroshare
|
||||
|
@ -23,7 +23,7 @@ RUN \
|
||||
apt-get install -y build-essential libssl-dev libbz2-dev libsqlite3-dev \
|
||||
libsqlcipher-dev libupnp-dev pkg-config libz-dev \
|
||||
qt5-default libxapian-dev qttools5-dev doxygen rapidjson-dev \
|
||||
git cmake
|
||||
git cmake curl jq
|
||||
|
||||
ARG FRESHCLONE=0
|
||||
ARG REPO_URL=https://gitlab.com/RetroShare/RetroShare.git
|
||||
|
Loading…
x
Reference in New Issue
Block a user