Correctly handle archived projects
Improves handling of archived projects:
- Do not allow to register already archived project
- Skip automatic registration when project is archived
- Remove update jobs for archived projects automatically if "automatic" registration is enabled
- Refactor automatic registration logic and general code improvements
Closes: https://gitlab.com/dependabot-gitlab/dependabot/-/issues/263
Allure report
allure-report-publisher
generated test report!
rspec:
+------------------------------------------------------------------+
| behaviors summary |
+-------------+--------+--------+---------+-------+-------+--------+
| | passed | failed | skipped | flaky | total | result |
+-------------+--------+--------+---------+-------+-------+--------+
| jobs | 14 | 0 | 0 | 0 | 14 | ✅ |
| services | 177 | 0 | 0 | 0 | 177 | ✅ |
| controllers | 25 | 0 | 0 | 0 | 25 | ✅ |
| models | 4 | 0 | 0 | 0 | 4 | ✅ |
| system | 10 | 0 | 0 | 0 | 10 | ✅ |
| tasks | 9 | 0 | 0 | 0 | 9 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
| Total | 239 | 0 | 0 | 0 | 239 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov