Skip to content
Snippets Groups Projects
Commit dea28bc7 authored by Lorenzo Pagliai's avatar Lorenzo Pagliai
Browse files

[FIX] Fix on git URL config for https

parent 99694446
No related branches found
No related tags found
No related merge requests found
......@@ -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};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment