Skip to content

Commit

Permalink
CI: Support test case insertion into nonfree repo (#19)
Browse files Browse the repository at this point in the history
* CI: Indirect test case insertion into nonfree repo
  • Loading branch information
Scheremo authored Aug 2, 2024
1 parent 979b6ca commit 08c90ba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
19 changes: 16 additions & 3 deletions .gitlab/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

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

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

stages:
- nonfree

Expand All @@ -15,11 +18,21 @@ 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 08c90ba

Please sign in to comment.