Commit d3493607 authored by Adam Wujek's avatar Adam Wujek

.gitlab-ci.yml: print wrpc-sw commit for synthesis job

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 7747c112
...@@ -107,6 +107,7 @@ build-wr2rf: ...@@ -107,6 +107,7 @@ build-wr2rf:
tags: tags:
- nodocker - nodocker
variables: variables:
WRPC_VERSION_FILE: "$_FIRMWARE_DEST/wrpc-sw_repo_ver.txt"
# Fetch submodules (https://docs.gitlab.com/ee/ci/git_submodules.html#use-git-submodules-in-cicd-jobs). # Fetch submodules (https://docs.gitlab.com/ee/ci/git_submodules.html#use-git-submodules-in-cicd-jobs).
GIT_STRATEGY: clone GIT_STRATEGY: clone
GIT_DEPTH: 0 GIT_DEPTH: 0
...@@ -120,6 +121,13 @@ build-wr2rf: ...@@ -120,6 +121,13 @@ build-wr2rf:
echo -e "\e[31m+------------------------------------------------------------------------------+\e[0m" echo -e "\e[31m+------------------------------------------------------------------------------+\e[0m"
echo -e '\e[31m|\e[0m Synthesis of wr2rf \e[31m|\e[0m' echo -e '\e[31m|\e[0m Synthesis of wr2rf \e[31m|\e[0m'
echo -e "\e[31m+------------------------------------------------------------------------------+\e[0m" echo -e "\e[31m+------------------------------------------------------------------------------+\e[0m"
while IFS= read -r line;
do
printf "\e[31m|\e[0m %-76s \e[31m|\e[0m\n" "$line"
done << EOF
Use wrpc-sw commit: $(cat $WRPC_VERSION_FILE)
EOF
echo -e "\e[31m+------------------------------------------------------------------------------+\e[0m"
echo -e "\e[0Ksection_end:`date +%s`:job_description\r\e[0K" echo -e "\e[0Ksection_end:`date +%s`:job_description\r\e[0K"
- echo "Checking out..." - echo "Checking out..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment