Skip to content

Commit

Permalink
[#3] Control Cirrus CI via global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Dec 20, 2024
1 parent 750ac04 commit cc88e43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

---

CI_ENABLED: false

#
# Templates
#
Expand Down Expand Up @@ -134,7 +136,7 @@ iox2_freebsd_setup_template: &IOX2_FREEBSD_SETUP
# Filter to run the CI only on the main branch or for pull request to the main branch
#

only_if: false && ( $CIRRUS_BRANCH == 'main' || ($CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'main'))
only_if: $CI_ENABLED && ( $CIRRUS_BRANCH == 'main' || ($CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'main'))

#
# Global environment variables
Expand Down

0 comments on commit cc88e43

Please sign in to comment.