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

Integrate gitlab-ci/check-if-ci-enabled

--

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

get_integration_sources: check if CI is enabled

Trying to query CI variables on a project which does not have the CI
feature enabled leads to an HTTP 403 (forbidden) error.
Check whether CI is enabled using the "jobs_enabled" flag.
parent 6b15d119
No related branches found
No related tags found
1 merge request!69Integrate gitlab-ci/check-if-ci-enabled
Pipeline #31735 passed with stage
in 33 seconds
Subproject commit 5e3dfaeaf89701092780031ba72266ee27938996
Subproject commit c831d1da915a4ac386554ff5ba2f73a8ff0d3da3
......@@ -4,11 +4,11 @@
# ---------------------------------------------------------------------------------------
include:
- project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci'
ref: 5e3dfaeaf89701092780031ba72266ee27938996
ref: c831d1da915a4ac386554ff5ba2f73a8ff0d3da3
file: 'manifest-integration.yml'
variables:
GITLAB_CI_REVISION: 5e3dfaeaf89701092780031ba72266ee27938996
GITLAB_CI_REVISION: c831d1da915a4ac386554ff5ba2f73a8ff0d3da3
# 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.
......
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