From: "Marcin Niestrój" <m.niestroj@grinn-global.com>
To: Romain Naour <romain.naour@smile.fr>
Cc: "Jérémy Rosen" <jeremy.rosen@smile.fr>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v4] package/gitlab-runner: new package
Date: Mon, 10 Jan 2022 11:01:16 +0100 [thread overview]
Message-ID: <87mtk3vrg6.fsf@grinn-global.com> (raw)
In-Reply-To: <20220106123449.344837-1-romain.naour@smile.fr>
Romain Naour <romain.naour@smile.fr> writes:
> From: Marcin Niestroj <m.niestroj@grinn-global.com>
>
> 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>
> ---
> Note: We used the gitlab-runner for shell or python jobs.
> Jobs using docker images (images: in gitlab-ci.yml) is not tested.
>
> v4: update to 14.5.1
> Remove config.toml handling from .mk.
> We rely on config.toml to be created 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. (Marcin Niestroj)
> Remove alias gitlab-ci-multi-runner.service (Marcin Niestroj),
> gitlab-ci-multi-runner.service comme from Debian gitlab-runner systemd
> service file.
>
> v3: Change daemon process to gitlab-runner user.
> see as example: https://git.buildroot.net/buildroot/tree/package/tpm2-abrmd/S80tpm2-abrmd?h=2020.05-rc2#n31
>
> [Romain: Tested only using systemd init on aarch64 target emulated by Qemu]
> v2: add service file, config file, gitlab user.
> add bash as runtime dependency.
> Add git, curl, ca-certificate, tar runtime dependencies from on debian control file for gitlab-runner package.
> Use gnu tar since we can expect tar options that are not supported by busybox tar implementation.
> Enable SSL/TLS library with openssl needed at runtime.
> Add me as "developer".
>
> test-pkg config:
> BR2_PACKAGE_GITLAB_RUNNER=y
> ---
Thanks Romain for updating and resending this patch! Looks fine to me as it is!
--
Regards,
Marcin Niestrój
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2022-01-10 10:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-06 12:34 [Buildroot] [PATCH v4] package/gitlab-runner: new package Romain Naour
2022-01-10 10:01 ` Marcin Niestrój [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mtk3vrg6.fsf@grinn-global.com \
--to=m.niestroj@grinn-global.com \
--cc=buildroot@buildroot.org \
--cc=jeremy.rosen@smile.fr \
--cc=romain.naour@smile.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox