Commit Graph
153 Commits
Author SHA1 Message Date
Gaël Goinvic 26d32dcb9f fix setup_test_cluster.sh 2026-03-26 17:45:05 +01:00
Gaël Goinvic 3bf0d8fb11 add setup-cluster & run-tests scripts 2026-03-26 15:08:42 +01:00
Gaël Goinvic f2688f7e1d check newsfragments in ess-migration-tool package 2026-03-18 11:54:58 +01:00
Gaël Goinvic 3ef5b98f4c Move ess-migration-tool to a packages directory
- We should distinguish what are packages we intend end-users to install
(application/libraries) vs internal development scripts
2026-03-18 11:54:58 +01:00
Gaël Goinvic 57bc98cd4c fix lint in scripts/migration 2026-03-11 16:27:30 +01:00
Gaël Goinvic 03aaa807b1 Replace poetry with uv
- UV is faster, allows for local workspace and in general is the
preferred python package manager nowadays
2026-03-11 16:27:30 +01:00
Gaël Goinvic 22d9c2ebf4 Make sure kid is dropped from the keys 2026-03-10 17:54:07 +01:00
Gaël Goinvic c75b891f32 MAS ecdsaSecp256k1 and ecdsaSecp384r1 are optional 2026-03-10 17:54:06 +01:00
Gaël Goinvic dfad8e92f1 Add support for ecdsaSecp256k1 and ecdsaSec 2026-03-10 17:54:06 +01:00
Gaël Goinvic 9d5ce10c3c Initialize MAS secret keys handling 2026-03-10 17:54:06 +01:00
Gaël Goinvic db3597d827 assert secrets content 2026-03-10 14:01:41 +01:00
Gaël Goinvic 3d9470b201 MAS Migration: Make sure we do not import existing signing keys 2026-03-10 14:01:41 +01:00
Gaël Goinvic da0c5f4313 fix mypy error 2026-03-10 14:01:41 +01:00
Gaël Goinvic 9d596feaaf migration: Add support for MAS config 2026-03-10 14:01:41 +01:00
Gaël Goinvic ac1a864871 MAS: Init import strategies 2026-03-10 14:01:33 +01:00
Gaël Goinvic d4715bf1f7 Add tests for the config value tracker update paths 2026-03-09 17:58:42 +01:00
Gaël Goinvic 8cb5816ec5 Fix logging condition 2026-03-09 17:10:38 +01:00
Gaël Goinvic dfaead5fe3 Handle extra files before filtering config 2026-03-09 17:04:55 +01:00
Gaël Goinvic f4d714d506 Fix synapse pretty_logger 2026-03-06 11:12:01 +01:00
Gaël Goinvic 01df0cf15a Migration: fix test_prompts being unreliable
- It used to silently pass for workers prompt if all tests were called
due to side effect in main testing. It successfully captured the string
in the base logger, but not the prompt logger.
2026-03-06 11:07:56 +01:00
Gaël Goinvic 700a30de01 Adjust tests 2026-03-06 09:37:24 +01:00
Gaël Goinvic 2000e09574 Migration: Interface refactoring for mypy fixes
- A recent mypy update seems to have caused all sort of new issues- this
fixes them
2026-03-05 17:38:43 +01:00
Gael Gate 3495efaa80 Add optional file pattern argument to ct-lint.sh
This allows selective linting of CI values files by passing a pattern argument,
similar to how assemble_ci_values_files_from_fragments.sh works.

When a pattern is provided, the script temporarily moves non-matching
*-values.yaml files from charts/matrix-stack/ci/ to a temporary directory,
runs ct lint with only the matching files, then restores all files.

The script now accepts an optional file pattern as the first argument,
followed by any additional arguments that are passed through to ct lint.

Also fixes shellcheck warnings and removes redundant help handling.
2026-03-05 15:12:32 +01:00
Gaël Goinvic ec213f4a90 Do not escape strings automatically in our jinja files 2026-03-03 16:28:20 +01:00
Gaël Goinvic b5ca96d5bd Rename newsfragments, adjust python type 2026-02-27 17:24:16 +01:00
Gaël Goinvic cc90606a34 Revert set -x on ci values assembly script 2026-02-27 17:09:51 +01:00
Gaël Goinvic c3e0b22475 sort extraVolumeMounts by mount path 2026-02-27 16:50:08 +01:00
Gaël Goinvic 5832431c7d Handle lists when setting nested value
- Verify that this works with Synapse federation custom ca list
2026-02-27 16:50:08 +01:00
Gaël Goinvic 69ca234d97 ensure user is prompted for extra files 2026-02-27 16:50:07 +01:00
Gaël Goinvic 443a23aa69 Handle Configmaps creation and extra volume mounts 2026-02-27 16:50:07 +01:00
Gaël Goinvic 2c43626c76 Discover extra files and match them to actual config keys 2026-02-27 16:50:07 +01:00
Gaël Goinvic d5d21864ae Merge pull request #1081 from element-hq/gaelg/double-quotes-chart-yaml
Use double-quotes for string-scalar consistency in Chart.yaml and ci values files
2026-02-27 10:40:37 +01:00
Gaël Goinvic fe1d9e4265 Use double-quotes for string-scalar consistency in Chart.yaml 2026-02-27 10:33:15 +01:00
Gaël Goinvic 32c09eb279 Display the discovered workers 2026-02-27 09:37:49 +01:00
Gaël Goinvic b9ee2334f4 Migration: Handle discovery of synapse workers 2026-02-26 17:14:19 +01:00
Gaël Goinvic a87c3c0071 Nested values: Add tests and verify behaviour with lists 2026-02-26 14:23:10 +01:00
Gaël Goinvic ccbc5e0a4d Merge pull request #1058 from element-hq/gaelg/log-init-secrets
Secrets migration: enhance logging
2026-02-24 16:16:28 +01:00
Gaël Goinvic 213c064947 Secrets migration: enhance logging 2026-02-24 15:51:25 +01:00
Ben Banfield-Zanin b5dd66560c Don't use GNU extensions in sed when assembling CI values files 2026-02-23 16:22:40 +00:00
Gaël Goinvic 0ff23e5a55 do not propage logger to avoid duplicate lines 2026-02-20 15:43:03 +01:00
Gaël Goinvic ab0b67674a Migration: Add support for secret discovery
- Each secret can exist either inline or in config
- This discovers secrets and prompt for missing ones
- Secrets are outputed in dedicated files
- Helm Values will refer to the secret data imported in kubernetes
2026-02-20 15:43:03 +01:00
Gaël Goinvic b4b0dcbd10 Add a script to migrate Synapse configuration to ESS Community values. 2026-02-19 10:08:24 +01:00
Gaël Goinvic e1e2a3b73b pytest: setup cluster using a dedicated test function 2026-01-30 18:27:23 +01:00
Gaël Goinvic 95a449fa9a Instanciate the cluster using pytest
- This removes code duplication between bash & pytest
- Pytest now exists early if `TEST_VALUES_FILE` is not set
2026-01-30 16:32:38 +01:00
Gaël Goinvic eb18c67d91 Test values generating cert-manager CRDs in a dedicated ci dir
- helm lint does not support extra APIs
- we move matrix-rtc-exposed-services-values.yaml to a directory not
verified by ct lint
- We make the dyff able to work with this directory still
- We make manifests test able to work with this directory still
2026-01-22 17:50:11 +01:00
Ben Banfield-Zanin b16632ae27 Prepare for 2026 2026-01-05 10:54:45 +00:00
Ben Banfield-Zanin 1c529b9187 Use k3d instead of kind 2025-11-28 13:31:24 +00:00
Gaël Goinvic 0b36182e39 dont add New Vector Ltd copyright for new ci values 2025-11-21 13:44:07 +01:00
Ben Banfield-Zanin cce54360af Add a script + job to validate the image architectures 2025-11-10 16:56:04 +00:00
Ben Banfield-Zanin f164ca30ef Handle changes in '.license' files 2025-10-27 09:46:57 +00:00