summaryrefslogtreecommitdiff
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* gitlab CI: drop the custom meson to junit conversion scriptPeter Hutterer2023-01-053-136/+2
| | | | | | | And always collect test logs, makes it easier to debug when things fail to go wrong Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: bump to newer UbuntusPeter Hutterer2023-01-041-3/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: bump to a newer version of the templatesPeter Hutterer2023-01-041-1/+1
| | | | | | | Required by the debian sid containers, otherwise we fail because of a missing /etc/apt/sources.list file. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: do not retry the qemu runsPeter Hutterer2023-01-041-4/+0
| | | | | | | See libinput commit fb4f4131a112201c86c510179cfc939fcfa8aece by Benjamin Tissoires Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: change an explicit Fedora to {{distro}}Peter Hutterer2023-01-041-1/+1
| | | | | | | See libinput commit 0d602e12a4b66d5b5f27d2a9fd9899d43cf128fe by Benjamin Tissoires Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: prettify the include of templatesPeter Hutterer2023-01-041-3/+4
| | | | | | | Identical to libinput commit c8c825289f1b7575ee10b849c04f5caa60483a7e by Benjamin Tissoires. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update to current distribution versions, drop CentosPeter Hutterer2022-02-022-28/+4
| | | | | | | No big point building for Centos 7 anywmore, and Centos 8 is now Centos Stream only which needs fixing in the CI templates first. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update to latest ci-templatesPeter Hutterer2021-07-262-4/+4
| | | | | | | We can ditch the custom localhost usages and instead use the vmctl and ssh-config aliases. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: bump to Fedora 34 and Ubuntu 21.04Peter Hutterer2021-05-191-3/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: make the tarball distro selection automaticPeter Hutterer2021-05-192-4/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: make the qemu selection automaticPeter Hutterer2021-05-192-17/+16
| | | | | | | | | Generate the snippet for whichever is the last version in the list for the want_qemu tag. And move the want_qemu tag up so it's more obvious in the config file. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: use Fedora 33 and Ubuntu 20.10Peter Hutterer2021-01-042-12/+10
| | | | | | | This requires latest CI templates for the mkosi changes. Since the start_vm.sh script is now gone, switch to using vmctl instead. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: make the custom build reference automatedPeter Hutterer2021-01-041-5/+6
| | | | | | | | We still require Fedora for the various jobs with custom autotools/meson configurations. But we might as well make it dependent on the config file entries only than hardcoding it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab ci: run the qemu jobs on F32Peter Hutterer2020-09-111-13/+13
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update to use F32Peter Hutterer2020-09-111-2/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: move MR check to a later stagePeter Hutterer2020-06-301-1/+2
| | | | | | | | This gives the developer enough time to file an MR after pushing a branch. Having this run in the first stage means we get false positives because no MR has been filed yet when the job is run. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: fix the repo name for excluding checks on masterPeter Hutterer2020-06-161-1/+1
| | | | | | Fixes 2698867311db78a7190bba1a20f0f27cfa04ffad Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: use ci-fairy to check commits and merge requestsPeter Hutterer2020-06-162-125/+25
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: move the pip dependencies to before_scriptPeter Hutterer2020-06-041-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: alpine needs pip explicitly installed nowPeter Hutterer2020-06-041-3/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab-ci: update to ubuntu 20.04Peter Hutterer2020-05-011-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update docs for how to schedule the auth variablePeter Hutterer2020-03-181-1/+1
| | | | | | | Safer to have this defined in the scheduled job only rather than the project itself. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: move to use ci-fairyPeter Hutterer2020-03-184-124/+7
| | | | | | | | | | | ci-templates now has a new tool ci-fairy that replaces our jinja generation script with something (eventually) unified across project repositories. Let's move the files to the expected locations .gitlab-ci/config.yml and .gitlab-ci/ci.template. ci-fairy also has a wrapper to delete images, let's start using that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: use the new templates with a single job onlyPeter Hutterer2020-03-172-19/+9
| | | | | | | No more ifnot-exists, it's all build now with a variable to control the forced rebuild. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: rebuild images for the new templatesPeter Hutterer2020-03-131-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: expand tag lists to 100 per pagePeter Hutterer2020-03-131-1/+1
| | | | | | Lets make sure we can delete more than 20 tags at a time. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: use the ifnot-exists templates from ci-templatesPeter Hutterer2020-03-131-23/+42
| | | | | | | | | | Let's not duplicate the functionality, use the upstream templates because they'll actually see improvements over time. Define two jobs, one that is the ifnot-exists job and one that is the normal container-build job. The second one only runs on schedules. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: remove obsolete variable expansionPeter Hutterer2020-03-131-2/+1
| | | | | | | gitlab doesn't support double-nested variables so we can assume that these variables don't need further expansion Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: Use the new fdo CI templates distribution imagesPeter Hutterer2020-03-131-16/+6
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: make the container-clean dependent on container-prepPeter Hutterer2020-03-131-0/+1
| | | | | | | | This is a test commit only to speed things up when testing the container-clean phase. In the real instance, we don't want to remove our containers until the test suite successfully completes on the new container. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: add static-build meson pipelinePeter Seiderer2020-03-111-0/+7
| | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net>
* gitlab ci: add a helper script for container deletionPeter Hutterer2020-03-092-64/+82
| | | | | | | Rather than raw curl requests to the API, use a python script using the gitlab python package to access everything. This makes things a bit more readable. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update to the distribution-independent CI-templatesPeter Hutterer2020-03-092-93/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These templates get rid of the various distribution-specific naming and instead default to the namespaced FDO_DISTRIBUTION_<foo> for whatever value we need. So FEDORA_RPMS, DEBIAN_DEBS etc. becomes FDO_DISTRIBUTION_PACKAGES for example. By necessity this is one large commit. gitlab does not allow nested variable expansion, so the previous approach of global variables didn't work. Specifically, we'd end up with a template in this form: variables: FEDORA_TAG: 12345 .base_template: variables: DISTRO_IMAGE: $DISTRO_TAG .fedora: variables: $DISTRO_TAG: $FEDORA_TAG But the actual DISTRO_IMAGE variable would be the literal string $FEDORA_TAG, not the value of that variable. So all of it needed to be reworked. Specifically: - the packages to install moved to the config yaml file - the distribution tag is now in the config yaml file - all distributions now share the same tag (because lazyness) - there are .fedora:30, .debian:stable, etc. templates now with the variables defined as needed, jobs will extends those templates as they need those distributions - qemu-prep jobs are now generated too (based on the config yaml file) Overall, it ends up cleaner despite the mess in this patch. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: group the config by distribution typePeter Hutterer2020-03-062-31/+34
| | | | | | No functional changes, this produces the same gitlab CI file Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: expire the results.xml artifactsPeter Hutterer2020-03-061-0/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: keep the results of the check-commit job as artifactPeter Hutterer2020-03-021-0/+3
| | | | | | | | | | Due to how pytest is used, we don't get the actual errors printed in the commandline log if this job fails. This doesn't matter in merge requests where the results are displayed nicely but where there's no merge request we can't get this info out at all. So let's simply store the xml file for an easy check. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Use editorconfig instead of a sprinkling of :vim: instructionsPeter Hutterer2020-02-274-8/+0
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: drop the distribution "flavor" in favor of just the namePeter Hutterer2020-02-261-10/+10
| | | | | | | This is a leftover from ci-templates where the name of a distribution didn't necessarily match the image (arch vs archlinux) and is no longer needed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: move the container-clean git strategy to the parent sectionPeter Hutterer2020-02-261-1/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: don't allow failures on the kvm jobsPeter Hutterer2020-02-261-1/+0
| | | | | | | | This is a leftover from libinput where we have to allow failures because of frequent issues with timing. We don't have these issues here so a failed job in the VM indicates a bug. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update to the latest ci-templates againPeter Hutterer2020-02-251-9/+9
| | | | | | | | Unclear what happend but I suspect a rebase went wrong so e03cdd1d3ff3731eb1432501c48b742e2c6e34ca didn't actually update to the new ci-templates. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: prefill the junit conversion script from the gitlab environmentPeter Hutterer2020-02-242-7/+12
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: re-use the meson-build.sh script for normal meson jobsPeter Hutterer2020-02-242-6/+10
| | | | | | Let's invoke the same meson steps for every build task. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: hook up junit test reports to the meson resultsPeter Hutterer2020-02-243-0/+131
| | | | | | | | | | | The KVM tests use this for now, not the container builds where we run meson directly. The python script to convert meson test logs to junit results expects suite names, so let's add all tests to suites so we don't need to carry local modifications. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update to latest ci-templatesPeter Hutterer2020-02-242-9/+8
| | | | | | | This gives us a warning where qemu failed to start and it gets rid of the different "flavor" that only archlinux had different to the distribution name. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: generate the template list from the config dataPeter Hutterer2020-02-241-21/+4
| | | | | | | Only change in the actual gitlab CI file is that the sorting is now alphabetical. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: set the vim filetype for the template filePeter Hutterer2020-02-241-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: move the configuration bits into a YAML filePeter Hutterer2020-02-213-34/+46
| | | | | | | Only one change: the meson boolean to decide whether to build with meson is now inside the build: block. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: extend the generation script to be somewhat more genericPeter Hutterer2020-02-211-3/+27
| | | | | | Mostly busywork, it moves the hardcoded paths into a variables, etc. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: make the "this is generated" warning more obviousPeter Hutterer2020-02-211-2/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>