Securepub SPA on GitLab Securepub Status on GitLab
■ update r2401
■ Update .gitlab-ci.yml for r2401 repo
- add 'zip' to apk add
- change to 'just r2401'
■ Setup gl2401
■ Create gl2401 fork
- browse to https://gitlab.com/securepub/r2401
- press "Fork" button in upper right corner
Project name
gl2401
Project url
https://gitlab.com/ securepub
▲
│
namespace
Project slug
gl2401
Branches to include
[x] All branches
Visibility level
[x] Private
- press "Fork Project"
- observe "The project was successfully forked"
https://gitlab.com/securepub/gl2401
■ Adjust settings
■ Settings > Repository > Protected branches
- ( x) Allow to force push ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ enabled
■ Settings > General > Visibility
- most things same as r240
- uncheck these things:
[ ] Require authentication to view media files ╶╶╶╶ unchecked
[ ] Show default emoji reactions ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ unchecked
- Press "Save Changes"
■ Create securepub/gl2401 workspace
% cd ~/Securepub/
% wt git@gitlab.com:securepub/gl2401
% cd gl2401
% git config user.name securepub
% git config user.email admin@securepub.org
■ push change .gitlab-ci.yml change
- GitLab job succeeded
- Test url redirects to https://gl2401.securepub.org/_v1.2401_/test as expected
■ Setup gl2401s
■ Create gl2401s fork
- browse to https://gitlab.com/securepub/r2401
- press "Fork" button in upper right corner
Project name
gl2401s
Project url
https://gitlab.com/ securepub
▲
│
namespace
Project slug
gl2401s
Branches to include
[x] All branches
Visibility level
[x] Private
- press "Fork Project"
- observe "The project was successfully forked"
https://gitlab.com/securepub/gl2401s
■ Adjust settings
■ Settings > Repository > Protected branches
- ( x) Allow to force push ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ enabled
■ Settings > General > Visibility
- most things same as r240
- uncheck these things:
[ ] Require authentication to view media files ╶╶╶╶ unchecked
[ ] Show default emoji reactions ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ unchecked
- Press "Save Changes"
■ Create securepub/gl2401s workspace
% cd ~/Securepub/
% wt git@gitlab.com:securepub/gl2401s
% cd gl2401s
% git config user.name securepub
% git config user.email admin@securepub.org
■ push change .gitlab-ci.yml change
- GitLab job succeeded
- Test url gives 404 as expected since there's no redirect for the secure origin site
■ update r2401
■ add goatcounter
2024-03-29 5fea117 dev: goatcounter
■ update gl2401
- browse to https://gitlab.com/securepub/gl2401
- press Update Fork
- observe merge commit in history
■ setup custom domain for gl2401 for gl2401.securepub.org
━━━━━━
■ Select Deploy > Pages.
■ In the upper-right corner, select New Domain.
■ In Domain, enter the domain name.
gl2401.securepub.org
■ copy details
Domain http://gl2401.securepub.org
DNS gl2401.securepub.org ALIAS securepub.gitlab.io.
Verification _gitlab-pages-verification-code.gl2401.securepub.org TXT
gitlab-pages-verification-code=a2cac989d9259499a6ae9e6b58cac971
Certificate ( x) Automatic certificate management using Let's Encrypt
- don't press Save Changes yet
■ update DNS
Type Domain Data TTL
───────── ────────────────────────── ────────────────────── ─────────
A gl2401.securepub.org 35.185.44.232 5 minutes
TXT _gitlab-pages-verif gitlab-pages-ver 5 minutes
ication-code.gl2401 ification-code=a
.securepub.org 2cac989d9259499a
6ae9e6b58cac971
- back to https://gitlab.com/securepub/gl2401/pages
press Save Changes
- observe
gl2401.securepub.org is not verified.
To learn how to verify ownership, visit your domain details.
■ click circular arrow on Verification status again, observe
Successfully verified domain ownership
■ open http://gl2401.securepub.org ╶╶╶╶╶╶╶ note not https
- appears to work
■ periodically check if SSL certificate from Let's Encrypt was assigned
- eventually gitlab interface shows Certificate: /CN=gl2401.securepub.org
■ open https://gl2401.securepub.org
- appears to work
■ test goatcounter
- Observe hit on "day" view at https://securepub-org.goatcounter.com
■ setup custom domain for gl2401s for gl2401s.securepub.org
━━━━━━━
■ Select Deploy > Pages.
■ In the upper-right corner, select New Domain.
■ In Domain, enter the domain name.
gl2401s.securepub.org
■ copy details
Domain
DNS gl2401s.securepub.org ALIAS securepub.gitlab.io.
Verification _gitlab-pages-verification-code.gl2401s.securepub.org TXT
gitlab-pages-verification-code=98d47acba8e88d2f20836a53d6c0b519
Certificate ( x) Automatic certificate management using Let's Encrypt
- don't press Save Changes yet
■ update DNS
Type Domain Data TTL
───────── ────────────────────────── ────────────────────── ─────────
A gl2401s.securepub.org 35.185.44.232 5 minutes
TXT _gitlab-pages-verific gitlab-pages-ver 5 minutes
ation-code.gl2401s.se ification-code=9
curepub.org 8d47acba8e88d2f2
0836a53d6c0b519
- back to https://gitlab.com/securepub/gl2401s/pages
press Save Changes
■ click circular arrow on Verification status again, observe
Successfully verified domain ownership
■ open http://gl2401s.securepub.org ╶╶╶╶╶╶╶ note not https
- appears to work
■ periodically check if SSL certificate from Let's Encrypt was assigned
- eventually gitlab interface shows Certificate: /CN=gl2401s.securepub.org
■ open https://gl2401s.securepub.org
- appears to work (got expected Not Found)
■ setup custom domain for gl2401 for securepub.org
━━━━━━
■ Select Deploy > Pages.
■ In the upper-right corner, select New Domain.
■ In Domain, enter the domain name.
securepub.org
■ copy details
Domain http://securepub.org
DNS securepub.org ALIAS securepub.gitlab.io.
Verification _gitlab-pages-verification-code.securepub.org TXT
gitlab-pages-verification-code=364f4fef479d78e7c324c9d5e1df780a
Certificate ( x) Automatic certificate management using Let's Encrypt
- don't press Save Changes yet
■ update DNS
Type Domain Data TTL
───────── ────────────────────────── ────────────────────── ─────────
A securepub.org 35.185.44.232 5 minutes
TXT _gitlab-pages-verific gitlab-pages-ver 5 minutes
ation-code.securepub. ification-code=3
org 64f4fef479d78e7c
324c9d5e1df780a
- back to https://gitlab.com/securepub/gl2401/pages
press Save Changes
■ click circular arrow on Verification status again, observe
Successfully verified domain ownership
■ open http://securepub.org ╶╶╶╶╶╶╶╶╶╶╶╶╶╶ note not https
- appears to work (redirect to gl2401)
■ periodically check if SSL certificate from Let's Encrypt was assigned
- eventually gitlab interface shows Certificate: /CN=securepub.org
■ open https://securepub.org
- appears to work
■ Adjust settings for gl2401
■ Settings > General > Visibility
Pages
[x] Everyone
■ Adjust settings for gl2401s
■ Settings > General > Visibility
Pages
[x] Everyone
■ setup custom domain for status for securepub.org
━━━━━━
■ Select Deploy > Pages.
■ In the upper-right corner, select New Domain.
■ In Domain, enter the domain name.
status.securepub.org
■ copy details
Domain http://status.securepub.org
DNS status.securepub.org ALIAS securepub.gitlab.io.
Verification _gitlab-pages-verification-code.status.securepub.org TXT
gitlab-pages-verification-code=c147ba6694f0302bc33e206b94452151
Certificate ( x) Automatic certificate management using Let's Encrypt
- don't press Save Changes yet
■ update DNS
Type Domain Data TTL
───────── ────────────────────────── ────────────────────── ─────────
A securepub.org 35.185.44.232 5 minutes
TXT _gitlab-pages-verific gitlab-pages-ver 5 minutes
ation-code.status.sec ification-code=c
urepub.org 147ba6694f0302bc
33e206b94452151
- back to https://gitlab.com/securepub/status/pages
press Save Changes
■ click circular arrow on Verification status again, observe
Successfully verified domain ownership
■ periodically check if SSL certificate from Let's Encrypt was assigned
- eventually gitlab interface shows Certificate: /CN=status.securepub.org
■ open https://status.securepub.org
- appears to work
■ Adjust settings for status
■ Settings > General > Visibility
Pages
[x] Everyone
■ setup custom domain for gl2401 for www.securepub.org
━━━━━━
■ Select Deploy > Pages.
■ In the upper-right corner, select New Domain.
■ In Domain, enter the domain name.
www.securepub.org
■ copy details
Domain http://www.securepub.org
DNS www.securepub.org ALIAS securepub.gitlab.io.
Verification _gitlab-pages-verification-code.www.securepub.org TXT
gitlab-pages-verification-code=f6a882e11cdee0123d68bb32661c2ccc
Certificate ( x) Automatic certificate management using Let's Encrypt
- don't press Save Changes yet
■ update DNS
Type Domain Data TTL
───────── ────────────────────────── ────────────────────── ─────────
A www.securepub.org 35.185.44.232 5 minutes
TXT _gitlab-pages-verific gitlab-pages-ver 5 minutes
ation-code.www.secure ification-code=f
pub.org 6a882e11cdee0123
d68bb32661c2ccc
- back to https://gitlab.com/securepub/gl2401/pages
press Save Changes
■ click circular arrow on Verification status again, observe
Successfully verified domain ownership
■ periodically check if SSL certificate from Let's Encrypt was assigned
- eventually gitlab interface shows Certificate: /CN=www.securepub.org
■ open https://www.securepub.org
- appears to work
Last updated: March 29, 2024 at 10:56 PM UTC