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
30 changes: 0 additions & 30 deletions .github/release-drafter.yml

This file was deleted.

26 changes: 6 additions & 20 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,13 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
test:
runs-on: ubuntu-latest
draft:
uses: metal-stack/actions-common/.github/workflows/release-drafter.yaml@v1

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache: false

- name: Lint
uses: golangci/golangci-lint-action@v9
with:
args: --build-tags integration --timeout=5m

- name: Test
run: |
make test
go-build:
uses: metal-stack/actions-common/.github/workflows/go-build.yaml@v1
with:
build: false

build:
runs-on: ubuntu-latest
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/release-drafter.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion cmd/tableprinters/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (t *TablePrinter) getMachineStatusEmojis(m *apiv2.Machine) string {
switch status.Condition.State {
case apiv2.MachineState_MACHINE_STATE_LOCKED:
emojis = append(emojis, lock)
case apiv2.MachineState_MACHINE_STATE_RESERVED:
case apiv2.MachineState_MACHINE_STATE_TAINTED:
emojis = append(emojis, bark)
default:
// noop
Expand Down
2 changes: 1 addition & 1 deletion cmd/tableprinters/switch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ func TestTablePrinter_SwitchWithConnectedMachinesTable(t *testing.T) {
},
Status: &apiv2.MachineStatus{
Condition: &apiv2.MachineCondition{
State: apiv2.MachineState_MACHINE_STATE_RESERVED,
State: apiv2.MachineState_MACHINE_STATE_TAINTED,
},
Liveliness: apiv2.MachineLiveliness_MACHINE_LIVELINESS_UNKNOWN,
},
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cli for managing entities in metal-stack
--debug debug output
--force-color force colored output even without tty
-h, --help help for metalctlv2
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_api-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ metalctlv2 api-methods [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ read api audit traces of a tenant
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_audit_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metalctlv2 audit describe <id> [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_audit_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ metalctlv2 audit list [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ See each sub-command's help for details on how to use the generated script.
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_completion_bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ metalctlv2 completion bash
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_completion_fish.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ metalctlv2 completion fish [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_completion_powershell.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ metalctlv2 completion powershell [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_completion_zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ metalctlv2 completion zsh [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metalctlv2 context [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_context_add.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metalctlv2 context add <context-name> [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
```

Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_context_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metalctlv2 context list [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_context_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metalctlv2 context remove <context-name> [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
2 changes: 1 addition & 1 deletion docs/metalctlv2_context_set-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metalctlv2 context set-project <project-id> [flags]
-c, --config string alternative config file path, (default is ~/.metal-stack/config.yaml)
--debug debug output
--force-color force colored output even without tty
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
-o, --output-format string output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
--template string output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
--timeout duration request timeout used for api requests
```
Expand Down
Loading
Loading