Skip to content

Commit 4798ac9

Browse files
monyarmPetarKirov
authored andcommitted
fix(mcl/ci_matrix): Quit on error
1 parent e7d25b7 commit 4798ac9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/mcl/src/src/mcl/commands/ci_matrix.d

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,12 @@ static immutable string[] uselessWarnings =
238238
"Please note that certain features, such as the test framework, may not function properly with the legacy table type.",
239239
"If you encounter errors similar to:",
240240
"error: The option `disko.devices.disk.disk1.content.partitions",
241-
"this is likely due to the use of the legacy table type."
241+
"this is likely due to the use of the legacy table type.",
242+
"warning: system.stateVersion is not set, defaulting to",
243+
"warning: Runner registration tokens have been deprecated and disabled by default in GitLab >= 17.0.",
244+
"Consider migrating to runner authentication tokens by setting `services.gitlab-runner.services.codetracer.authenticationTokenConfigFile`.",
245+
"https://docs.gitlab.com/17.0/ee/ci/runners/new_creation_workflow.html"
246+
"for a migration you can follow the guide at https://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md"
242247
];
243248

244249
Package packageFromNixEvalJobsJson(
@@ -308,6 +313,8 @@ Package[] nixEvalJobs(string flakeAttrPrefix, string cachixUrl, bool doCheck = t
308313
{
309314
Package[] result = [];
310315

316+
bool hasError = false;
317+
311318
int maxMemoryMB = getAvailableMemoryMB();
312319
int maxWorkers = getNixEvalWorkerCount();
313320

0 commit comments

Comments
 (0)