You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,15 @@
8
8
</tr>
9
9
</thead><tbody>
10
10
<trvalign=top>
11
+
<td>1.5.0</td>
12
+
<td>2017-10-18</td>
13
+
<td>
14
+
<li><ahref="https://github.com/github/octocatalog-diff/pull/151">#151</a>: (Enhancement) Support text differences in files where `source` is an array</li>
15
+
<li><ahref="https://github.com/github/octocatalog-diff/pull/153">#153</a>: (Enhancement) Support for hiera 5</li>
The following environment variables have special meaning to octocatalog-diff:
4
+
5
+
### `OCTOCATALOG_DIFF_CONFIG_FILE`
6
+
7
+
This environment variable is used to locate the configuration file for the CLI. The use of configuration files is described generally in:
8
+
9
+
-[Configuration](/doc/configuration.md)
10
+
11
+
### `OCTOCATALOG_DIFF_CUSTOM_VERSION`
12
+
13
+
When set, the `octocatalog-diff` CLI will display this as the version number within debugging, instead of the version number in the package. This is most useful if you want to use or include a git SHA in the version number.
When set, instead of loading libraries from the system or bundler location, libraries will be loaded from the specified value of this environment variable. This is used internally for development as we point users to unreleased code for debugging or testing.
-`octocatalog-diff` will create all of its temporary directories within the specified directory.
36
+
-`octocatalog-diff` will not attempt to remove any temporary directories it creates.
37
+
38
+
This is useful in the following situations:
39
+
40
+
- You are calling `octocatalog-diff` from within another program which is highly parallelized, and `at_exit` handlers are difficult to implement. Instead of figuring that all out (if it can even be figured out), you create a temporary directory before the parallelized logic, and remove it afterwards.
41
+
42
+
- You wish to debug intermediate output. For example, you may be instructed to set this variable and send some of the output to the project maintainers if you request assistance.
43
+
44
+
This variable is used internally for the parallelized logic for catalog compilation, but the value set from the environment will override any internal usage.
45
+
46
+
### `OCTOCATALOG_DIFF_VERSION`
47
+
48
+
This variable is used when building the gem, to override the default version. This is used for internal testing of `octocatalog-diff` before public releases. This variable is not useful outside the build context.
49
+
50
+
### `PUPPETDB_HOST`
51
+
52
+
This variable specifies the fully qualified domain name or IP address of the PuppetDB server.
53
+
54
+
Note: If `PUPPETDB_URL` is specified, then `PUPPETDB_HOST` is not consulted.
55
+
56
+
### `PUPPETDB_PORT`
57
+
58
+
This variable specifies the port number of the PuppetDB server.
59
+
60
+
Note: If `PUPPETDB_URL` is specified, then `PUPPETDB_PORT` is not consulted.
61
+
62
+
### `PUPPETDB_URL`
63
+
64
+
This variable specifies the URL to the PuppetDB server.
65
+
66
+
Example: `https://puppetdb.example.net:8081`
67
+
68
+
### `PUPPET_FACT_DIR`
69
+
70
+
This variable specifies the directory path where puppet fact files are stored. (Fact files must be named `<fqdn>.yaml` where `<fqdn>` is specified when running `octocatalog-diff`.)
Copy file name to clipboardExpand all lines: doc/dev/releasing.md
+6-17Lines changed: 6 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,13 @@ The project maintainers are responsible for bumping the version number, regenera
6
6
7
7
*This procedure is performed by a GitHubber.*
8
8
9
-
To test the new version of `octocatalog-diff` in the GitHub Puppet repository:
9
+
To test the new version of `octocatalog-diff` in the GitHub Puppet repository, check out `github/puppet` and:
10
10
11
-
0. In a checkout of the GitHub Puppet repository, start a new branch based off master.
12
-
0. In the `octocatalog-diff` checkout:
13
-
- Ensure that the desired branch is checked out.
14
-
- Choose a unique internal version number which has never been used in CI. A good guideline is that if you're planning to release a version `0.6.0` then for these tests, use `0.6.0a`, `0.6.0b`, ...
15
-
- Build the gem using your internal version number:
0. Back in the Puppet checkout, ensure that the changes are as expected (updates to Gemfile / Gemfile.lock, addition of new gem). Push the change and build appropriate CI job(s) to validate the changes.
11
+
- Start a new branch based off master
12
+
- Run `script/update-octocatalog-diff -r <ocd_branch_name>`
13
+
- Confirm and commit the result
14
+
- Make sure all CI jobs pass
15
+
- Run the `puppet-catalog-diff` CI job and make sure it passes and shows expected results
0 commit comments