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
5 changes: 5 additions & 0 deletions common/src/main/kotlin/gg/grounds/agones/AgonesHelper.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package gg.grounds.agones

import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch

Expand Down Expand Up @@ -47,6 +48,8 @@ class AgonesHelper(
val isInState =
try {
agonesClient.isGameServerInState(desiredState)
} catch (error: CancellationException) {
throw error
} catch (error: Throwable) {
logger.error("Failed to check Agones GameServer state", error)
return
Expand All @@ -59,6 +62,8 @@ class AgonesHelper(
try {
action()
logger.info(successMessage)
} catch (error: CancellationException) {
throw error
} catch (error: Throwable) {
logger.error(failureMessage, error)
}
Expand Down
4 changes: 2 additions & 2 deletions paper/devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ deployments:
helm:
releaseName: plugin-agones-paper
chart:
name: ../../charts/charts/agones
name: oci://ghcr.io/groundsgg/charts/agones-fleet
version: 0.1.0
values:
image:
repository: ghcr.io/groundsgg/paper
tag: 0.2.0
tag: 0.3.0
serverType: paper
command: ["/bin/sh", "-c", "sleep infinity"]

Expand Down
4 changes: 2 additions & 2 deletions velocity/devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ deployments:
helm:
releaseName: plugin-agones-velocity
chart:
name: ../../charts/charts/agones
name: oci://ghcr.io/groundsgg/charts/agones-fleet
version: 0.1.0
values:
image:
repository: ghcr.io/groundsgg/velocity
tag: 0.4.0
tag: 0.6.0
serverType: velocity
command: ["/bin/sh", "-c", "sleep infinity"]

Expand Down