mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 13:50:16 +01:00
gitlab CI: update to latest ci-templates
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>
This commit is contained in:
parent
662c84d80e
commit
a6970e1cec
3 changed files with 18 additions and 18 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
# #
|
# #
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
.templates_sha: &template_sha 18194044f0f984c8815bc9a1a146582f6bf15d41 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
.templates_sha: &template_sha bbe5232986c9b98eb1efe62484e07216f7d1a4df # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
||||||
|
|
||||||
include:
|
include:
|
||||||
# Alpine container builder template
|
# Alpine container builder template
|
||||||
|
|
@ -80,61 +80,61 @@ variables:
|
||||||
.fedora:33:
|
.fedora:33:
|
||||||
extends: .fdo.distribution-image@fedora
|
extends: .fdo.distribution-image@fedora
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '33'
|
FDO_DISTRIBUTION_VERSION: '33'
|
||||||
|
|
||||||
.fedora:34:
|
.fedora:34:
|
||||||
extends: .fdo.distribution-image@fedora
|
extends: .fdo.distribution-image@fedora
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '34'
|
FDO_DISTRIBUTION_VERSION: '34'
|
||||||
|
|
||||||
.ubuntu:21.04:
|
.ubuntu:21.04:
|
||||||
extends: .fdo.distribution-image@ubuntu
|
extends: .fdo.distribution-image@ubuntu
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '21.04'
|
FDO_DISTRIBUTION_VERSION: '21.04'
|
||||||
|
|
||||||
.ubuntu:20.10:
|
.ubuntu:20.10:
|
||||||
extends: .fdo.distribution-image@ubuntu
|
extends: .fdo.distribution-image@ubuntu
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '20.10'
|
FDO_DISTRIBUTION_VERSION: '20.10'
|
||||||
|
|
||||||
.debian:stable:
|
.debian:stable:
|
||||||
extends: .fdo.distribution-image@debian
|
extends: .fdo.distribution-image@debian
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: 'stable'
|
FDO_DISTRIBUTION_VERSION: 'stable'
|
||||||
|
|
||||||
.debian:sid:
|
.debian:sid:
|
||||||
extends: .fdo.distribution-image@debian
|
extends: .fdo.distribution-image@debian
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: 'sid'
|
FDO_DISTRIBUTION_VERSION: 'sid'
|
||||||
|
|
||||||
.centos:7:
|
.centos:7:
|
||||||
extends: .fdo.distribution-image@centos
|
extends: .fdo.distribution-image@centos
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '7'
|
FDO_DISTRIBUTION_VERSION: '7'
|
||||||
|
|
||||||
.centos:8:
|
.centos:8:
|
||||||
extends: .fdo.distribution-image@centos
|
extends: .fdo.distribution-image@centos
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '8'
|
FDO_DISTRIBUTION_VERSION: '8'
|
||||||
|
|
||||||
.arch:rolling:
|
.arch:rolling:
|
||||||
extends: .fdo.distribution-image@arch
|
extends: .fdo.distribution-image@arch
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: 'rolling'
|
FDO_DISTRIBUTION_VERSION: 'rolling'
|
||||||
|
|
||||||
.alpine:latest:
|
.alpine:latest:
|
||||||
extends: .fdo.distribution-image@alpine
|
extends: .fdo.distribution-image@alpine
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||||
FDO_DISTRIBUTION_VERSION: 'latest'
|
FDO_DISTRIBUTION_VERSION: 'latest'
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -236,7 +236,7 @@ check-merge-request:
|
||||||
- kvm
|
- kvm
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
FDO_DISTRIBUTION_TAG: qemu-2021-05-19.1
|
FDO_DISTRIBUTION_TAG: qemu-2021-07-26.0
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
# Always rebuilds the container
|
# Always rebuilds the container
|
||||||
|
|
@ -847,7 +847,7 @@ soname:
|
||||||
|
|
||||||
.check_tainted: &check_tainted |
|
.check_tainted: &check_tainted |
|
||||||
# make sure the kernel is not tainted
|
# make sure the kernel is not tainted
|
||||||
if [[ "$(ssh localhost -p 5555 cat /proc/sys/kernel/tainted)" -gt 0 ]];
|
if [[ "$(/app/vmctl exec cat /proc/sys/kernel/tainted)" -gt 0 ]];
|
||||||
then
|
then
|
||||||
echo tainted kernel ;
|
echo tainted kernel ;
|
||||||
exit 1 ;
|
exit 1 ;
|
||||||
|
|
@ -868,7 +868,7 @@ soname:
|
||||||
|
|
||||||
- *check_tainted
|
- *check_tainted
|
||||||
|
|
||||||
- "scp -P 5555 -r $PWD localhost:"
|
- "scp -r $PWD vm:"
|
||||||
- echo "CI_JOB_ID=\"$CI_JOB_ID\"" > sshenv
|
- echo "CI_JOB_ID=\"$CI_JOB_ID\"" > sshenv
|
||||||
- echo "CI_JOB_NAME=\"$CI_JOB_NAME\"" >> sshenv
|
- echo "CI_JOB_NAME=\"$CI_JOB_NAME\"" >> sshenv
|
||||||
- echo "MESON_BUILDDIR=\"$MESON_BUILDDIR\"" >> sshenv
|
- echo "MESON_BUILDDIR=\"$MESON_BUILDDIR\"" >> sshenv
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
# #
|
# #
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
.templates_sha: &template_sha 18194044f0f984c8815bc9a1a146582f6bf15d41 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
.templates_sha: &template_sha bbe5232986c9b98eb1efe62484e07216f7d1a4df # see https://docs.gitlab.com/ee/ci/yaml/#includefile
|
||||||
|
|
||||||
include:
|
include:
|
||||||
{% for distribution in distributions|map(attribute='name')|unique()|sort() %}
|
{% for distribution in distributions|map(attribute='name')|unique()|sort() %}
|
||||||
|
|
@ -428,7 +428,7 @@ soname:
|
||||||
|
|
||||||
.check_tainted: &check_tainted |
|
.check_tainted: &check_tainted |
|
||||||
# make sure the kernel is not tainted
|
# make sure the kernel is not tainted
|
||||||
if [[ "$(ssh localhost -p 5555 cat /proc/sys/kernel/tainted)" -gt 0 ]];
|
if [[ "$(/app/vmctl exec cat /proc/sys/kernel/tainted)" -gt 0 ]];
|
||||||
then
|
then
|
||||||
echo tainted kernel ;
|
echo tainted kernel ;
|
||||||
exit 1 ;
|
exit 1 ;
|
||||||
|
|
@ -451,7 +451,7 @@ soname:
|
||||||
|
|
||||||
- *check_tainted
|
- *check_tainted
|
||||||
|
|
||||||
- "scp -P 5555 -r $PWD localhost:"
|
- "scp -r $PWD vm:"
|
||||||
- echo "CI_JOB_ID=\"$CI_JOB_ID\"" > sshenv
|
- echo "CI_JOB_ID=\"$CI_JOB_ID\"" > sshenv
|
||||||
- echo "CI_JOB_NAME=\"$CI_JOB_NAME\"" >> sshenv
|
- echo "CI_JOB_NAME=\"$CI_JOB_NAME\"" >> sshenv
|
||||||
- echo "MESON_BUILDDIR=\"$MESON_BUILDDIR\"" >> sshenv
|
- echo "MESON_BUILDDIR=\"$MESON_BUILDDIR\"" >> sshenv
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# We're happy to rebuild all containers when one changes.
|
# We're happy to rebuild all containers when one changes.
|
||||||
.default_tag: &default_tag '2021-05-19.1'
|
.default_tag: &default_tag '2021-07-26.0'
|
||||||
|
|
||||||
distributions:
|
distributions:
|
||||||
- name: fedora
|
- name: fedora
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue