From fbf57e5bb16127afe698bb3f02a53b42dedcd265 Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Thu, 31 Mar 2022 19:52:26 +0200
Subject: [PATCH] .gitlab-ci: do not run reuse and dco jobs on ARM

The REUSE container for aarch64 is corrupted and the DCO container for
armv7 does not exist.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ccce226..dd50c67 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,7 @@ include:
 
 dco:
   interruptible: true
+  tags: [kvm] # Technically we want x86_64 or aarch64 but there's no OR syntax for tags, this is a way to cheat.
   stage: compliance
   image: christophebedard/dco-check:latest
   rules:
@@ -41,7 +42,7 @@ dco:
 reuse:
   interruptible: true
   stage: compliance
-  tags: [x86_64]  # https://twitter.com/zygoon/status/1474746295088787458
+  tags: [x86_64] # The aarch64 binary is actually an x86_64 binary.
   image:
     name: fsfe/reuse:latest
     entrypoint: [""]
-- 
GitLab