GitLab CI: refactor package lists and add generate&check medkit
- Refactor package lists:
There was an added test for package lists, but it runs twice. If you check in the previous changes then there are two jobs, which do practically the same. In generate pkglists there are generated lists with debug parameter, but we don't work with that anymore, which is wrong. And because of that, we had another job check generated pkglists, where we are generating lists once again and then we are checking if those have been generated.
Solution: Don't waste hardware resources and run it just once. When package lists are generated then the artifact is uploaded and uses in the next job in the same stage.
- Verify patches for Turris MOX
In some cases patches does not apply for some devices, let's try to
test Turris MOX as well.
-
Medkit:
We are testing in Gitlab CI if patches apply and also that package list can be generated and then we checked them. We should try to generate and check for medkit as well.
Because someone on IRC (#turris on Freenode) complained that he could not generate medkit.
It helped me to reproduce his issue with Gitlab CI and he didn't have installed pkg-config (dependency for Updater-ng, which is used to generate medkits), because it was working for me locally and also it works on our CI, but it does not provide any logs to public. This can help users to know if medkits can be generated.