about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2018-11-08 08:43:39 +0100
committerAntoine Eiche <lewo@abesis.fr>2018-11-08 08:47:40 +0100
commit50d9f551cbc99c0cbcc3817b34f46e728fec2f45 (patch)
treefc3b25c8eea083af3f39705ccdede427475e22d8 /nixos/tests
parentadf41ed942c7cf4e5b172cdf3bc740ebcd442b1c (diff)
downloadnixlib-50d9f551cbc99c0cbcc3817b34f46e728fec2f45.tar
nixlib-50d9f551cbc99c0cbcc3817b34f46e728fec2f45.tar.gz
nixlib-50d9f551cbc99c0cbcc3817b34f46e728fec2f45.tar.bz2
nixlib-50d9f551cbc99c0cbcc3817b34f46e728fec2f45.tar.lz
nixlib-50d9f551cbc99c0cbcc3817b34f46e728fec2f45.tar.xz
nixlib-50d9f551cbc99c0cbcc3817b34f46e728fec2f45.tar.zst
nixlib-50d9f551cbc99c0cbcc3817b34f46e728fec2f45.zip
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!
Diffstat (limited to 'nixos/tests')
-rwxr-xr-xnixos/tests/hydra/create-trivial-project.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/hydra/create-trivial-project.sh b/nixos/tests/hydra/create-trivial-project.sh
index 3cca5665acc5..39122c9b473a 100755
--- a/nixos/tests/hydra/create-trivial-project.sh
+++ b/nixos/tests/hydra/create-trivial-project.sh
@@ -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