diff options
Diffstat (limited to 'upgrades')
-rw-r--r-- | upgrades/apk.sh | 6 | ||||
-rw-r--r-- | upgrades/dalinar.yaml | 11 | ||||
-rw-r--r-- | upgrades/kaladin.yaml | 11 | ||||
-rw-r--r-- | upgrades/lore.yaml | 11 | ||||
-rw-r--r-- | upgrades/myth.yaml | 11 | ||||
-rw-r--r-- | upgrades/pkg.sh | 6 |
6 files changed, 56 insertions, 0 deletions
diff --git a/upgrades/apk.sh b/upgrades/apk.sh new file mode 100644 index 0000000..de68bd4 --- /dev/null +++ b/upgrades/apk.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +apk upgrade + +echo OK > /var/spool/adyxax/nagios/upgrade diff --git a/upgrades/dalinar.yaml b/upgrades/dalinar.yaml new file mode 100644 index 0000000..afedf2a --- /dev/null +++ b/upgrades/dalinar.yaml @@ -0,0 +1,11 @@ +name: "dalinar" +steps: + - label: upgrade + script: + path: "pkg.sh" +runner: + identity: "eventline-ssh" + name: "ssh" + parameters: + host: "dalinar.adyxax.org" + user: "root" diff --git a/upgrades/kaladin.yaml b/upgrades/kaladin.yaml new file mode 100644 index 0000000..4971175 --- /dev/null +++ b/upgrades/kaladin.yaml @@ -0,0 +1,11 @@ +name: "kaladin" +steps: + - label: upgrade + script: + path: "pkg.sh" +runner: + identity: "eventline-ssh" + name: "ssh" + parameters: + host: "kaladin.adyxax.org" + user: "root" diff --git a/upgrades/lore.yaml b/upgrades/lore.yaml new file mode 100644 index 0000000..533ac75 --- /dev/null +++ b/upgrades/lore.yaml @@ -0,0 +1,11 @@ +name: "lore" +steps: + - label: upgrade + script: + path: "pkg.sh" +runner: + identity: "eventline-ssh" + name: "ssh" + parameters: + host: "lore.adyxax.org" + user: "root" diff --git a/upgrades/myth.yaml b/upgrades/myth.yaml new file mode 100644 index 0000000..d925844 --- /dev/null +++ b/upgrades/myth.yaml @@ -0,0 +1,11 @@ +name: "myth" +steps: + - label: upgrade + script: + path: "apk.sh" +runner: + identity: "eventline-ssh" + name: "ssh" + parameters: + host: "myth.adyxax.org" + user: "root" diff --git a/upgrades/pkg.sh b/upgrades/pkg.sh new file mode 100644 index 0000000..d54a57b --- /dev/null +++ b/upgrades/pkg.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +pkg upgrade -y + +echo OK > /var/spool/adyxax/nagios/upgrade |