From a5e27f6e215f7f26af354a3c03b8e3c6ee5ed1f9 Mon Sep 17 00:00:00 2001
From: Tim Jaacks <tim.jaacks@garz-fricke.com>
Date: Tue, 18 Oct 2022 17:12:52 +0200
Subject: [PATCH] FTP upload: Add flag to hide FTP upload stage

This is a workaround to prevent customer releases being uploaded to our
public FTP area. It should be removed as soon as we support uploading to
different FTP target folders.
---
 build-yocto.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build-yocto.yml b/build-yocto.yml
index 836a52b8..43d55e5b 100644
--- a/build-yocto.yml
+++ b/build-yocto.yml
@@ -134,6 +134,11 @@
     - .infrastructure
     - .package
   rules:
+    # FIXME: This is a workaround to prevent customer releases being uploaded to our
+    # public FTP area. It should be removed as soon as we support uploading to different
+    # FTP target folders.
+    - if: $HIDE_FTP_UPLOAD_STAGE
+      when: never
     - if: $CI_COMMIT_TAG
       when: manual
       allow_failure: true
-- 
GitLab