From 363f85d32b6062dedaf4b22c1c7404b47ebf6c2a Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Mon, 5 Aug 2024 14:21:53 +0200 Subject: Initial commit as status.adast.dk --- .build.yml | 14 +++++++ .gitlab-ci.yml | 28 -------------- .gitmodules | 2 +- .siteconfig.json | 3 ++ config.yml | 42 ++++++++++----------- content/issues/2018-01-17-sending-dms-impacted.md | 15 -------- ...8-04-13-unavailable-guilds-connection-issues.md | 25 ------------ content/issues/2018-05-25-us-east-conn-issues.md | 20 ---------- content/issues/2019-10-08-testing-new-pipeline.md | 14 ------- content/issues/2024-02-24-maintenance-window.md | 9 ----- content/issues/i-testing-cstate-functions.md | 10 ----- netlify/change.html | 5 --- netlify/confirmation.html | 5 --- netlify/invitation.html | 5 --- netlify/recovery.html | 7 ---- static/logo.png | Bin 5707 -> 0 bytes themes/cstate | 2 +- 17 files changed, 39 insertions(+), 167 deletions(-) create mode 100644 .build.yml delete mode 100644 .gitlab-ci.yml create mode 100644 .siteconfig.json delete mode 100644 content/issues/2018-01-17-sending-dms-impacted.md delete mode 100644 content/issues/2018-04-13-unavailable-guilds-connection-issues.md delete mode 100644 content/issues/2018-05-25-us-east-conn-issues.md delete mode 100644 content/issues/2019-10-08-testing-new-pipeline.md delete mode 100644 content/issues/2024-02-24-maintenance-window.md delete mode 100644 content/issues/i-testing-cstate-functions.md delete mode 100644 netlify/change.html delete mode 100644 netlify/confirmation.html delete mode 100644 netlify/invitation.html delete mode 100644 netlify/recovery.html delete mode 100644 static/logo.png 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 @@ -

[cState Admin]
An email change has been requested.

- -

Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:

- -

Make it {{ .NewEmail }}

\ 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 @@ -

[cState Admin]
Confirm your signup, please.

- -

Follow this link to confirm your account:

- -

Yes, confirm this email

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 @@ -

[cState Admin]
You have been invited!

- -

You have been invited to create a user profile on {{ .SiteURL }}. Follow this link to accept the invite:

- -

Accept the invite

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 @@ -

[cState Admin]
A password reset has been requested.

- -

Follow this link to reset the password for your account:

- -

Recover my access

- -

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.

\ No newline at end of file diff --git a/static/logo.png b/static/logo.png deleted file mode 100644 index 95223da..0000000 Binary files a/static/logo.png and /dev/null differ diff --git a/themes/cstate b/themes/cstate index 02a4f01..7015756 160000 --- a/themes/cstate +++ b/themes/cstate @@ -1 +1 @@ -Subproject commit 02a4f0195a7f0b604c4528603aafa42e273b48b6 +Subproject commit 70157566bcc6971a000f12852051873a8a8db4e8 -- cgit v1.2.3-70-g09d2