From dea28bc7d18e03ecf5f2b3a7331a063f5d5d0096 Mon Sep 17 00:00:00 2001 From: Lorenzo Pagliai <lorenzo.pagliai@seco.com> Date: Thu, 9 Mar 2023 16:59:10 +0100 Subject: [PATCH] [FIX] Fix on git URL config for https --- manifest-pipeline-yocto.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index a94fd42..2d8b87c 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -186,8 +186,6 @@ retrigger: # init repository and generate configuration files for bitbake # 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 @@ -212,6 +210,8 @@ retrigger: echo "This is the image name will be assigned to software artifacts: ${IMAGE_NAME}" - | su secous -c " + 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/ repo init -u ${CI_REPOSITORY_URL} -b ${BUILD_BRANCH}; repo sync -j$(nproc) --fetch-submodules; . ./seco-setup.sh -d ${DEFCONFIG_FILE}; -- GitLab