Api server status hotfix
This MR fixes issues with failed vat api calls as well as issues with url formatting for requests.get
.
The lint and check-cves stages now allow failures on exit 3, which should only happen if the api call fails. We'll need to remove the allow failure those stages when we convert to using the vat api instead of the vat db query in the future.
Successful pipeline runs:
- https://repo1.dso.mil/dsop/opensource/wordpress/wordpress/-/jobs/2194667
- https://repo1.dso.mil/dsop/rancher-federal/rke2/defaultbackend-amd64/-/jobs/2196427 (exit 1)
- https://repo1.dso.mil/dsop/rancher-federal/rke2/defaultbackend-amd64/-/jobs/2196397 (exit 3)
- https://repo1.dso.mil/dsop/rancher-federal/rke2/defaultbackend-amd64/-/jobs/2196504 (exit 0)
Edited by Kenneth Maguire