Skip to content

Commit

Permalink
CI: Indirect test case insertion into nonfree repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Scheremo committed Aug 2, 2024
1 parent 979b6ca commit 2e313d6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
21 changes: 17 additions & 4 deletions .gitlab/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,33 @@

# We initialize the nonfree repo, then spawn a sub-pipeline from it

variables:
VSIM_TESTS: '["testCluster", "testClusterOffload"]'

stages:
- nonfree

init:
stage: nonfree
script: make chim-nonfree-init
artifacts:
paths: [ nonfree/ci.yml ]

process:
stage: nonfree
needs: [ init ]
script:
- envsubst '${VSIM_TESTS}' < nonfree/ci.yml > nonfree/processed_ci.yml
artifacts:
paths: [ nonfree/processed_ci.yml ]

subpipe:
stage: nonfree
needs: [ init ]
needs: [ process ]
trigger:
include:
- artifact: nonfree/ci.yml
job: init
- artifact: nonfree/processed_ci.yml
job: process
forward:
pipeline_variables: true
strategy: depend
12 changes: 0 additions & 12 deletions .gitlab/nonfree-var.yml

This file was deleted.

0 comments on commit 2e313d6

Please sign in to comment.