Skip to content

Commit b608a98

Browse files
author
Kevin Paulisse
committed
Add validate_references to the example config file
1 parent f650537 commit b608a98

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

examples/octocatalog-diff.cfg.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,16 @@ def self.config
200200

201201
settings[:from_env] = 'origin/master'
202202

203+
##############################################################################################
204+
# validate_references
205+
# Set this to an array containing 1 or more of: `before`, `notify`, `require`, `subscribe`
206+
# to validate references in the "to" catalog. This will cause the catalog to fail if it
207+
# contains references to resources that aren't in the catalog. If you don't want to validate
208+
# any references, set this to an empty array, or just comment out the line.
209+
##############################################################################################
210+
211+
settings[:validate_references] = %w(before notify require subscribe)
212+
203213
##############################################################################################
204214
# Less commonly changed settings
205215
##############################################################################################

0 commit comments

Comments
 (0)