nixos/tests/hydra: set the project visible

If projects are not visible, the are not taken into account by search
queries and it's quite hard to debug!
This commit is contained in:
Antoine Eiche 2018-11-08 08:43:39 +01:00
parent adf41ed942
commit 50d9f551cb

View File

@ -31,7 +31,8 @@ mycurl -X POST -d '@data.json' $URL/login -c hydra-cookie.txt
cat >data.json <<EOF
{
"displayname":"Trivial",
"enabled":"1"
"enabled":"1",
"visible":"1"
}
EOF
mycurl --silent -X PUT $URL/project/$PROJECT_NAME -d @data.json -b hydra-cookie.txt