Skip to content
Snippets Groups Projects
Commit 256f6b49 authored by GitBot's avatar GitBot
Browse files

Integrate gitlab-ci/update-dual-espresso-path and 1 more

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@e6980d48

Update meta-seconorth-dual-espresso path

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@83002e07

accept_merge_request: explicitly check if MR has merge conflicts

According to the documentation [1] we should get a 406 error from the
API if we try to merge a merge request which has a merge conflict. We
are experiencing a different behaviour, though, where we are getting a
405 error in this case. There is an open GitLab issue on this topic [2].

In our error handling we assumed that the reason for a 405 error is most
likely a required pipeline which is still running. This assumtion,
however, leads to wrong behaviour in cases where no pipeline is started
at all.

Fixing this now by explicitly checking for merge conflicts at the very
beginning of the error handling sequence.

[1]: https://docs.gitlab.com/ee/api/merge_requests.html#merge-a-merge-request
[2]: https://gitlab.com/gitlab-org/gitlab/-/issues/364102
parent 511d2a11
No related branches found
No related tags found
1 merge request!55Integrate gitlab-ci/update-dual-espresso-path and 1 more
Subproject commit 0885629d15caf5bfe0b91bff3b55dbb260def2e9
Subproject commit e6980d48ee67bafe2049ca9d36820070bc1479d1
......@@ -4,7 +4,7 @@
# ---------------------------------------------------------------------------------------
include:
- project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci'
ref: 0885629d15caf5bfe0b91bff3b55dbb260def2e9
ref: e6980d48ee67bafe2049ca9d36820070bc1479d1
file: 'manifest-integration.yml'
variables:
......
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