Skip to content

Commit

Permalink
Update base.gitlab-ci.yml (#51)
Browse files Browse the repository at this point in the history
* add library file

* Update base.gitlab-ci.yml

[ascent test] testing ci

* [ascent-test] testing ci

* rm extar file

---------

Co-authored-by: Ryan Danehy <[email protected]>
  • Loading branch information
ryandanehy and Ryan Danehy authored Nov 1, 2023
1 parent fa76fba commit c3f5c87
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ stages:
- &rule_no_ascent_test
if: '$CI_COMMIT_TITLE =~ /\[ascent-test\]/'
when: never
# Only run when the commit **DOES** contains "[ascent-test]"
# Only run when the commit **DOES** contains "[ascent-test]"
- &rule_yes_ascent_test
if: '$CI_COMMIT_TITLE =~ /\[ascent-test\]/'
when: always
# --
# Only run when the commit **DOES NOT** contains "[deception-test]"
- &rule_no_deception_test
if: '$CI_COMMIT_TITLE =~ /\[deception-test\]/'
when: never
# Only run when the commit **DOES NOT** contains "[deception-rebuild]"
- &rule_no_deception_rebuild
if: '$CI_COMMIT_TITLE =~ /\[deception-rebuild\]/'
Expand All @@ -30,6 +34,10 @@ stages:
- &rule_no_incline_rebuild
if: '$CI_COMMIT_TITLE =~ /\[incline-rebuild\]/'
when: never
# Only run when the commit **DOES NOT** contains "[incline-test]"
- &rule_no_incline_test
if: '$CI_COMMIT_TITLE =~ /\[incline-test\]/'
when: never

# Ascent Variables
.ornl_environment_template:
Expand Down
6 changes: 5 additions & 1 deletion .gitlab/pnnl/base.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ include:
- &rule_yes_incline_test
if: '$CI_COMMIT_TITLE =~ /\[incline-test\]/'
when: always

- &rule_no_ascent_test
if: '$CI_COMMIT_TITLE =~ /\[ascent-test\]/'
when: never

variables:
GIT_SUBMODULE_STRATEGY: recursive
Expand Down Expand Up @@ -347,6 +349,7 @@ stages:
rules:
- *rule_no_deception_rebuild
- *rule_no_incline_rebuild
- *rule_no_ascent_test
- *rule_yes_deception_test
- *rule_no_incline_test
- *default
Expand All @@ -359,6 +362,7 @@ stages:
rules:
- *rule_no_deception_rebuild
- *rule_no_incline_rebuild
- *rule_no_ascent_test
- *rule_no_deception_test
- *rule_yes_incline_test
- *default
Expand Down

0 comments on commit c3f5c87

Please sign in to comment.