@@ -162,26 +162,42 @@ private repository (and remember to commit that change).
162
162
163
163
[octocatalog-diff] : https://github.com/github/octocatalog-diff/
164
164
165
- Then, run octocatalog-diff like so :
165
+ Then, run `./bin/octodiff-docker.sh`, enter the username/password, and
166
+ run `octocatalog-diff` commands like so :
166
167
167
168
` ` ` shell
168
- $ export PUPPETDB_URL="https://username:[email protected] :8100/"
169
+ # staging
170
+ octocatalog-diff -n codeorigin-02.stage.ops.jquery.net
169
171
170
- $ octocatalog-diff -n codeorigin-02.stage.ops.jquery.net
171
- $ octocatalog-diff --environment production -n codeorigin-02.ops.jquery.net
172
+ # production
173
+ octocatalog-diff --environment production -n codeorigin-02.ops.jquery.net
174
+
175
+ # production (verbose)
176
+ octocatalog-diff --environment production -n codeorigin-02.ops.jquery.net --display-detail-add
172
177
` ` `
173
178
174
179
By default, `octocatalog-diff` will show the difference between the
175
180
current working tree and the last commit pushed to `origin`.
176
181
177
- ` octocatalog-diff` requires a local installation of Puppet 7. On a
178
- Debian Bookworm (testing) setup, as of time of writing you need the
179
- following packages :
180
-
181
- ` ` `
182
- git
183
- octocatalog-diff
184
- puppet-agent
185
- puppet-module-puppetlabs-sshkeys-core
186
- g10k
187
- ` ` `
182
+ Alternatively, you can install octocatalog-diff yourself :
183
+
184
+ * Install `octocatalog-diff` package (e.g. from apt-get).
185
+ * octocatalog-diff requires a local installation of Puppet 7.
186
+ Debian 12 Bookworm, you need the following packages :
187
+ ` ` `
188
+ git
189
+ puppet-agent
190
+ puppet-module-puppetlabs-sshkeys-core
191
+ g10k
192
+ ` ` `
193
+ * Provide your username and passwowrd via the environment:
194
+ ` ` ` shell
195
+ export PUPPETDB_URL="https://username:[email protected] :8100/"
196
+ ` ` `
197
+ * Then, run `g10k` once on the jquery/infrastructure-puppet directory, and
198
+ then you can use the`octocatalog-diff` command like above.
199
+ ```
200
+ $ cd /path/to/jquery/infrastructure-puppet
201
+ $ g10k -puppetfile
202
+ $ octocatalog-diff -n codeorigin-02.stage.ops.jquery.net
203
+ ```
0 commit comments