From 079cd7836eea0b485a8e7414a65067f44c164940 Mon Sep 17 00:00:00 2001 From: Lorenzo Pagliai <lorenzo.pagliai@seco.com> Date: Tue, 29 Nov 2022 13:12:31 +0100 Subject: [PATCH] Insert bug fix on manifest branch * Without this fix the branch used for the build is always the kirkstone/develop one --- manifest-pipeline-yocto.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 3c5e95e..4f2f6f4 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -166,13 +166,14 @@ retrigger: - chown 1002:1002 /home/secous/.ssh/config - chown 1002:1002 /home/secous/.ssh/id_rsa - chmod 600 /home/secous/.ssh/id_rsa + - echo "This is the manifest branch for the build ${CI_COMMIT_REF_NAME}" - ls -l /home/secous/.ssh/ - eval $(ssh-agent -s) - ssh-add /home/secous/.ssh/id_rsa - export EULA=1 - | su secous -c " - repo init -u ${CI_REPOSITORY_URL} -b kirkstone/develop; + repo init -u ${CI_REPOSITORY_URL} -b ${CI_COMMIT_REF_NAME}; repo sync -j$(nproc) --fetch-submodules; . ./seco-setup.sh -d ${DEFCONFIG_FILE}; . ./seco-setup.sh -c; -- GitLab