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

Bug fix on repo init branch reference for build

* When a tag occurs the '-b' command in repo init would fail
parent 125fbd79
No related branches found
No related tags found
No related merge requests found
...@@ -182,14 +182,13 @@ retrigger: ...@@ -182,14 +182,13 @@ retrigger:
- chown 1002:1002 /home/secous/.ssh/config - chown 1002:1002 /home/secous/.ssh/config
- chown 1002:1002 /home/secous/.ssh/id_rsa - chown 1002:1002 /home/secous/.ssh/id_rsa
- chmod 600 /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/ - ls -l /home/secous/.ssh/
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- ssh-add /home/secous/.ssh/id_rsa - ssh-add /home/secous/.ssh/id_rsa
- export EULA=1 - export EULA=1
- | - |
su secous -c " su secous -c "
repo init -u ${CI_REPOSITORY_URL} -b ${CI_COMMIT_REF_NAME}; repo init -u ${CI_REPOSITORY_URL} -b kirkstone/develop;
repo sync -j$(nproc) --fetch-submodules; repo sync -j$(nproc) --fetch-submodules;
. ./seco-setup.sh -d ${DEFCONFIG_FILE}; . ./seco-setup.sh -d ${DEFCONFIG_FILE};
. ./seco-setup.sh -c; . ./seco-setup.sh -c;
......
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