Removes the nightly test build: the CMS host injects current data into the HTML
The schedule trigger and its conditions in the jobs are gone; docs say that a content change needs no rebuild (NFR-10) and that production gets the same only once it is served by the CMS host. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,6 @@ name: Continuous Integration
|
||||
# Branchstrategie (zie aidlc-docs/.../operations/deployment/deployment-plan.md):
|
||||
# - Pull request → controles, geen deploy
|
||||
# - Merge/push naar master → controles + automatisch naar test
|
||||
# - Elke nacht (schedule) → controles + naar test, met de pakketten uit het CMS
|
||||
# - Handmatig, elke branch → controles + naar test als 'Deploy to Test' aan staat
|
||||
# - Handmatig, release/* → controles + naar productie als 'Deploy to Production' aan staat
|
||||
on:
|
||||
@@ -21,12 +20,6 @@ on:
|
||||
types: [opened, synchronize, reopened]
|
||||
push:
|
||||
branches: [master]
|
||||
# Elke nacht een testbuild, zodat een wijziging van de pakketten in het CMS
|
||||
# op de testsite komt (de build haalt ze op). Alleen test, nooit productie.
|
||||
# 03:15 UTC (04:15 of 05:15 Nederlandse tijd), buiten kantooruren en niet op
|
||||
# een heel uur. Gitea draait schedules alleen vanaf de standaardbranch.
|
||||
schedule:
|
||||
- cron: '15 3 * * *'
|
||||
|
||||
# Alleen bij pull requests een verouderde run afbreken; een deploy wordt nooit
|
||||
# halverwege gestopt.
|
||||
@@ -118,7 +111,7 @@ jobs:
|
||||
# dist met de gecommitte lijst tot er een productie-CMS is.
|
||||
build-test:
|
||||
needs: check
|
||||
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_test == 'true') || (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'schedule'
|
||||
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_test == 'true') || (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
||||
runs-on: linux
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -173,7 +166,7 @@ jobs:
|
||||
# actions werken niet op Podman.
|
||||
deploy-test:
|
||||
needs: [check, build-test]
|
||||
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_test == 'true') || (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'schedule'
|
||||
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_test == 'true') || (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
||||
runs-on: raspberry-pi
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -247,7 +240,6 @@ jobs:
|
||||
# Lighthouse tegen de gebouwde site (mobiel en desktop)
|
||||
lighthouse:
|
||||
needs: check
|
||||
if: github.event_name != 'schedule'
|
||||
runs-on: linux
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user