From eebd1a228b429bab3f89761e2c981590269d1123 Mon Sep 17 00:00:00 2001
From: Lorenzo Pagliai <lorenzo.pagliai@seco.com>
Date: Tue, 7 Mar 2023 13:47:28 +0100
Subject: [PATCH] [HTTPS] Insert git config command for https links

* The command is necessary as long as all Edgehog repositories are
private
---
 manifest-pipeline-yocto.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml
index 8deab79..a94fd42 100644
--- a/manifest-pipeline-yocto.yml
+++ b/manifest-pipeline-yocto.yml
@@ -187,6 +187,7 @@ retrigger:
       # checkout
       - BASEDIR=$PWD
       - git config --global url.https://github.com/.insteadOf git://github.com/
+      - git config --global url.https://gitlab-ci-token:${GITBOT_TOKEN}@git.seco.com/.insteadOf https://git.seco.com/
       - mkdir -p /home/secous/.ssh
       - echo "$SSH_KNOWN_HOSTS" > /home/secous/.ssh/known_hosts
       - echo "$SSH_CONFIG_FILE" > /home/secous/.ssh/config
-- 
GitLab