Skip to content
Snippets Groups Projects
Commit 8ca768e9 authored by GitBot's avatar GitBot
Browse files

Integrate gitlab-ci/multiple-integration-pipelines and 19 more

--

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

Put all manifest intgeration jobs into a single stage

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@4ac37675

deploy_gitlab_ci: explicitly pass gitlab-ci project and branch

--

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

Improve error messages

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@02d634c3

Improve naming of functions and variables

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@051871d9

Retrigger MRs from all integrating projects

Instead of getting the projects from the manifest file, search them via
their INTEGRATION variable.

Improve log messages on this occasion: print URL instead of just IDs.

--

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

Deploy gitlab-ci to multiple branches

Add different integration jobs for different manifest branches. The
merge stage only has one job for each manifest, though, because
otherwise we cannot guarantee a consistent state for all branches.

Extend the deploy script for this purpose, so that it can deploy to
multiple manifest branches at once.

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@8840fc7e

Fix temporary dir path

We were passing the complete TemporaryDirectory object to the repo clone
function instead of just the path string, resulting in the repo being
cloned into a local dir "<TemporaryDirectory '/tmp/tmphwakypf8'>".

Fix this to actually use the generated temp dir.

This change makes it necessary to keep the TemporaryDirectory object
reference until we don't need the directory anymore, otherwise it will
be removed immediately.

--

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

Print less important output in grey color

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@1e3136cd

deploy_gitlab_ci: remove hard-coded integration targets

Get targets dynamically using the INTEGRATION variable instead.

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@02683cc1

Recurse to child pipelines on retrigger

This makes it possible to retrigger jobs that are not part of the
given pipeline but in any nested child pipeline of it.

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@0efe0f89

Ignore __pycache__ in scripts directory

--

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

Refactoring: rename arguments for consistency

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@59ce0ad8

Remove hard coded project and branch variables

MANIFEST_PROJECT, MASTER_BRANCH_MANIFEST, MASTER_BRANCH_PROJECT

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@68bd1200

Add rules for integration pipeline

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@02f90212

Improve log messages

--

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

commit_and_push: do not pass branch

Branch can be implicitly determined via the repo.

--

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

Throw and catch exception if git push fails

Using new function raise_if_error() of GitPython 3.1.25:
https://gitpython.readthedocs.io/en/stable/tutorial.html#handling-remotes

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@892c12fe

Create separate integration branches for each target branch

This makes it possible to integrate a project branch into different
branches of the same manifest project.

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@77f767c1

Generate integration pipeline based on CI variable

Evaluate the INTEGRATION variable to determine target project and branch
for integration instead of using the hard-coded variables. For now this
works only for a single integration per target project because the
integration branch name does not include the target branch and hence
would be identical when trying to integrate into multiple branches of
the same project.

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@5c2defce

CI: prepare to work also with renamed machine names lime seco-mx6
parent a40f7a72
No related branches found
No related tags found
Loading
Pipeline #28056 failed
Loading
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