Skip to content
Snippets Groups Projects
Commit 7a4255b7 authored by Tim Jaacks's avatar Tim Jaacks
Browse files

CI-test: add simulated SDK build

parent de4adce6
No related branches found
No related tags found
1 merge request!220Add simulated sdk build
Pipeline #44190 passed with stage
in 2 minutes and 3 seconds
......@@ -82,32 +82,50 @@ build:check-foo-branch:
exit 1
fi
simulate-build-seco-mx6:
.simulate-build:
stage: build
extends:
- .buildbase
tags:
- infrastructure
timeout: 20m
timeout: 60m
rules:
- when: manual
allow_failure: true
variables:
BUILD_ARTIFACTS:
script:
- echo "Getting Yocto build artifacts"
# We have to specify a tag here instead of getting the artifacts from a master
# branch, because we don't always execute the full pipeline on the master branches.
# In those cases the actual build job does not exist, which results in a 404 error.
- wget -O artifacts.zip
https://git.seco.com/seco-ne/yocto/manifest/-/jobs/artifacts/kirkstone/3.0/download?job=build-seco-mx6
- wget -O artifacts.zip ${BUILD_ARTIFACTS}
- unzip artifacts.zip
artifacts:
reports:
dotenv: build.env
simulate-build-seco-mx6:
extends:
- .simulate-build
variables:
# We have to specify a tag here instead of getting the artifacts from a master
# branch, because we don't always execute the full pipeline on the master branches.
# In those cases the actual build job does not exist, which results in a 404 error.
BUILD_ARTIFACTS: https://git.seco.com/seco-ne/yocto/manifest/-/jobs/artifacts/kirkstone/3.0/download?job=build-seco-mx6
artifacts:
paths:
- build-*/tmp/deploy/images/**/*
- build-*/tmp/deploy/licenses/**/license.manifest
- build.env
simulate-buildsdk-seco-mx6:
extends:
- .simulate-build
variables:
BUILD_ARTIFACTS: https://git.seco.com/seco-ne/yocto/manifest/-/jobs/artifacts/kirkstone/3.0/download?job=buildsdk-seco-mx6
artifacts:
paths:
- build-*/tmp/deploy/sdk/*
- build.env
# --------------------------------------------------------------------------------------
# Stage: test
# --------------------------------------------------------------------------------------
......
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