Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump dependencies #34

Merged
merged 3 commits into from
Sep 11, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
Release:
runs-on: ubuntu-latest
env:
GO_VERSION: "1.22"
GO_VERSION: "1.23"
GOPRIVATE: gitlab.com/nitrado/*

steps:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:

runs-on: ubuntu-latest
env:
GO_VERSION: "1.22"
GO_VERSION: "1.23"
GOPRIVATE: gitlab.com/nitrado/*
GOLANGCI_LINT_VERSION: v1.57.2
GOLANGCI_LINT_VERSION: v1.60.3

steps:
- name: Install Go
Expand Down Expand Up @@ -47,7 +47,6 @@ jobs:
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
skip-pkg-cache: true

- name: Run tests
run: go run gotest.tools/gotestsum@latest --junitfile tests.xml --format pkgname -- -cover -race ./...
Expand Down
17 changes: 5 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,21 @@ linters-settings:
linters:
enable-all: true
disable:
- deadcode # deprecated
- exhaustivestruct # deprecated
- execinquery # deprecated
- exportloopref # deprecated
- gocyclo # duplicate of cyclop
- golint # deprecated
- ifshort # deprecated
- interfacer # deprecated
- maligned # deprecated
- nosnakecase # deprecated
- scopelint # deprecated
- structcheck # deprecated
- varcheck # deprecated
- gomnd # deprecated
- depguard
- dupl
- err113
- exhaustive
- exhaustruct
- forcetypeassert
- funlen
- gochecknoglobals
- gochecknoinits
- godox
- goerr113
- gomnd
- mnd
- gomoddirectives
- ireturn
- lll
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ signs:
- "${artifact}"

snapshot:
name_template: 'dev-{{ slice .FullCommit 0 8}}'
version_template: 'dev-{{ slice .FullCommit 0 8}}'
37 changes: 37 additions & 0 deletions docs/data-sources/armada_armada.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Required:

Optional:

- `gateway_policies` (List of String) GatewayPolicies are the gateway policy names applied to the game servers.
- `health` (Block List, Max: 1) Health is the health checking configuration for Agones game servers. (see [below for nested schema](#nestedblock--spec--template--spec--health))
- `strategy` (Block List, Max: 1) Strategy is the deployment strategy. (see [below for nested schema](#nestedblock--spec--template--spec--strategy))
- `volumes` (Block List) Volumes are pod volumes. (see [below for nested schema](#nestedblock--spec--template--spec--volumes))
Expand Down Expand Up @@ -182,8 +183,17 @@ Required:
Optional:

- `container_port` (Number) ContainerPort is the port that is being opened on the specified container's process.
- `protection_protocol` (Block List, Max: 1) ProtectionProtocol is the optional name of the protection protocol being used. (see [below for nested schema](#nestedblock--spec--template--spec--containers--ports--protection_protocol))
- `protocol` (String) Protocol is the network protocol being used. Defaults to UDP. TCP and TCPUDP are other options.

<a id="nestedblock--spec--template--spec--containers--ports--protection_protocol"></a>
### Nested Schema for `spec.template.spec.containers.ports.protection_protocol`

Required:

- `value` (String) ProtectionProtocol is the optional name of the protection protocol being used.



<a id="nestedblock--spec--template--spec--containers--resources"></a>
### Nested Schema for `spec.template.spec.containers.resources`
Expand All @@ -209,6 +219,7 @@ Optional:
Optional:

- `allow_privilege_escalation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--allow_privilege_escalation))
- `app_armor_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile))
- `capabilities` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--capabilities))
- `privileged` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--privileged))
- `proc_mount` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--proc_mount))
Expand All @@ -228,6 +239,23 @@ Required:
- `value` (Boolean)


<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile`

Optional:

- `localhost_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile))
- `type` (String)

<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile.localhost_profile`

Required:

- `value` (String)



<a id="nestedblock--spec--template--spec--containers--security_context--capabilities"></a>
### Nested Schema for `spec.template.spec.containers.security_context.capabilities`

Expand Down Expand Up @@ -366,6 +394,7 @@ Optional:
- `mount_propagation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--mount_propagation))
- `name` (String)
- `read_only` (Boolean)
- `recursive_read_only` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only))
- `sub_path` (String)
- `sub_path_expr` (String)

Expand All @@ -377,6 +406,14 @@ Required:
- `value` (String)


<a id="nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only"></a>
### Nested Schema for `spec.template.spec.containers.volume_mounts.recursive_read_only`

Required:

- `value` (String)




<a id="nestedblock--spec--template--spec--health"></a>
Expand Down
37 changes: 37 additions & 0 deletions docs/data-sources/armada_armada_v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Required:

Optional:

- `gateway_policies` (List of String) GatewayPolicies are the gateway policy names applied to the game servers.
- `health` (Block List, Max: 1) Health is the health checking configuration for Agones game servers. (see [below for nested schema](#nestedblock--spec--template--spec--health))
- `strategy` (Block List, Max: 1) Strategy is the deployment strategy. (see [below for nested schema](#nestedblock--spec--template--spec--strategy))
- `volumes` (Block List) Volumes are pod volumes. (see [below for nested schema](#nestedblock--spec--template--spec--volumes))
Expand Down Expand Up @@ -182,8 +183,17 @@ Required:
Optional:

- `container_port` (Number) ContainerPort is the port that is being opened on the specified container's process.
- `protection_protocol` (Block List, Max: 1) ProtectionProtocol is the optional name of the protection protocol being used. (see [below for nested schema](#nestedblock--spec--template--spec--containers--ports--protection_protocol))
- `protocol` (String) Protocol is the network protocol being used. Defaults to UDP. TCP and TCPUDP are other options.

<a id="nestedblock--spec--template--spec--containers--ports--protection_protocol"></a>
### Nested Schema for `spec.template.spec.containers.ports.protection_protocol`

Required:

- `value` (String) ProtectionProtocol is the optional name of the protection protocol being used.



<a id="nestedblock--spec--template--spec--containers--resources"></a>
### Nested Schema for `spec.template.spec.containers.resources`
Expand All @@ -209,6 +219,7 @@ Optional:
Optional:

- `allow_privilege_escalation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--allow_privilege_escalation))
- `app_armor_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile))
- `capabilities` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--capabilities))
- `privileged` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--privileged))
- `proc_mount` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--proc_mount))
Expand All @@ -228,6 +239,23 @@ Required:
- `value` (Boolean)


<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile`

Optional:

- `localhost_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile))
- `type` (String)

<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile.localhost_profile`

Required:

- `value` (String)



<a id="nestedblock--spec--template--spec--containers--security_context--capabilities"></a>
### Nested Schema for `spec.template.spec.containers.security_context.capabilities`

Expand Down Expand Up @@ -366,6 +394,7 @@ Optional:
- `mount_propagation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--mount_propagation))
- `name` (String)
- `read_only` (Boolean)
- `recursive_read_only` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only))
- `sub_path` (String)
- `sub_path_expr` (String)

Expand All @@ -377,6 +406,14 @@ Required:
- `value` (String)


<a id="nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only"></a>
### Nested Schema for `spec.template.spec.containers.volume_mounts.recursive_read_only`

Required:

- `value` (String)




<a id="nestedblock--spec--template--spec--health"></a>
Expand Down
37 changes: 37 additions & 0 deletions docs/data-sources/armada_armadaset.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Required:

Optional:

- `gateway_policies` (List of String) GatewayPolicies are the gateway policy names applied to the game servers.
- `health` (Block List, Max: 1) Health is the health checking configuration for Agones game servers. (see [below for nested schema](#nestedblock--spec--template--spec--health))
- `strategy` (Block List, Max: 1) Strategy is the deployment strategy. (see [below for nested schema](#nestedblock--spec--template--spec--strategy))
- `volumes` (Block List) Volumes are pod volumes. (see [below for nested schema](#nestedblock--spec--template--spec--volumes))
Expand Down Expand Up @@ -196,8 +197,17 @@ Required:
Optional:

- `container_port` (Number) ContainerPort is the port that is being opened on the specified container's process.
- `protection_protocol` (Block List, Max: 1) ProtectionProtocol is the optional name of the protection protocol being used. (see [below for nested schema](#nestedblock--spec--template--spec--containers--ports--protection_protocol))
- `protocol` (String) Protocol is the network protocol being used. Defaults to UDP. TCP and TCPUDP are other options.

<a id="nestedblock--spec--template--spec--containers--ports--protection_protocol"></a>
### Nested Schema for `spec.template.spec.containers.ports.protection_protocol`

Required:

- `value` (String) ProtectionProtocol is the optional name of the protection protocol being used.



<a id="nestedblock--spec--template--spec--containers--resources"></a>
### Nested Schema for `spec.template.spec.containers.resources`
Expand All @@ -223,6 +233,7 @@ Optional:
Optional:

- `allow_privilege_escalation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--allow_privilege_escalation))
- `app_armor_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile))
- `capabilities` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--capabilities))
- `privileged` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--privileged))
- `proc_mount` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--proc_mount))
Expand All @@ -242,6 +253,23 @@ Required:
- `value` (Boolean)


<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile`

Optional:

- `localhost_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile))
- `type` (String)

<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile.localhost_profile`

Required:

- `value` (String)



<a id="nestedblock--spec--template--spec--containers--security_context--capabilities"></a>
### Nested Schema for `spec.template.spec.containers.security_context.capabilities`

Expand Down Expand Up @@ -380,6 +408,7 @@ Optional:
- `mount_propagation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--mount_propagation))
- `name` (String)
- `read_only` (Boolean)
- `recursive_read_only` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only))
- `sub_path` (String)
- `sub_path_expr` (String)

Expand All @@ -391,6 +420,14 @@ Required:
- `value` (String)


<a id="nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only"></a>
### Nested Schema for `spec.template.spec.containers.volume_mounts.recursive_read_only`

Required:

- `value` (String)




<a id="nestedblock--spec--template--spec--health"></a>
Expand Down
37 changes: 37 additions & 0 deletions docs/data-sources/armada_armadaset_v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Required:

Optional:

- `gateway_policies` (List of String) GatewayPolicies are the gateway policy names applied to the game servers.
- `health` (Block List, Max: 1) Health is the health checking configuration for Agones game servers. (see [below for nested schema](#nestedblock--spec--template--spec--health))
- `strategy` (Block List, Max: 1) Strategy is the deployment strategy. (see [below for nested schema](#nestedblock--spec--template--spec--strategy))
- `volumes` (Block List) Volumes are pod volumes. (see [below for nested schema](#nestedblock--spec--template--spec--volumes))
Expand Down Expand Up @@ -196,8 +197,17 @@ Required:
Optional:

- `container_port` (Number) ContainerPort is the port that is being opened on the specified container's process.
- `protection_protocol` (Block List, Max: 1) ProtectionProtocol is the optional name of the protection protocol being used. (see [below for nested schema](#nestedblock--spec--template--spec--containers--ports--protection_protocol))
- `protocol` (String) Protocol is the network protocol being used. Defaults to UDP. TCP and TCPUDP are other options.

<a id="nestedblock--spec--template--spec--containers--ports--protection_protocol"></a>
### Nested Schema for `spec.template.spec.containers.ports.protection_protocol`

Required:

- `value` (String) ProtectionProtocol is the optional name of the protection protocol being used.



<a id="nestedblock--spec--template--spec--containers--resources"></a>
### Nested Schema for `spec.template.spec.containers.resources`
Expand All @@ -223,6 +233,7 @@ Optional:
Optional:

- `allow_privilege_escalation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--allow_privilege_escalation))
- `app_armor_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile))
- `capabilities` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--capabilities))
- `privileged` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--privileged))
- `proc_mount` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--proc_mount))
Expand All @@ -242,6 +253,23 @@ Required:
- `value` (Boolean)


<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile`

Optional:

- `localhost_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile))
- `type` (String)

<a id="nestedblock--spec--template--spec--containers--security_context--app_armor_profile--localhost_profile"></a>
### Nested Schema for `spec.template.spec.containers.security_context.app_armor_profile.localhost_profile`

Required:

- `value` (String)



<a id="nestedblock--spec--template--spec--containers--security_context--capabilities"></a>
### Nested Schema for `spec.template.spec.containers.security_context.capabilities`

Expand Down Expand Up @@ -380,6 +408,7 @@ Optional:
- `mount_propagation` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--mount_propagation))
- `name` (String)
- `read_only` (Boolean)
- `recursive_read_only` (Block List, Max: 1) (see [below for nested schema](#nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only))
- `sub_path` (String)
- `sub_path_expr` (String)

Expand All @@ -391,6 +420,14 @@ Required:
- `value` (String)


<a id="nestedblock--spec--template--spec--containers--volume_mounts--recursive_read_only"></a>
### Nested Schema for `spec.template.spec.containers.volume_mounts.recursive_read_only`

Required:

- `value` (String)




<a id="nestedblock--spec--template--spec--health"></a>
Expand Down
Loading
Loading