Skip to content

Commit

Permalink
feature: trigger ci job in gitlab (#4740)
Browse files Browse the repository at this point in the history
Runs TIleDB-REST-CI on gitlab, from the TileDB repository. 

This ensures the result of this pipeline is displayed as a status check
on PRs and `dev/release` branches.

**Test plan**

Triggers successfully when running a similar, albeit simpler workflow on
a test project.

TYPE: NO_HISTORY
  • Loading branch information
davejrt authored Feb 26, 2024
1 parent 6561589 commit d6f8bfb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
stages:
- test

trigger_pipeline:
stage: test
rules:
- if: $CI_COMMIT_BRANCH =~ /^dev|^release-.*/ || $CI_COMMIT_TAG != "" # only/except rules are no longer actively developed. Please use `rules` instead.
- if: $CI_PIPELINE_SOURCE == "external_pull_request_event"
changes:
- "!.github/workflows/quarto-render.yml"
- "!_quarto.yml"
- "!quarto-materials/*"
- "!**/.md"
- "!tiledb/doxygen/source/*"
- "!tiledb/sm/c_api/tiledb_version.h"

variables:
TILEDB_REF: ${CI_COMMIT_REF_NAME}
trigger:
project: tiledb-inc/tiledb-internal
strategy: depend

0 comments on commit d6f8bfb

Please sign in to comment.