gitlab-radiator 5.4.0 → 5.5.1

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.
@@ -214,6 +214,11 @@ ol.jobs {
214
214
  background-color: @failed-background-color;
215
215
  }
216
216
 
217
+ &.failed-allowed{
218
+ color: @failed-allowed-text-color;
219
+ background-color: @failed-allowed-background-color;
220
+ }
221
+
217
222
  &.success {
218
223
  color: @success-text-color;
219
224
  background-color: @success-background-color;
@@ -14,6 +14,8 @@
14
14
  @success-background-color: rgb(34, 115, 110);
15
15
  @failed-text-color: @dark-text-color;
16
16
  @failed-background-color: rgb(204, 208, 0);
17
+ @failed-allowed-text-color: @dark-text-color;
18
+ @failed-allowed-background-color: rgb(204, 208, 0);
17
19
  @running-text-color: @light-text-color;
18
20
  @running-background-color: @success-background-color;
19
21
  @manual-text-color: @light-text-color;
package/src/config.js CHANGED
@@ -59,6 +59,8 @@ const ConfigSchema = z.strictObject({
59
59
  'error-message-text': z.string(),
60
60
  'failed-background': z.string(),
61
61
  'failed-text': z.string(),
62
+ 'failed-allowed-background': z.string(),
63
+ 'failed-allowed-text': z.string(),
62
64
  'group-background': z.string(),
63
65
  'light-text': z.string(),
64
66
  'pending-background': z.string(),
@@ -67,6 +67,7 @@ async function fetchJobs(projectId, pipelineId, gitlab) {
67
67
  .map(job => ({
68
68
  id: job.id,
69
69
  status: job.status,
70
+ allowFailure: job.allow_failure,
70
71
  stage: job.stage,
71
72
  name: job.name,
72
73
  startedAt: job.started_at,