gitlab-ci-local 4.70.1 → 4.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -180,46 +180,58 @@ The command `gitlab-ci-local --list` will return pretty output and will also fil
180
180
  to `when: never`.
181
181
 
182
182
  ```text
183
- name description stage when allow_failure needs
184
- test-job Run Tests test on_success false
185
- build-job build on_success true [test-job]
183
+ name description stage when allow_failure needs
184
+ test-job Run Tests test on_success false
185
+ build-job build on_success true [test-job]
186
+ exit-codes-job build on_success [42,137] []
187
+ deploy-job deploy on_success [1]
186
188
  ```
187
189
 
190
+ - **description**: always shown, empty when not set
191
+ - **allow_failure**: `true`, `false`, or `[exit_code1,exit_code2]` when specific exit codes are allowed to fail
192
+ - **needs**: omitted when not specified (job follows stage ordering), `[]` when explicitly set to no dependencies (job starts immediately)
193
+
188
194
  #### --list-all
189
195
 
190
196
  Same as `--list` but will also print out jobs which are set to `when: never` (directly and implicit e.g. via rules).
191
197
 
192
198
  ```text
193
- name description stage when allow_failure needs
194
- test-job Run Tests test on_success false
195
- build-job build on_success true [test-job]
196
- deploy-job deploy never false [build-job]
199
+ name description stage when allow_failure needs
200
+ test-job Run Tests test on_success false
201
+ build-job build on_success true [test-job]
202
+ exit-codes-job build on_success [42,137] []
203
+ deploy-job deploy on_success [1]
204
+ never-job test never false
197
205
  ```
198
206
 
199
207
  #### --list-csv
200
208
 
201
- The command `gitlab-ci-local --list-csv` will output the pipeline jobs as csv formatted list and will also filter all
202
- jobs which are set
203
- to `when: never`.
204
- The description will always be wrapped in quotes (even if there is none) to prevent semicolons in the description
205
- disturb the csv structure.
209
+ The command `gitlab-ci-local --list-csv` will output the pipeline jobs as a CSV-formatted list and will also filter all
210
+ jobs which are set to `when: never`.
206
211
 
207
212
  ```text
208
- name;description;stage;when;allow_failure;needs
209
- test-job;"Run Tests";test;on_success;false;[]
210
- build-job;"";build;on_success;true;[test-job]
213
+ name;stage;when;allowFailure;needs
214
+ test-job;test;on_success;false;
215
+ build-job;build;on_success;true;[test-job]
216
+ exit-codes-job;build;on_success;[42,137];[]
217
+ deploy-job;deploy;on_success;[1];
211
218
  ```
212
219
 
220
+ - **allowFailure**: `true`, `false`, or `[exit_code1,exit_code2]` when specific exit codes are allowed to fail
221
+ - **needs**: empty when not specified (job follows stage ordering), `[]` when explicitly set to no dependencies (job starts immediately)
222
+
213
223
  #### --list-csv-all
214
224
 
215
- Same as `--list-csv-all` but will also print out jobs which are set to `when: never` (directly and implicit e.g. via
225
+ Same as `--list-csv` but will also print out jobs which are set to `when: never` (directly and implicit e.g. via
216
226
  rules).
217
227
 
218
228
  ```text
219
- name;description;stage;when;allow_failure;needs
220
- test-job;"Run Tests";test;on_success;false;[]
221
- build-job;"";build;on_success;true;[test-job]
222
- deploy-job;"";deploy;never;false;[build-job]
229
+ name;stage;when;allowFailure;needs
230
+ test-job;test;on_success;false;
231
+ build-job;build;on_success;true;[test-job]
232
+ exit-codes-job;build;on_success;[42,137];[]
233
+ deploy-job;deploy;on_success;[1];
234
+ never-job;test;never;false;
223
235
  ```
224
236
 
225
237
  ## Quirks