- Oct 28, 2024
-
-
Walter Lozano authored
Due to the issues with using + in the name of packages, like with gtk+2.0, Apertis decided to replace + by - in several cases, which can be used as default. The current code took the approach of escaping the +, but that is not really needed for the folding/branching process which rely on package names. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Oct 18, 2024
-
-
Dylan Aïssi authored
The dashboard is quite important to monitor packages health, so having the dashboard not up-to-date because of failure is to be avoided. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Oct 17, 2024
-
-
The periodic checks are useful, as a single point of notification about for failures, however, the current configuration checks for every repo in the infrastructure namespace. By doing this, it spot known issues with low priority, which could lead to confusions and miss important reports. Change the configuration to focus in the important repos. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Oct 16, 2024
-
-
Dylan Aïssi authored
By default gitlab-rulez defines the default branch based on the value of current_release_branch which is currently "apertis/v2025pre". But some packages have been dropped from Apertis in previous releases, that means they don't have the default branch. Thus we need to teach gitlab-rulez what is the latest branch to use as default branch. nano was in the v2023_repositories list since its default branch was apertis/v2023 because it got removed after. Now that it has been re-added in apertis/v2025pre, gitlab-rulez can rely on the current_release_branch to define its default branch. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Oct 08, 2024
-
-
Walter Lozano authored
To have a single place where to check if infrastructure pipelines are green add a new functionality based on the gitlab-check script. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Oct 03, 2024
-
-
Dylan Aïssi authored
By default gitlab-rulez defines the default branch based on the value of current_release_branch which is currently "apertis/v2025pre". But some packages have been dropped from Apertis in previous releases, that means they don't have the default branch. Thus we need to teach gitlab-rulez what is the latest branch to use as default branch. pysvn and rpcbind were in the v2023_repositories list since its default branch was apertis/v2023 because it got removed after. Now that it has been re-added in apertis/v2025pre, gitlab-rulez can rely on the current_release_branch to define its default branch. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Sep 30, 2024
-
-
Dylan Aïssi authored
tests/sanity doesn't have any CI, so using the CI default config for it, makes the merge button disabled. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Sep 26, 2024
-
-
Dylan Aïssi authored
The default branch of infrastructure/httpbin is master. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Sep 25, 2024
-
-
Dylan Aïssi authored
By default gitlab-rulez defines the default branch based on the value of current_release_branch which is currently "apertis/v2025pre". But some packages have been dropped from Apertis in previous releases, that means they don't have the default branch. Thus we need to teach gitlab-rulez what is the latest branch to use as default branch. jitterentropy-rngd and libsocketcan were in the v2023_repositories list since its default branch was apertis/v2023 because it got removed after. Now that it has been re-added in apertis/v2025pre, gitlab-rulez can rely on the current_release_branch to define its default branch. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Sep 20, 2024
-
-
Walter Lozano authored
Add missing steps to the branching pipeline to keep track of the overall process. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Sep 18, 2024
-
-
Walter Lozano authored
Fix the code to update infrastructure repo to match expectations. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Sep 16, 2024
-
-
To make the code more readable and easier to reuse simplify the check-pipelines by using gitlab-check arguments. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
The current gitlab-check configuration is only used after branching so rename it accordingly. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
To improve readability define verbosity levels. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
To only print relevant information by default add a debug option. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
In order to improve consistncy and to make the code easier to read move variables which set the behavior of the code to be in the object. While doing this rework how config file is handled to avoid changing the values in memory. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
The functionality of expaning project was implemented as a stand alone function, but there is no real benefit on doing that. Instead, move this functionality to the class to make it easier to share data. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
The variable projet seems to be spelled in French rather than English. Unfortunately both spellings are very similiar, causing a typo. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Sep 13, 2024
-
-
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
Removing the protection on the repos can be risky, for this reason re-enable it as soon as possible, right after projects have been updated. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
Following the same approach done for other repos update gitlab-rulez. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
To improve readability create a new template job for the branch-update tasks. At the same time set the "needs" property to branch-protection-relax, which can save some time when running the pipeline in "testing" mode. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
In order to ensure that both gitlab-rulez and its configuration are working as expected, apply the rules before doing the branching. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
The fold gitlab-scripts contains a set of unmaintained scripts. These scripts have not been used for ages and make use of Gitlab APIs that are not longer valid. In this context, they don't have much value, and can always be checked in git history if needed. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
To make things more tidy move gitlab rulez to its own repo. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
Since as_list will be deprecated soon, switch to the equivalent iterator=True. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
In order to simply configuration and to avoid duplication drop the use of python-gitlab.cfg by specifying settings from command line. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Sep 10, 2024
-
-
Dylan Aïssi authored
By default gitlab-rulez defines the default branch based on the value of current_release_branch which is currently "apertis/v2025pre". But some packages have been dropped from Apertis in previous releases, that means they don't have the default branch. Thus we need to teach gitlab-rulez what is the latest branch to use as default branch. gnome-autoar, nautilus and nautilus-python were in the v2023_repositories list since its default branch was apertis/v2023 because it got removed after. Now that it has been re-added in apertis/v2025pre, gitlab-rulez can rely on the current_release_branch to define its default branch. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Sep 06, 2024
-
-
To make it easier to read and to avoid code duplication move the obs copy logic to its own script, following the same approach of other release scripts. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
The stage obs-new-repos-setup is no longer used, so drop it. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
Since all these jobs are related move them the same stage. Dependencies are still enforced by the "needs" property. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
The job branch-protection-tighten is triggered with the same rules as branch-protection-relax, which is confusing. Instead of making it to depend on the stage, keep it independent of it thanks to "needs" but set it to be manual. In this way the user can to check that everything is OK and also to allows him to run this job at any stage even if some of the branching job had failures. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
In order to avoid code duplication rework the scripts that handle repo branching. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Sep 03, 2024
-
-
Dylan Aïssi authored
By default gitlab-rulez defines the default branch based on the value of current_release_branch which is currently "apertis/v2025pre". But some packages have been dropped from Apertis in previous releases, that means they don't have the default branch. Thus we need to teach gitlab-rulez what is the latest branch to use as default branch. can-utils was in the v2023_repositories list since its default branch was apertis/v2023 because it got removed after. Now that it has been re-added in apertis/v2025pre, gitlab-rulez can rely on the current_release_branch to define its default branch. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
Dylan Aïssi authored
By default gitlab-rulez defines the default branch based on the value of current_release_branch which is currently "apertis/v2025pre". But some packages have been dropped from Apertis in previous releases, that means they don't have the default branch. Thus we need to teach gitlab-rulez what is the latest branch to use as default branch. ne10 was in the v2023_repositories list since its default branch was apertis/v2023 because it got removed after. Now that it has been re-added in apertis/v2025pre, gitlab-rulez can rely on the current_release_branch to define its default branch. Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Aug 30, 2024
-
-
Dylan Aïssi authored
Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
-
- Aug 28, 2024
-
-
By default Gitlab CI will rely on stages to execute jobs. The needs property is only needed when we want to change this behavior, like when the jobs depends on other jobs in the same stage or when a job does not need to wait for others. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
To have early warnings add a check for env variables. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
After improving the folding code do a clean up to make it easier to read and maintain. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
To avoid continuing running commands in case of an error abort the execution immediately. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-