eb671037fb
We rely on config.toml to be created manually during first boot as setup stage. Even with an empty config.toml file, the gitlab-runner needs gitlab registration token to register to a gitlab server. Use the 14.5.1 release since 14.5.2 and 14.6.0 triggers a build error [1] due a patch for GO < 1.17. (helpers/patches/issue_28732/syscall.go:11:2: undefined: syscall.Issue28732Fix) Tested: https://gitlab.com/kubu93/buildroot/-/pipelines/442604876 [1] https://gitlab.com/gitlab-org/gitlab-runner/-/issues/28766 Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_GITLAB_RUNNER
|
|
bool "gitlab-runner"
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # git
|
|
depends on BR2_USE_WCHAR # tar
|
|
select BR2_PACKAGE_BASH # runtime, shells/bash.go probably want to support bashism.
|
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
|
|
select BR2_PACKAGE_CA_CERTIFICATES # runtime
|
|
select BR2_PACKAGE_GIT # runtime
|
|
select BR2_PACKAGE_LIBCURL # runtime
|
|
select BR2_PACKAGE_LIBCURL_CURL # runtime
|
|
select BR2_PACKAGE_LIBCURL_OPENSSL # runtime, for ca-certificates.
|
|
select BR2_PACKAGE_OPENSSL # runtime
|
|
select BR2_PACKAGE_LIBOPENSSL # runtime
|
|
select BR2_PACKAGE_LIBOPENSSL_BIN # runtime
|
|
select BR2_PACKAGE_TAR # runtime
|
|
help
|
|
GitLab Runner is the open source project that is used to run
|
|
your jobs and send the results back to GitLab. It is used in
|
|
conjunction with GitLab CI/CD, the open-source continuous
|
|
integration service included with GitLab that coordinates the
|
|
jobs.
|
|
|
|
https://docs.gitlab.com/runner/
|
|
|
|
comment "gitlab-runner needs a toolchain w/ threads"
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|