Skip to content
Snippets Groups Projects
Commit 7266517b authored by GitBot's avatar GitBot Committed by Tim Jaacks
Browse files

Integrate gitlab-ci/depend-pipeline-execution-on-branch-protection-state and 2 more

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@939ade2b

Depend intgration pipeline execution on branch protection state

Previously we had the master branch hard-coded in a variable in order to
determine whether to run the integration pipeline (on non-master branch)
or the merge pipeline (on master branch). This variable had to be
adapted everytime we copy a branch, which can potentially be forgotten
and lead to problems.

Remove the hard-coded branch and use the branch protection state for
this decision instead in order to make this more flexible.

--

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

Simplify yamllint job rules

The rules for the yamllint jobs have been defined in the .yamllint class
before. They were overridden in the manifest pipeline's yamllint job,
though, which has its own rules, so we don't need them to be inherited
in this case. And in the manifest integration pipeline the rules can be
much easier, so define them there instead of at the class-level.

--

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

.gitlab-ci: add analyze stage for limiting YAML script blocks
parent 3ba2bda7
No related branches found
No related tags found
1 merge request!75Integrate gitlab-ci/depend-pipeline-execution-on-branch-protection-state and 2 more
Pipeline #60437 passed with stage
in 7 seconds
Subproject commit e943a55e90671b62f1d3bab789670a40584e784f
Subproject commit 939ade2b9f98b3e1569332270a7ab16ce7d70b4a
......@@ -4,13 +4,9 @@
# ---------------------------------------------------------------------------------------
include:
- project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci'
ref: e943a55e90671b62f1d3bab789670a40584e784f
ref: 939ade2b9f98b3e1569332270a7ab16ce7d70b4a
file: 'manifest-integration.yml'
variables:
GITLAB_CI_REVISION: e943a55e90671b62f1d3bab789670a40584e784f
GITLAB_CI_REVISION: 939ade2b9f98b3e1569332270a7ab16ce7d70b4a
BB_RECIPE_NAME: gfeeprom
# FIXME: This is only necessary due to the following GitLab limitation:
# https://gitlab.com/gitlab-org/gitlab/-/issues/209904
# As soon as this gets fixed upstream, the hard-coded branch name should be removed.
MASTER_BRANCH: master
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