fsmg.org.nz is a pelican website hosted on GitLab pages infrastructure.
Deploying changes to our website is easy and automated.
The first step is to raise your change as a merge request on our website git repo.
This will trigger a CI job that builds the website and deploys it to a staging environment. When this CI job finishes after ~1 minute you can click the
View appbutton which will appear on the the merge request page.
When happy with your change, merge it into the repo and a CI will automatically deploy your change to fsmg.org.nz.
The configuration for our GitLab pages instance can be found here.
In the event of a GitLab pages outage, the mirror nodes are configured to be able to serve our website.
An older build of our website is stored on each mirror node at
If you wish to serve a newer version of the site than what is there, a backup
of the website git directory can be found at
build this according to the instructions in
/opt/fsmg/git/website/.gitlab-ci.yml and put the new build in
To move the website back to our infrastructure from GitLab, simply update the DNS records to point back to us:
fsmg.org.nz. IN A 126.96.36.199 fsmg.org.nz. IN AAAA 2404:138:4000::1
When GitLab is working again point the A record for fsmg.org.nz. back to
whatever A record
fsmg.gitlab.io is resolving to and delete the AAAA record.