Skip to content

Commit 3c3b1ab

Browse files
committed
Automated squashed import from release in private repo
1 parent f496e14 commit 3c3b1ab

58 files changed

Lines changed: 2035 additions & 667 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.db_requirements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.13.0
1+
v1.14.0

.github/ISSUE_TEMPLATE/RELEASE.yml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: Release ticket
2+
description: Create a release ticket for DPR (in English).
3+
title: "Release [VUL TAG IN] naar PROD"
4+
labels: ["Release"]
5+
projects: ["minvws/40"]
6+
body:
7+
- type: input
8+
attributes:
9+
label: "Current version DPR on PROD:"
10+
placeholder: v1.11.0
11+
- type: input
12+
attributes:
13+
label: "New version DPR on PROD:"
14+
placeholder: v1.12.0
15+
- type: checkboxes
16+
attributes:
17+
label: Database updates required?
18+
options:
19+
- label: 'Yes'
20+
- label: 'No'
21+
- type: textarea
22+
attributes:
23+
label: 'Actions required before, during or right after deployment:'
24+
- type: textarea
25+
attributes:
26+
label: 'Tickets in release:'
27+
- type: checkboxes
28+
id: general
29+
attributes:
30+
label: General
31+
description: General checks for this release
32+
options:
33+
- label: Create release notes and a release summary
34+
- label: 'Check: are there any changes that may have an effect on the DPIA or otherwise on privacy? If so: discuss with privacy and discuss changes/implications?'
35+
- label: 'Check: will the release trigger additional cost? If so: confirm budget availability or request additional budget.'
36+
- label: 'Check: have any new features been checked against accessibility guidelines?'
37+
- type: checkboxes
38+
id: communication
39+
attributes:
40+
label: Communication
41+
description: Communication checks for this release
42+
options:
43+
- label: Notify relevant stakeholders
44+
- label: 'Check: is any public notification needed? If so: communication requested?'
45+
- label: Adjust the software manual
46+
- label: Inform the helpdesk
47+
- type: checkboxes
48+
id: qa
49+
attributes:
50+
label: QA
51+
description: QA checks for this release
52+
options:
53+
- label: 'Check: code coverage meets specifications'
54+
- label: Test new logging items and inform SOC SIEM/CSIRT
55+
- label: Discuss changes/issues with QA to ensure accurate/rapid testing
56+
- label: Test report created ([See template](https://github.com/minvws/nl-rdo-quality-coordination/blob/main/Kwaliteitsmanagement/Kwaliteitsaanpak/Testrapport/Testrapport.md))
57+
- label: Arrange any required post-release tests and/or monitoring.
58+
- type: checkboxes
59+
id: security
60+
attributes:
61+
label: Security
62+
description: Security (liaison) checks for this release
63+
options:
64+
- label: If it is a patch release, discuss changes with liaison
65+
- label: If it is a minor or major release, liaison must comment if pentest, SCSA or nothing is needed
66+
- type: checkboxes
67+
id: dependencies
68+
attributes:
69+
label: Dependencies
70+
description: Dependencies checks for this release
71+
options:
72+
- label: Make sure all Dependabot PR's are merged (to be sure of the latest versions)
73+
- label: Calculate dependencies on other systems, are there any breaking changes down-/upstream?
74+
- label: 'Check: any database changes required? If so: prepare database schema schedule release'
75+
- label: 'Check: are there (certificate/specification) changes to (API) eindpoints? If so, notify clients'
76+
- type: checkboxes
77+
id: rollout
78+
attributes:
79+
label: Roll-out
80+
description: Roll-out checks for this release
81+
options:
82+
- label: Rollback procedure present?
83+
- label: Is a release date present?
84+
- label: Are there any dependencies and/or is a specific release order required?
85+
- label: '*Approval PO*'
86+
- label: '*Approval IBMF*, add screenshot of checklist and explanation of any unchecked or striked out items'
87+
- type: checkboxes
88+
id: approvalleadqa
89+
attributes:
90+
label: Approval Lead QA
91+
description: The procedure to request a production release is described in [Release-proces.md](https://github.com/minvws/nl-rdo-quality-coordination/blob/main/Kwaliteitsmanagement/Kwaliteitsaanpak/Release%20proces/Release-proces.md)
92+
options:
93+
- label: '*Approval QA Lead*, the QA Lead will check this release checklist and the test report and add a screenshot of this checklist to the Zammad ticket and move the request for installation to Operations.'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
NODE_AUTH_TOKEN: ${{ secrets.REPO_READ_ONLY_TOKEN }}
7575

7676
- name: Install PHP
77-
uses: shivammathur/setup-php@master
77+
uses: shivammathur/setup-php@v2
7878
with:
7979
php-version: 8.4
8080
extensions: pgsql

.github/workflows/rdo-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
NODE_AUTH_TOKEN: ${{ secrets.REPO_READ_ONLY_TOKEN }}
3838

3939
- name: Install PHP
40-
uses: shivammathur/setup-php@master
40+
uses: shivammathur/setup-php@v2
4141
with:
4242
php-version: 8.4
4343

HOSTING_CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ ze de code van de meest recente release uitvoeren.
5151
- Na de deployment moeten voor deze release alle worker processen opnieuw opgestart worden
5252
- Na het herstarten van de worker moet eenmalig de statische website opnieuw opgebouwd worden: `php artisan static-website:refresh`
5353

54+
## 1.18.0
55+
56+
- Na deployment moeten de bestaande caches verwijderd worden: `php artisan optimize:clear`
57+
- Na de deployment moeten voor deze release alle worker processen opnieuw opgestart worden
58+
- Na het herstarten van de worker moet eenmalig de statische website opnieuw opgebouwd worden: `php artisan static-website:refresh`
59+
5460
## 1.17.0
5561

5662
- Na deployment moeten de bestaande caches verwijderd worden: `php artisan optimize:clear`

src/cms/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ INCLUDE+ ./Dockerfile
66

77

88
ARG TARGETARCH
9-
ARG HUGO_VERSION=0.121.1
10-
ARG DART_SASS_VERSION=1.69.5
9+
ARG HUGO_VERSION=0.162.1
10+
ARG DART_SASS_VERSION=1.100.0
1111

1212
# Install Hugo - https://github.com/gohugoio/hugo/releases
1313
RUN curl -LJO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${TARGETARCH}.deb

src/cms/Taskfile.dist.yml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
# https://taskfile.dev
2+
version: '3.48.0'
3+
4+
includes:
5+
release:
6+
taskfile: taskfiles/Taskfile.release.yml
7+
flatten: true
8+
9+
silent: true
10+
11+
tasks:
12+
init:
13+
desc: Initialize the application and services
14+
deps: [env:check]
15+
cmds:
16+
- |
17+
docker run --rm \
18+
-u "$(id -u):$(id -g)" \
19+
-v "$(pwd):/var/www/html" \
20+
-w /var/www/html \
21+
-e TELESCOPE_ENABLED=false \
22+
composer:latest \
23+
composer install --ignore-platform-reqs --no-scripts
24+
- task: docker:up
25+
- vendor/bin/sail artisan package:discover --ansi
26+
- vendor/bin/sail artisan optimize:clear
27+
- task: key-generate
28+
- task: db:fresh
29+
- task: npm:install
30+
- task: frontend:build
31+
32+
env:check:
33+
desc: Check the environment
34+
cmds:
35+
- |
36+
if [ ! -f ".env" ]; then
37+
cp .env.example .env
38+
fi
39+
40+
env:clear:
41+
desc: Clear the environment
42+
cmds:
43+
- rm -f .env
44+
- task: env:check
45+
46+
docker:up:
47+
desc: Start the application and services
48+
deps: [env:check]
49+
cmds:
50+
- vendor/bin/sail up -d web --remove-orphans
51+
52+
docker:down:
53+
desc: Remove the application and services
54+
cmds:
55+
- vendor/bin/sail down web --remove-orphans
56+
57+
docker:stop:
58+
desc: Stop the application and services
59+
cmds:
60+
- vendor/bin/sail stop web
61+
62+
composer:install:
63+
desc: Install composer dependencies
64+
cmds:
65+
- vendor/bin/sail composer install
66+
67+
composer:update:
68+
desc: Update composer dependencies
69+
cmd: vendor/bin/sail composer update
70+
71+
npm:install:
72+
desc: Install npm dependencies
73+
cmd: vendor/bin/sail npm install
74+
75+
npm:update:
76+
desc: Update npm dependencies
77+
cmd: vendor/bin/sail npm update
78+
79+
frontend:build:
80+
desc: Build the frontend
81+
cmd: vendor/bin/sail npm run build
82+
83+
frontend:watch:
84+
desc: Build and watch the frontend
85+
cmd: vendor/bin/sail npm run watch
86+
87+
db:migrate:
88+
desc: Run database migrations
89+
cmd: vendor/bin/sail artisan migrate
90+
91+
db:fresh:
92+
desc: Create a fresh database
93+
cmd: vendor/bin/sail artisan migrate:fresh --seed
94+
95+
update-all:
96+
desc: Update the application and services
97+
cmds:
98+
- task: composer:update
99+
- task: npm:update
100+
101+
key-generate:
102+
desc: Generate the application key
103+
cmd: vendor/bin/sail artisan key:generate
104+
105+
lint:phpcs:
106+
desc: Lint PHP files
107+
cmd: vendor/bin/sail composer run-script phpcs
108+
109+
lint:phpcbf:
110+
desc: Lint and fix PHP files
111+
cmd: vendor/bin/sail composer run-script phpcbf
112+
113+
lint:phpstan:
114+
desc: Run PHPStan
115+
cmd: vendor/bin/sail composer run-script phpstan
116+
117+
lint:phpmd:
118+
desc: Run PHPMD
119+
cmd: vendor/bin/sail composer run-script phpmd
120+
121+
lint:security:
122+
desc: Run security checks
123+
cmd: vendor/bin/sail artisan security-check:now
124+
125+
lint:all:
126+
desc: Run all linters
127+
cmds:
128+
- task: lint:phpcs
129+
- task: lint:phpstan
130+
- task: lint:phpmd
131+
132+
test:db:create:
133+
desc: Create the test database
134+
cmd: vendor/bin/sail composer run-script reset-test-db
135+
136+
test:db:reset:
137+
desc: Reset and recreate the test database
138+
cmd: vendor/bin/sail composer run-script test-reset
139+
140+
test:quality:
141+
desc: Run the quality tests
142+
cmd: vendor/bin/sail composer run-script quality
143+
144+
test:
145+
desc: Run the unit tests
146+
cmd: vendor/bin/sail composer run-script test

0 commit comments

Comments
 (0)