From nobody Tue Feb 10 03:40:06 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.46 as permitted sender) client-ip=209.85.221.46; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f46.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.46 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1621931204; cv=none; d=zohomail.com; s=zohoarc; b=numhRLPixAGbEJn8yXjfAqfJ/Lf0xIW1/gWeyNXKQrA1Cbbch/2DkmszTZ+ArkcunoASqUy3VRqjGi8r7SWzNJmHAYc1BSaseW/bKUT1/I4RdIWH5AcaZo/tbu/jEL7DaL1d070Qj0u/xXHA/V0fBb56akeh/kQp1AAt6Gfm2Zg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621931204; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=p0e3a0Zp2hWBCA67KvWrU4k0qkaPiwmUI0f3UIGc5xk=; b=WsUChmIfv6+VM/s2Ad11TKa82lbozg35+SDxEj9/2x1in3awdo/qleP+BAWvT840F0BBWIP+BQysDnDao0B0/XlZvK9U5R9JNTymtADRcKwV0CF69VysfrBEU1buZ4ejYG6lv9Sm+d8S1t4yk5O7JQyhkQpvO3T8M0TscN3hRf4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.46 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.zohomail.com with SMTPS id 1621931204803206.76962376492338; Tue, 25 May 2021 01:26:44 -0700 (PDT) Received: by mail-wr1-f46.google.com with SMTP id v12so31208879wrq.6 for ; Tue, 25 May 2021 01:26:44 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id h13sm10562134wml.26.2021.05.25.01.26.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 01:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p0e3a0Zp2hWBCA67KvWrU4k0qkaPiwmUI0f3UIGc5xk=; b=VE9/2XmDVwHjKKD+BEDvqDe2jW9NfXVyzYgDHifT1hSTt9WrhsGeRlEmoYUVVOwBoI qsCuUt15OrpQhyvBca7WF1g5sPJcAKdshYgy2nDwG6cjQZ1gKGgHgfx+OzZQKN2UQD9W kgKR4G37l591K8YjGK4gby7s9TL7Wq2tf8HJ4JzJrlgQgHIS7HVxpusrEtJb3K2Gkf/g CU99C0HS4g1NL9/n18bzlbkkwfNK5WNYUkyts99xfeThkxkBhFD2TSx0+uW1l7Ad93pO B9GfFUSdjml1jHWl4tZjMDsXnnVBxAJewn6LH0bm11vXzqAwlMCC6VFK3WwCL9aBA7Su a1/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=p0e3a0Zp2hWBCA67KvWrU4k0qkaPiwmUI0f3UIGc5xk=; b=Kbva2RSbky37ITGGYYUfEzr7ggH2ZkLcZmHPLmkIt8w1pGJaEyepe2q9XcYcHZ8bJ5 IGQOSCGJbJ84VjYaHbzwt2UgP8iw/BJA5l4OR6vj0DRMf8DcpmhelbdhKcSRYmIqbjqc yMVQUxy82Qx3JmZCN1YL8kZJW7rPv1mvXTpFRGmpbblK4NRLZ6JQAuG7rV8/3TXUGAqR g9Q/b1UZVaEBH4LHi3CdVwUvXT2+sEG6HWYvhddJsxt0da676yAzPBfa85kzlLPnnzNm pOAgFTO6/Pzr5JSNEUSmhw9hzE4nwCN2TiZYYkq5eibrz5oMdMPbDbYtL3Yx/ut0Qs59 weCg== X-Gm-Message-State: AOAM533NI0mszpRtMrbZhfzmhCwado/pRvu7S60hJEXefF8L5Yeh1Fai EXVxdufgfXvNhwf0hEltwK4= X-Google-Smtp-Source: ABdhPJwn59Du8F7AxzX4BC67gnfyD13lUu2j/KVu5eSr/U7S0V0d0Z4DKyuEeYjZQ8Ol+Nr/uKMyHQ== X-Received: by 2002:adf:f9d0:: with SMTP id w16mr26754920wrr.336.1621931203079; Tue, 25 May 2021 01:26:43 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , "Daniel P . Berrange" , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laszlo Ersek , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Bin Meng Subject: [PATCH 9/9] gitlab-ci: Use absolute path and simplify firmware jobs Date: Tue, 25 May 2021 10:25:56 +0200 Message-Id: <20210525082556.4011380-10-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210525082556.4011380-1-f4bug@amsat.org> References: <20210525082556.4011380-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) The GitLab 'add job on file changed' feature doesn't work well with relative paths: use absolute paths instead. Change the 'rules:' section by an 'only:' one which is easier to read. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .gitlab-ci.d/edk2.yml | 11 +++++------ .gitlab-ci.d/opensbi.yml | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.d/edk2.yml b/.gitlab-ci.d/edk2.yml index ba7280605c4..f543a10fbe2 100644 --- a/.gitlab-ci.d/edk2.yml +++ b/.gitlab-ci.d/edk2.yml @@ -1,10 +1,9 @@ docker-edk2: stage: containers - rules: # Only run this job when the Dockerfile is modified - - changes: - - .gitlab-ci.d/edk2.yml - - .gitlab-ci.d/edk2/Dockerfile - when: always + only: # Only run this job when the Dockerfile is modified + changes: + - /.gitlab-ci.d/edk2.yml + - /.gitlab-ci.d/edk2/Dockerfile image: docker:19.03.1 services: - docker:19.03.1-dind @@ -28,7 +27,7 @@ build-edk2: needs: ['docker-edk2'] rules: # Only run this job when ... - changes: # ... roms/edk2/ is modified (submodule updated) - - roms/edk2/* + - /roms/edk2/* when: always - if: '$CI_COMMIT_REF_NAME =3D~ /^edk2/' # or the branch/tag starts with = 'edk2' when: always diff --git a/.gitlab-ci.d/opensbi.yml b/.gitlab-ci.d/opensbi.yml index f66cd1d9089..7bc96a29366 100644 --- a/.gitlab-ci.d/opensbi.yml +++ b/.gitlab-ci.d/opensbi.yml @@ -1,10 +1,9 @@ docker-opensbi: stage: containers - rules: # Only run this job when the Dockerfile is modified - - changes: - - .gitlab-ci.d/opensbi.yml - - .gitlab-ci.d/opensbi/Dockerfile - when: always + only: # Only run this job when the Dockerfile is modified + changes: + - /.gitlab-ci.d/opensbi.yml + - /.gitlab-ci.d/opensbi/Dockerfile image: docker:19.03.1 services: - docker:19.03.1-dind @@ -28,7 +27,7 @@ build-opensbi: needs: ['docker-opensbi'] rules: # Only run this job when ... - changes: # ... roms/opensbi/ is modified (submodule updated) - - roms/opensbi/* + - /roms/opensbi/* when: always - if: '$CI_COMMIT_REF_NAME =3D~ /^opensbi/' # or the branch/tag starts wi= th 'opensbi' when: always --=20 2.26.3