Skip to content
Snippets Groups Projects
Unverified Commit 0e2c7507 authored by Oliver Smith's avatar Oliver Smith
Browse files

Wiki CI: require all devices to be booting

In gitlab, there is no extra CI job running for commits in a merge
request (MR). This means, we can't run different code in a MR against
"master".

So instead of only checking whether all devices are booting if there's
a MR against master, always perform this check.

I've edited the message slightly, so it's clear that it's only required
to have the devices booting when making a merge request against master.
parent dfbcd31a
No related branches found
No related tags found
1 merge request!1645Wiki CI: require all devices to be booting
Pipeline #188195 passed
......@@ -22,7 +22,7 @@ stages:
wiki-test:
stage: checks
script:
- "./test/check_devices_in_wiki.py"
- "./test/check_devices_in_wiki.py --booting"
static-code-analysis:
stage: checks
......
......@@ -68,8 +68,9 @@ def check_device(device, html, is_booting):
return True
if device in html["not_booting"]:
if is_booting:
print(device + ": wrong section of the wiki, this should be in"
" booting already")
print(device + ": still in 'not booting' section (if this is a"
" merge request, your device should be in the booting"
" section already)")
return False
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment