Skip to content
Snippets Groups Projects
Verified Commit 07c5fc2d authored by Rafael Epplée's avatar Rafael Epplée
Browse files

Automatically set package source ci template

parent 13f4c9e7
Branches buildbot
No related tags found
No related merge requests found
Pipeline #122797 passed
......@@ -7,5 +7,8 @@ GITLAB_TOKEN=
GITLAB_DOMAIN=gitlab.archlinux.org
GITLAB_PACKAGES_GROUP=packaging-buildbtw-dev/packages
RUN_BUILDS_ON_GITLAB=false
# Update package source CI settings to use the specified .gitlab-ci.yml file.
# https://gitlab.archlinux.org/help/ci/pipelines/settings.md#specify-a-custom-cicd-configuration-file
GITLAB_PACKAGES_CI_CONFIG=.gitlab-ci.yml@packaging-buildbtw-dev/gitlab-ci-templates
DATABASE_URL="sqlite:buildbtw_server.sqlite"
\ No newline at end of file
......@@ -50,8 +50,12 @@ pub struct Gitlab {
/// Requires gitlab token to be specified.
// TODO: make this an enum BuildDispatch {Gitlab, Local} and move it
// out of the `Gitlab` struct
#[arg(long, env, required = false)]
#[arg(long, env, required = false, default_value = "false")]
pub run_builds_on_gitlab: bool,
/// Update package source CI settings to use the default .gitlab-ci.yml file.
/// See https://gitlab.archlinux.org/help/ci/pipelines/settings.md#specify-a-custom-cicd-configuration-file
#[arg(long, env, required = false, default_value = "false")]
pub gitlab_packages_ci_config: bool,
}
#[derive(Debug, Clone, Subcommand)]
......
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