Skip to content

Commit

Permalink
ci: trigger mender-mcu-integration pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Skinstad Drabitzius <[email protected]>
  • Loading branch information
danielskinstad committed Feb 4, 2025
1 parent 6482006 commit a664c41
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ include:
- '.gitlab-ci-check-commits.yml'
- '.gitlab-ci-github-status-updates.yml'

variables:
MENDER_MCU_REVISION: ${CI_COMMIT_BRANCH}
MENDER_MCU_INTEGRATION_REVISION: main

stages:
- test
- trigger
- publish

variables:
Expand Down Expand Up @@ -131,6 +136,17 @@ test:static:release:
variables:
BUILD_TYPE: Release

trigger:mender-mcu-integration:
rules:
- if: $CI_COMMIT_BRANCH =~ /^(pr_[0-9]+)$/
variables:
MENDER_MCU_REVISION: ${CI_EXTERNAL_PULL_REQUEST_SOURCE_BRANCH_SHA}
- when: always
trigger:
project: Northern.tech/Mender/mender-mcu-integration
branch: $MENDER_MCU_INTEGRATION_REVISION
strategy: depend

publish:tests:
stage: publish
image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/python:3.11
Expand Down

0 comments on commit a664c41

Please sign in to comment.