-
Notifications
You must be signed in to change notification settings - Fork 21
5. staging ci know how
Alain Bourgeois edited this page Jul 28, 2026
·
9 revisions
- solidos dependencies updated to most recent between
latestanddevtags https://github.com/SolidOS/solidos/blob/main/.github/workflows/update-solidos-deps.yml - guard on build steps node 22 and 24
- merging to staging should be approved by one maintainer
- pre-release dev version is published on push to staging and tagged with
devhttps://github.com/SolidOS/solidos/blob/main/.github/workflows/publish-prerelease.yml - nota: solid-ui: gh-pages storybook is build on staging branch
- locally by developers
- by maintainers on the tests servers that are updated every night
There are 3 tests servers running NSS and PIVOT servers
- Pivot subdomain https://pivot-test.solidproject.org:3000
- Pivot suffix https://pivot-test.solidproject.org:3100
- NSS or JSS https://pivot-test.solidproject.org:8443
- cron job update mashlib is running at 20:00 UTC every evening https://github.com/SolidOS/solidos/blob/main/scripts/redeploy-staging.sh
0 20 * * * PATH=/usr/local/bin:/usr/bin:/bin:/root/.nvm/versions/node/v22.14.0/bin bash /home/redeploy-staging.sh > /home/redeploy-staging.cron.log 2>&1
0 6 * * * curl -T /home/solidos/logs/status.log -H "Filename: status.log" https://ntfy.sh/solidos-staging-CHANGE-ME
-
cron job notifications (validity 3 hours, free tier) with details on staging branch failure is send
- just after the cron job ends (10-15 minutes)
- at 6:00 UTC
- follow notification link: https://ntfy.sh/solidos-staging-CHANGE-ME
-
Nightly mashlib build https://github.com/SolidOS/solidos/blob/main/scripts/redeploy-staging.sh
- pm2 stop all
- call script : https://github.com/SolidOS/solidos/blob/main/scripts/rebuild-staging.sh
- clone all staging branches
- build staging branches with symlinks to solidos staging branch dependencies
- mashlib staging branch is linked in each test server
- pm2 restart [server list]
- send notifications through https://ntfy.sh