Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/generate-cli-options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Test exact generated-file staging
shell: pwsh
run: tools/ModularPipelines.OptionsGenerator/scripts/Test-StageGeneratedChanges.ps1
- name: Reject stale generated enum attributes
shell: pwsh
run: tools/ModularPipelines.OptionsGenerator/scripts/Test-GeneratedEnumAttributes.ps1

tool-catalog:
needs: validate-generation-safety
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#nullable enable

using System.CodeDom.Compiler;
using System.ComponentModel;
using ModularPipelines.Attributes;

namespace ModularPipelines.Docker.Enums;

Expand All @@ -16,12 +16,12 @@ namespace ModularPipelines.Docker.Enums;
[GeneratedCode("ModularPipelines.OptionsGenerator", "2.0.0")]
public enum DockerBuilderHistoryLogsProgress
{
[Description("plain")]
[EnumValue("plain")]
Plain,

[Description("rawjson")]
[EnumValue("rawjson")]
Rawjson,

[Description("tty")]
[EnumValue("tty")]
Tty
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#nullable enable

using System.CodeDom.Compiler;
using System.ComponentModel;
using ModularPipelines.Attributes;

namespace ModularPipelines.Docker.Enums;

Expand All @@ -16,12 +16,12 @@ namespace ModularPipelines.Docker.Enums;
[GeneratedCode("ModularPipelines.OptionsGenerator", "2.0.0")]
public enum DockerBuildxHistoryLogsProgress
{
[Description("plain")]
[EnumValue("plain")]
Plain,

[Description("rawjson")]
[EnumValue("rawjson")]
Rawjson,

[Description("tty")]
[EnumValue("tty")]
Tty
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#nullable enable

using System.CodeDom.Compiler;
using System.ComponentModel;
using ModularPipelines.Attributes;

namespace ModularPipelines.Docker.Enums;

Expand All @@ -16,18 +16,18 @@ namespace ModularPipelines.Docker.Enums;
[GeneratedCode("ModularPipelines.OptionsGenerator", "2.0.0")]
public enum DockerComposeProgress
{
[Description("auto")]
[EnumValue("auto")]
Auto,

[Description("tty")]
[EnumValue("tty")]
Tty,

[Description("plain")]
[EnumValue("plain")]
Plain,

[Description("json")]
[EnumValue("json")]
Json,

[Description("quiet")]
[EnumValue("quiet")]
Quiet
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#nullable enable

using System.CodeDom.Compiler;
using System.ComponentModel;
using ModularPipelines.Attributes;

namespace ModularPipelines.Docker.Enums;

Expand All @@ -16,9 +16,9 @@ namespace ModularPipelines.Docker.Enums;
[GeneratedCode("ModularPipelines.OptionsGenerator", "2.0.0")]
public enum DockerContainerCreateCgroupns
{
[Description("host")]
[EnumValue("host")]
Host,

[Description("private")]
[EnumValue("private")]
Private
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#nullable enable

using System.CodeDom.Compiler;
using System.ComponentModel;
using ModularPipelines.Attributes;

namespace ModularPipelines.Docker.Enums;

Expand All @@ -16,9 +16,9 @@ namespace ModularPipelines.Docker.Enums;
[GeneratedCode("ModularPipelines.OptionsGenerator", "2.0.0")]
public enum DockerContainerRunCgroupns
{
[Description("host")]
[EnumValue("host")]
Host,

[Description("private")]
[EnumValue("private")]
Private
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading