Skip to content

The NAU maintenance site. It's as simple as an html page.

Notifications You must be signed in to change notification settings

fccn/nau-maintenance-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintenance NAU site

This repository has the maintenance site of NAU.

This page is shown if there is an application error.

This page is hosted on Ceph S3 Bucket that the applications use when they need to show an error to the user.

Because the maintenance page is something different and out of scope of the applications (Open edX and NAU Richie) that make up NAU, then this repository was created.

Update site

Simply run the deploy.sh file, that updates the maintenance page for all environments.

AWS_ACCESS_KEY_ID=XXXX AWS_SECRET_ACCESS_KEY=YYYY deploy.sh

Or alternatively, for each environment (DEV, STAGE and PROD), replace the access key and secret and the correct bucket name, and run:

AWS_ACCESS_KEY_ID=XXXX AWS_SECRET_ACCESS_KEY=YYYY s3cmd --host rgw.nau.fccn.pt --host-bucket nau-dev-shared put maintenance-site/index.html "s3://nau-dev-shared/maintenance-site/index.html" --acl-public

After a push to master branch the Github Action will update automatically the maintenance page on each environment.

Verify site

To check the current maintenance page open:

Environment Proxy Link Bucket Link
DEV https://shared.static.dev.nau.fccn.pt/maintenance-site/index.html https://rgw.nau.fccn.pt/nau-dev-shared/maintenance-site/index.html
STAGE https://shared.static.stage.nau.fccn.pt/maintenance-site/index.html https://rgw.nau.fccn.pt/nau-stage-shared/maintenance-site/index.html
PROD https://shared.static.prod.nau.fccn.pt/maintenance-site/index.html https://rgw.nau.fccn.pt/nau-prod-shared/maintenance-site/index.html

Kubernetes

The Kubernetes deployment uses a copy of this maintenance page, instead of using the live version from Ceph S3.

About

The NAU maintenance site. It's as simple as an html page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published