Skip to content

Integrate gitlab-ci/fix_md5 and 7 more

Tobias Kahlki requested to merge integrate/gitlab-ci/fix_md5 into dunfell

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/faf2073101235c05c0bdcb7fd78895a2b86a4eeb

md5: Fixed invalid encoding in open

--

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/63279799336fa99bb8bbb908084017173ed44802

deploy_gitlab_ci: trigger pipeline only if it has not run before

--

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/4c6b46212830fe936c684866f096ba63946f95b7

wait_until_merge_status_is_set: always query merge request

The function used to rely on the given merge request object without checking its current state. If the given object was not in one of the "unchecked" states, it returned immediately. The state, however, could have changed between its last query and the call of this function, so it now checks the state first before deciding anything.

--

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/dfc6204abcdfce7f7ee51ee2127500f8aecfaafa

deploy_gitlab_ci: trigger pipeline on integration branch

--

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/669113ff5a25b7cfae84220d5e3beee1b3bc7fb1

gitlab-ci: upgrade python image to 3.9

Fix pylint errors introduced with new pylint version:

  • unspecified-encoding: explicitly set encoding when opening a file
  • assigning-non-slot: use "set_reference()" function instead of assigning a value to the "reference" attribute
  • unused-variable: remove "e" variable on exceptions when not referenced

--

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/1ef9007ed938d83fd7ed788a7fd7f7d4acd11ec2

accept_merge_request: explicitly remove source branch

A bug in python-gitlab > 2.7.0 1 brought this up: In the past we relied on the merge request's setting, whether the source branch should be deleted or not after a merge. Since we're using the API's merge function in a fully automated task, however, the branch should always be deleted. Add the according argument explicitly.

--

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/79e3437dc264bd60253b2ca26397016df2606756

accept_merge_request: refactoring

  • Combine two return statements into one.
  • Switch if statement order to remove else branch.

--

Commit: https://gitlab.com/garz-fricke/yocto/infrastructure/gitlab-ci/-/commit/a139ffb573adaeb54e3435dc3fd1276789f0a078

gitlab-ci: update bool values to YAML 1.2 spec

The outdated YAML 1.1 specification allowed values like 'yes' or 'no' for boolean fields 1. The newer spec 1.2 allows only 'true' and 'false' 2, so we update them to be conform with it.

Merge request reports

Loading