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

[FIX] Insert missing occurrencies of RECIPE_NAME

* Insert further variable inheritance for edgehog-embedded jobs
* Insert echo messages for debug
parent 3e1fb5d0
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ deploy-edgehog-embedded-base-a62:
artifacts: true
variables:
<<: *deploy-edgehog-a62
<<: *build-edgehog-embedded-a62
IMAGE_NAME: edgehog-embedded-base-image
#############################
......@@ -54,7 +55,7 @@ build-edgehog-embedded-full-a62:
rules: &embedded_full
# Build only in case of a tag
- if: $CI_COMMIT_TAG
variables:
variables: &build-edgehog-embedded-a62-full
<<: *build-edgehog-embedded-a62
RECIPE_NAME: seco-image-edgehog-full
......@@ -68,4 +69,5 @@ deploy-edgehog-embedded-full-a62:
artifacts: true
variables:
<<: *deploy-edgehog-a62
<<: *build-edgehog-embedded-a62-full
IMAGE_NAME: edgehog-embedded-full-image
\ No newline at end of file
......@@ -10,6 +10,7 @@ build-edgehog-c20:
BUILD_DIRECTORY: build_c20
MACHINE: seco-imx8mq-c20
DEFCONFIG_FILE: seco_sbc_c20_edgehog
RECIPE_NAME: seco-image-edgehog
deploy-edgehog-c20:
extends: .deploy
......@@ -42,6 +43,7 @@ deploy-edgehog-embedded-base-c20:
artifacts: true
variables:
<<: *deploy-edgehog-c20
<<: *build-edgehog-embedded-c20
IMAGE_NAME: edgehog-embedded-base-image
#############################
......@@ -53,7 +55,7 @@ build-edgehog-embedded-full-c20:
rules: &embedded_full
# Build only in case of a tag
- if: $CI_COMMIT_TAG
variables:
variables: &build-edgehog-embedded-c20-full
<<: *build-edgehog-embedded-c20
RECIPE_NAME: seco-image-edgehog-full
......@@ -67,4 +69,5 @@ deploy-edgehog-embedded-full-c20:
artifacts: true
variables:
<<: *deploy-edgehog-c20
<<: *build-edgehog-embedded-c20-full
IMAGE_NAME: edgehog-embedded-full-image
\ No newline at end of file
......@@ -10,6 +10,7 @@ build-edgehog-c31:
BUILD_DIRECTORY: build_c31
MACHINE: seco-rk3399-c31
DEFCONFIG_FILE: seco_sbc_c31_edgehog
RECIPE_NAME: seco-image-edgehog
deploy-edgehog-c31:
extends: .deploy
......@@ -42,6 +43,7 @@ deploy-edgehog-embedded-base-c31:
artifacts: true
variables:
<<: *deploy-edgehog-c31
<<: *build-edgehog-embedded-c31
IMAGE_NAME: edgehog-embedded-base-image
#############################
......@@ -53,11 +55,10 @@ build-edgehog-embedded-full-c31:
rules: &embedded_full
# Build only in case of a tag
- if: $CI_COMMIT_TAG
variables:
variables: &build-edgehog-embedded-c31-full
<<: *build-edgehog-embedded-c31
RECIPE_NAME: seco-image-edgehog-full
deploy-edgehog-embedded-full-c31:
extends: .deploy
rules:
......@@ -68,4 +69,5 @@ deploy-edgehog-embedded-full-c31:
artifacts: true
variables:
<<: *deploy-edgehog-c31
<<: *build-edgehog-embedded-c31-full
IMAGE_NAME: edgehog-embedded-full-image
\ No newline at end of file
......@@ -10,6 +10,7 @@ build-edgehog-intel-apl:
BUILD_DIRECTORY: build_intel
MACHINE: seco-intel-apl
DEFCONFIG_FILE: seco_intel_apl_edgehog
RECIPE_NAME: seco-image-edgehog
deploy-edgehog-intel-apl:
extends: .deploy
......
......@@ -10,6 +10,7 @@ build-edgehog-tanaro:
BUILD_DIRECTORY: build_tanaro
MACHINE: seco-imx8mm-tanaro
DEFCONFIG_FILE: seco_sbc_tanaro_edgehog
RECIPE_NAME: seco-image-edgehog
deploy-edgehog-tanaro:
extends: .deploy
......@@ -42,6 +43,7 @@ deploy-edgehog-embedded-base-tanaro:
artifacts: true
variables:
<<: *deploy-edgehog-tanaro
<<: *build-edgehog-embedded-tanaro
IMAGE_NAME: edgehog-embedded-base-image
#############################
......@@ -53,7 +55,7 @@ build-edgehog-embedded-full-tanaro:
rules: &embedded_full
# Build only in case of a tag
- if: $CI_COMMIT_TAG
variables:
variables: &build-edgehog-embedded-tanaro-full
<<: *build-edgehog-embedded-tanaro
RECIPE_NAME: seco-image-edgehog-full
......@@ -67,4 +69,5 @@ deploy-edgehog-embedded-full-tanaro:
artifacts: true
variables:
<<: *deploy-edgehog-tanaro
<<: *build-edgehog-embedded-tanaro-full
IMAGE_NAME: edgehog-embedded-full-image
\ No newline at end of file
......@@ -195,6 +195,8 @@ retrigger:
fi
echo "This is the manifest repository URL used for the build: ${CI_REPOSITORY_URL}"
echo "This is the manifest branch used for the build: ${BUILD_BRANCH}"
echo "This is the board for which the build will be performed: ${BOARD}"
echo "This is the bitbake recipe we will be using for the build: ${RECIPE_NAME}"
- |
su secous -c "
repo init -u ${CI_REPOSITORY_URL} -b ${BUILD_BRANCH};
......@@ -257,6 +259,8 @@ retrigger:
script:
- BASE_DIRECTORY=$PWD
- echo "Deploying packages..."
- echo "This is the board for which the build has been performed... ${BOARD}"
- echo "This is the recipe name associated to that build... ${RECIPE_NAME}"
- ART_PATH=$(cat pathname.txt)
- DEPLOY_DATE=$(date +%Y%m%d)
- |
......
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