mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 11:30:07 +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:
|
||||
# Alpine container builder template
|
||||
|
|
@ -80,61 +80,61 @@ variables:
|
|||
.fedora:33:
|
||||
extends: .fdo.distribution-image@fedora
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: '33'
|
||||
|
||||
.fedora:34:
|
||||
extends: .fdo.distribution-image@fedora
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: '34'
|
||||
|
||||
.ubuntu:21.04:
|
||||
extends: .fdo.distribution-image@ubuntu
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: '21.04'
|
||||
|
||||
.ubuntu:20.10:
|
||||
extends: .fdo.distribution-image@ubuntu
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: '20.10'
|
||||
|
||||
.debian:stable:
|
||||
extends: .fdo.distribution-image@debian
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: 'stable'
|
||||
|
||||
.debian:sid:
|
||||
extends: .fdo.distribution-image@debian
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: 'sid'
|
||||
|
||||
.centos:7:
|
||||
extends: .fdo.distribution-image@centos
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: '7'
|
||||
|
||||
.centos:8:
|
||||
extends: .fdo.distribution-image@centos
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: '8'
|
||||
|
||||
.arch:rolling:
|
||||
extends: .fdo.distribution-image@arch
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: 'rolling'
|
||||
|
||||
.alpine:latest:
|
||||
extends: .fdo.distribution-image@alpine
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: '2021-05-19.1'
|
||||
FDO_DISTRIBUTION_TAG: '2021-07-26.0'
|
||||
FDO_DISTRIBUTION_VERSION: 'latest'
|
||||
|
||||
|
||||
|
|
@ -236,7 +236,7 @@ check-merge-request:
|
|||
- kvm
|
||||
variables:
|
||||
GIT_STRATEGY: none
|
||||
FDO_DISTRIBUTION_TAG: qemu-2021-05-19.1
|
||||
FDO_DISTRIBUTION_TAG: qemu-2021-07-26.0
|
||||
allow_failure: true
|
||||
|
||||
# Always rebuilds the container
|
||||
|
|
@ -847,7 +847,7 @@ soname:
|
|||
|
||||
.check_tainted: &check_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
|
||||
echo tainted kernel ;
|
||||
exit 1 ;
|
||||
|
|
@ -868,7 +868,7 @@ soname:
|
|||
|
||||
- *check_tainted
|
||||
|
||||
- "scp -P 5555 -r $PWD localhost:"
|
||||
- "scp -r $PWD vm:"
|
||||
- echo "CI_JOB_ID=\"$CI_JOB_ID\"" > sshenv
|
||||
- echo "CI_JOB_NAME=\"$CI_JOB_NAME\"" >> 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:
|
||||
{% for distribution in distributions|map(attribute='name')|unique()|sort() %}
|
||||
|
|
@ -428,7 +428,7 @@ soname:
|
|||
|
||||
.check_tainted: &check_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
|
||||
echo tainted kernel ;
|
||||
exit 1 ;
|
||||
|
|
@ -451,7 +451,7 @@ soname:
|
|||
|
||||
- *check_tainted
|
||||
|
||||
- "scp -P 5555 -r $PWD localhost:"
|
||||
- "scp -r $PWD vm:"
|
||||
- echo "CI_JOB_ID=\"$CI_JOB_ID\"" > sshenv
|
||||
- echo "CI_JOB_NAME=\"$CI_JOB_NAME\"" >> sshenv
|
||||
- echo "MESON_BUILDDIR=\"$MESON_BUILDDIR\"" >> sshenv
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
# 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:
|
||||
- name: fedora
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue