File: advanced-ci.md

package info (click to toggle)
octocatalog-diff 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,356 kB
  • sloc: ruby: 6,097; sh: 16; makefile: 13
file content (13 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Using `octocatalog-diff` in CI

## Catalog compilation check

Compile the catalog for several important hosts, and ensure that all catalogs successfully compile before permitting the merge. This is a pass/fail check.

- [Sample rspec file for catalog compilation test](/examples/ci/puppet_catalogs_spec.rb)

## Catalog difference analysis

Compute the difference between the proposed code and the base branch across a number of hosts. This is more than just a pass/fail check, as a human should review the results to ensure that the differences are expected.

- [Sample rspec file for catalog difference analysis](/examples/ci/puppet_catalog_diff_spec.rb)