aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2024-08-05 14:21:53 +0200
committerAdam Stück <adam@adast.dk>2024-08-05 14:21:53 +0200
commit363f85d32b6062dedaf4b22c1c7404b47ebf6c2a (patch)
treee219fd6feddb0b074dff11b2bf3c81125be5b7df
parent37085c8f9a398d2d9cee596ee8ece555dc69c2bb (diff)
Initial commit as status.adast.dk
-rw-r--r--.build.yml14
-rw-r--r--.gitlab-ci.yml28
-rw-r--r--.gitmodules2
-rw-r--r--.siteconfig.json3
-rw-r--r--config.yml42
-rw-r--r--content/issues/2018-01-17-sending-dms-impacted.md15
-rw-r--r--content/issues/2018-04-13-unavailable-guilds-connection-issues.md25
-rw-r--r--content/issues/2018-05-25-us-east-conn-issues.md20
-rw-r--r--content/issues/2019-10-08-testing-new-pipeline.md14
-rw-r--r--content/issues/2024-02-24-maintenance-window.md9
-rw-r--r--content/issues/i-testing-cstate-functions.md10
-rw-r--r--netlify/change.html5
-rw-r--r--netlify/confirmation.html5
-rw-r--r--netlify/invitation.html5
-rw-r--r--netlify/recovery.html7
-rw-r--r--static/logo.pngbin5707 -> 0 bytes
m---------themes/cstate0
17 files changed, 38 insertions, 166 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..5644d7b
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,14 @@
+image: alpine/edge
+oauth: pages.sr.ht/PAGES:RW
+packages:
+- hut
+- hugo
+environment:
+ site: status.adast.dk
+tasks:
+- package: |
+ cd $site
+ hugo
+ tar -C public -cvz . > ../site.tar.gz
+- upload: |
+ hut pages publish site.tar.gz -d $site --site-config $site/.siteconfig.json
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index ff60cfb..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-# SERVING CSTATE ON GITLAB PAGES
-# Introduced in v4.2.1
-#
-# This file is very similar to the existing GitLab template, and might need editing before it works on your project.
-#
-# All available Hugo versions are listed here:
-# https://gitlab.com/pages/hugo/container_registry
-#
-# cState uses Hugo Extended.
-image: registry.gitlab.com/pages/hugo/hugo_extended:0.100.2
-
-variables:
- GIT_SUBMODULE_STRATEGY: recursive
-
-test:
- script:
- - hugo
- except:
- - master
-
-pages:
- script:
- - hugo
- artifacts:
- paths:
- - public
- only:
- - master
diff --git a/.gitmodules b/.gitmodules
index 7a9fc42..c803438 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "themes/cstate"]
path = themes/cstate
- url = https://github.com/cstate/cstate
+ url = https://git.sr.ht/~adamski/status.adast.dk-cstate
diff --git a/.siteconfig.json b/.siteconfig.json
new file mode 100644
index 0000000..3b6236c
--- /dev/null
+++ b/.siteconfig.json
@@ -0,0 +1,3 @@
+{
+ "notFound": "404.html"
+}
diff --git a/config.yml b/config.yml
index f968d0b..88ca670 100644
--- a/config.yml
+++ b/config.yml
@@ -43,7 +43,7 @@
# What is your status page called?
# Shows up in the browser bar and meta tags
-title: Eggsample Status
+title: adast.dk status
# Should posts, which have a publish date
# from the future, be built? Useful for
@@ -97,7 +97,7 @@ defaultContentLanguage: en
#
# Broken example:
# baseUrl: /
-baseURL: https://example.com
+baseURL: https://status.adast.dk/
# For features like Last modified, you
# need to use a Git repository. If you
@@ -143,10 +143,10 @@ params:
# For help, see the wiki:
# https://github.com/cstate/cstate/wiki/Customization
categories:
- - name: North Coast
- description: The main servers are located here.
- closed: true
- - name: Empty Category
+ # - name: North Coast
+ # description: The main servers are located here.
+ # closed: true
+ # - name: Empty Category
- name: Uncategorized
untitled: true
@@ -158,19 +158,17 @@ params:
# For help, see the wiki:
# https://github.com/cstate/cstate/wiki/Customization
systems:
- - name: Gateway
- category: North Coast
- - name: Backup Gateway
- category: North Coast
- - name: Website
- description: The web frontend for the application.
+ - name: chat.adast.xyz
category: Uncategorized
- link: https://example.com/
- - name: API
- description: The guts of the application.
+ - name: cloud.adast.dk
category: Uncategorized
- - name: Media Proxy
- description: This is the service responsible for serving images, audio, and video. It is reliant on our CDN.
+ - name: mc.adast.dk
+ category: Uncategorized
+ - name: mumble.adast.dk
+ category: Uncategorized
+ - name: search.adast.dk
+ category: Uncategorized
+ - name: tv.adast.dk
category: Uncategorized
# What date format to use?
@@ -182,7 +180,7 @@ params:
#
# dateFormat Default: "January 2, 2006 at 3:04 PM"
# shortDateFormat Default: "15:04 — Jan 2"
- dateFormat: January 2, 2006 at 3:04 PM UTC
+ dateFormat: January 2, 2006 at 15:04 UTC
shortDateFormat: 15:04 UTC — Jan 2
# Should relative time (x min ago) be used?
@@ -233,7 +231,7 @@ params:
#
# Default: `true`
# BOOLEAN; `true`, `false`
- useLargeHeaderDesign: false
+ useLargeHeaderDesign: true
# Should incident history be separated
# like in an archive view?
@@ -242,7 +240,7 @@ params:
#
# Default: `yearly`
# STRING; `monthly`, `yearly`, `none`
- incidentHistoryFormat: "yearly"
+ incidentHistoryFormat: "none"
# Should incident history be hidden?
#
@@ -276,7 +274,7 @@ params:
#
# Default: `false`
# BOOLEAN; `true`, `false`
- useLogo: true
+ useLogo: false
# Where is the logo located, if one is
# present at all?
@@ -292,7 +290,7 @@ params:
# on the footer and meta tags.
#
# Default: We continuously monitor the status of our services and if there are any interruptions, a note will be posted here.
- description: We continuously monitor the status of our services and if there are any interruptions, a note will be posted here.
+ description: This page is updated by humans, who have to sleep from time to time.
# Tabs on homepage
# Uncomment to enable.
diff --git a/content/issues/2018-01-17-sending-dms-impacted.md b/content/issues/2018-01-17-sending-dms-impacted.md
deleted file mode 100644
index b96139f..0000000
--- a/content/issues/2018-01-17-sending-dms-impacted.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-title: Issues Sending DMs
-date: 2017-12-17 16:24:00
-resolved: true
-resolvedWhen: 2017-12-17 16:58:00
-# Possible severity levels: down, disrupted, notice
-severity: disrupted
-affected:
- - API
-section: issue
----
-
-*Update* - This incident has been resolved.
-
-*Investigating* - We're aware of an issue affecting sending DMs and viewing online friends. We're online and working on a resolution.
diff --git a/content/issues/2018-04-13-unavailable-guilds-connection-issues.md b/content/issues/2018-04-13-unavailable-guilds-connection-issues.md
deleted file mode 100644
index 170bd1f..0000000
--- a/content/issues/2018-04-13-unavailable-guilds-connection-issues.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-title: Unavailable Guilds & Connection Issues
-date: 2018-04-13 15:54:00
-resolved: true
-resolvedWhen: 2018-04-13 17:30:00
-# Possible severity levels: down, disrupted, notice
-severity: down
-affected:
- - API
- - Media Proxy
-section: issue
----
-
-*Post-mortem*
-
-At approximately 14:01, a Redis instance acting as the primary for a highly-available cluster used by our API services was migrated automatically by Google’s Cloud Platform. This migration caused the node to incorrectly drop offline, forcing the cluster to rebalance and trigger known issues with the way our API instances handle Redis failover. After resolving this partial outage, unnoticed issues on other services caused a cascading failure through Example Chat App’s real time system. These issues caused enough critical impact that Example Chat App’s engineering team was forced to fully restart the service, reconnecting millions of clients over a period of 20 minutes.
-
-
----
-
-*Update* - A fix has been implemented and we are monitoring the results. Looks like this has been fixed. {{< track "2018-04-13 17:30:00" >}}
-
-*Monitoring* - After hitting the ole reboot button Example Chat App is now recovering. We're going to continue to monitor as everyone reconnects. {{< track "2018-04-13 16:50:00" >}}
-
-*Investigating* - We're aware of users experiencing unavailable guilds and issues when attempting to connect. We're currently investigating. {{< track "2018-04-13 15:54:00" >}}
diff --git a/content/issues/2018-05-25-us-east-conn-issues.md b/content/issues/2018-05-25-us-east-conn-issues.md
deleted file mode 100644
index 8d56cf2..0000000
--- a/content/issues/2018-05-25-us-east-conn-issues.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: US East Connection Issues
-date: 2018-04-25 04:13:00
-resolved: true
-resolvedWhen: 2018-04-25 04:13:59
-# Possible severity levels: down, disrupted, notice
-severity: down
-affected:
- - API
- - Media Proxy
- - Gateway
-section: issue
----
-
-*Resolved* -
-We believe all users experiencing issues have been able to connect at this time. {{< track "2018-05-25 05:54:00" >}}
-
-*Monitoring* - We believe the connectivity issues are being caused by an isolated ISP issue. We've had reports that swapping to Google DNS servers (see here; https://developers.google.com/speed/public-dns/docs/using) resolves the problem for users. {{< track "2018-05-25 04:40:00" >}}
-
-*Investigating* - We're aware of reports that users are experiencing connection issues on the East coast of the United States. We're currently investigating these issues, and apologize for any inconvenience it may be causing you. {{< track "2018-05-25 04:13:00" >}}
diff --git a/content/issues/2019-10-08-testing-new-pipeline.md b/content/issues/2019-10-08-testing-new-pipeline.md
deleted file mode 100644
index 4e9da4f..0000000
--- a/content/issues/2019-10-08-testing-new-pipeline.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: New Pipeline Rollout
-date: 2019-10-05 16:24:00
-resolved: true
-resolvedWhen: 2019-10-05 16:58:00
-# Possible severity levels: down, disrupted, notice
-severity: disrupted
-affected:
- - API
-section: issue
----
-
-There may be disruptions in the rollout.
- \ No newline at end of file
diff --git a/content/issues/2024-02-24-maintenance-window.md b/content/issues/2024-02-24-maintenance-window.md
deleted file mode 100644
index e5a5b14..0000000
--- a/content/issues/2024-02-24-maintenance-window.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-title: Maintenance Announcement
-date: 2024-02-24 10:35:00
-informational: true
-pin: true
-section: issue
----
-
-We will shut down our network at midnight UTC on Feb 24. This does not affect the current status.
diff --git a/content/issues/i-testing-cstate-functions.md b/content/issues/i-testing-cstate-functions.md
deleted file mode 100644
index cf833ac..0000000
--- a/content/issues/i-testing-cstate-functions.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: Testing New cState Features
-date: 2019-10-04 18:05:00
-informational: true
-section: issue
----
-
-There is a new feature in cState version 4 that lets you make what are called _informational_ posts. The main difference is that there will be no _Unresolved_ or _Resolved in under a minute_ text on the pages.
-
-This is essentially a page with a date and title that shows up in the incident history. \ No newline at end of file
diff --git a/netlify/change.html b/netlify/change.html
deleted file mode 100644
index 23ad8a3..0000000
--- a/netlify/change.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<h2>[cState Admin] <br> An email change has been requested.</h2>
-
-<p>Follow this link to confirm the update of your email from <strong>{{ .Email }}</strong> to <strong>{{ .NewEmail }}</strong>:</p>
-
-<p><a href="{{ .SiteURL }}/admin/#email_change_token={{ .Token }}">Make it <em>{{ .NewEmail }}</em></a></p> \ No newline at end of file
diff --git a/netlify/confirmation.html b/netlify/confirmation.html
deleted file mode 100644
index b6b8e55..0000000
--- a/netlify/confirmation.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<h2>[cState Admin] <br> Confirm your signup, please.</h2>
-
-<p>Follow this link to confirm your account:</p>
-
-<p><a href="{{ .SiteURL }}/admin/#confirmation_token={{ .Token }}">Yes, confirm this email</a></p>
diff --git a/netlify/invitation.html b/netlify/invitation.html
deleted file mode 100644
index 4ad78bd..0000000
--- a/netlify/invitation.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<h2>[cState Admin] <br> You have been invited!</h2>
-
-<p>You have been invited to create a user profile on {{ .SiteURL }}. Follow this link to accept the invite:</p>
-
-<p><a href="{{ .SiteURL }}/admin/#invite_token={{ .Token }}">Accept the invite</a></p>
diff --git a/netlify/recovery.html b/netlify/recovery.html
deleted file mode 100644
index 1de69fd..0000000
--- a/netlify/recovery.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<h2>[cState Admin] <br> A password reset has been requested.</h2>
-
-<p>Follow this link to reset the password for your account:</p>
-
-<p><a href="{{ .SiteURL }}/admin/#recovery_token={{ .Token }}">Recover my access</a></p>
-
-<p>Note: If you did not request a password change, you do not need to do anything. It may mean someone else is trying to log into your account.</p> \ No newline at end of file
diff --git a/static/logo.png b/static/logo.png
deleted file mode 100644
index 95223da..0000000
--- a/static/logo.png
+++ /dev/null
Binary files differ
diff --git a/themes/cstate b/themes/cstate
-Subproject 02a4f0195a7f0b604c4528603aafa42e273b48b
+Subproject 70157566bcc6971a000f12852051873a8a8db4e