Commit Graph
390 Commits
Author SHA1 Message Date
Gaël Goinvic b31ef3a937 run mypy against all tests 2025-06-06 17:24:31 +02:00
Gaël Goinvic 36658e4544 matrix-tools: update to 0.5.0 2025-06-05 18:14:42 +02:00
Gaël Goinvic a1dea02bb7 syn2mas: make sure we cant migrate twice with the deployment markers 2025-06-05 17:40:35 +02:00
Gaël Goinvic 7640544cee syn2mas: test that we can create a mas user after the migration 2025-06-05 17:40:35 +02:00
Gaël Goinvic 514e72bc8c syn2mas: check auth_metadata 2025-06-05 17:40:35 +02:00
Gaël Goinvic 72a11b50a7 syn2mas: enable ingress + read only mode 2025-06-05 17:33:59 +02:00
Gaël Goinvic dab606af7e add a helper to get dpeloyment marker 2025-06-05 16:55:50 +02:00
Gaël Goinvic 4b5c03ce05 tests: add a deploy_with_values_patch helper 2025-06-05 16:55:50 +02:00
Gaël Goinvic fdfcd7083a Add deployment markers for syn2mas 2025-06-05 15:17:26 +02:00
Gaël Goinvic 14a1ace936 rename syn2mas manifests 2025-06-05 15:17:26 +02:00
Gaël Goinvic 64f89b3b03 fix tests 2025-06-05 15:17:26 +02:00
Gaël Goinvic 6e5edafe61 fix tests 2025-06-05 15:16:46 +02:00
Gaël Goinvic 8ce0f850d8 syn2mas: use new render-config helpers 2025-06-05 15:16:45 +02:00
Gaël Goinvic e5dcc8262b scripts lint 2025-06-05 15:16:45 +02:00
Gaël Goinvic 6e82b928f9 test syn2mas in secrets 2025-06-05 15:16:45 +02:00
Gaël Goinvic d2cef8a1bf test syn2mas manifests without the ingress tests 2025-06-05 15:16:45 +02:00
Gaël Goinvic 0e19a26d8d fix missing extraEnv in syn2mas 2025-06-05 15:16:45 +02:00
Gaël Goinvic 9e61071b33 fix copyright dates 2025-06-05 15:16:45 +02:00
Gaël Goinvic 9b0e9b57a6 fix python lint 2025-06-05 15:16:44 +02:00
Gaël Goinvic 204a9fd11c fix postgres labels 2025-06-05 15:16:44 +02:00
Gaël Goinvic 64283cc44e run MAS Syn2Mas test manifests 2025-06-05 15:16:44 +02:00
Gaël Goinvic 4b9a19d038 tests: verify that access tokens work after migration 2025-06-05 15:16:44 +02:00
Gaël Goinvic 438195d082 dropme: build matrix tools in tests 2025-06-05 15:16:44 +02:00
Gaël Goinvic 8f90a107c8 syn2mas job: dryRun as post-hook, actual run as pre-hook 2025-06-05 15:16:44 +02:00
Gaël Goinvic b0e1a37463 run integration tests on syn2mas job 2025-06-05 15:16:43 +02:00
Gaël Goinvic 557ad69a5e pass manifests tests 2025-06-05 15:16:43 +02:00
Gaël Goinvic 06782a3509 validate syn2mas manifests 2025-06-05 15:16:43 +02:00
Gaël Goinvic 2e5dd41695 syn2mas: pass templating 2025-06-05 15:16:43 +02:00
Gaël Goinvic 9a49719fb7 mas: add readyToHandleAuth case 2025-06-05 15:16:43 +02:00
Gaël Goinvic f5c5716aa1 add syn2mas fixture 2025-06-05 15:16:42 +02:00
Gaël Goinvic 41d8aa020f add syn2mas manifests 2025-06-05 15:16:42 +02:00
Gaël GoinvicandBen Banfield-Zanin e81b256f90 fix test regex so that secrets are followed by a hash
Co-authored-by: Ben Banfield-Zanin <[email protected]>
2025-06-05 15:10:23 +02:00
Gaël Goinvic f6a4683d11 index secret based on hash of their names 2025-06-05 15:10:22 +02:00
Gaël Goinvic 4a43d7b874 fix mypy error 2025-06-04 15:25:07 +02:00
Gaël GoinvicandBen Banfield-Zanin bf596eab76 Enhance error messages
Co-authored-by: Ben Banfield-Zanin <[email protected]>
2025-06-04 15:25:07 +02:00
Gaël Goinvic a0238fd3a4 add has_replicas key and test also statefulsets 2025-06-04 15:25:07 +02:00
Gaël Goinvic 91b2a877de add tests for replicas and maxUnaivalable in deployments 2025-06-04 15:25:06 +02:00
Ben Banfield-Zanin 94e352c2a0 Rename synapse-check-config-hook to synapse-check-config for consistency with init-secrets and deployment-markers 2025-05-29 13:45:23 +01:00
Ben Banfield-Zanin 8536694f85 Merge pull request #500 from element-hq/bbz/template-id-everywhere
Consistently use template_id helper for identifying manifests.
2025-05-29 09:36:54 +01:00
Ben Banfield-Zanin 04a7cc6af4 Merge pull request #497 from element-hq/bbz/validation-messages
Improve validation messages for values that are templated.
2025-05-29 09:36:47 +01:00
Ben Banfield-Zanin 335d87c135 Merge pull request #496 from element-hq/bbz/minor-test-improvements
More minor test improvements
2025-05-29 09:36:37 +01:00
Ben Banfield-Zanin e4f87b14a9 Consistently use template_id helper for identifying manifests. 2025-05-28 16:01:36 +01:00
Ben Banfield-Zanin 60ce0b3486 Improve validation messages for values that are templated. 2025-05-28 15:33:32 +01:00
Ben Banfield-Zanin 1eff5cf521 Validate manifests set the namespace correctly. 2025-05-28 14:56:38 +01:00
Ben Banfield-Zanin a3cba6d4ad Validate that covering manifests are named consistently with what they cover. 2025-05-28 14:42:52 +01:00
Gaël Goinvic 91198551e6 Merge pull request #487 from element-hq/gaelg/matrix-tools-markers
matrix-tools: implement deployment-markers command
2025-05-28 15:40:54 +02:00
Ben Banfield-Zanin 64df3fc65e Validate that workload selectors match the labels in the template. 2025-05-28 14:39:13 +01:00
Ben Banfield-Zanin fba881b11b Improve assertions in test_volumes_mounts_exists 2025-05-28 14:37:39 +01:00
Gaël Goinvic 2fccdafcb0 fix configmap markers verifications 2025-05-28 15:16:45 +02:00
Gaël Goinvic 47d53ec698 fix manifests tests 2025-05-28 15:16:44 +02:00