Commit Graph
931 Commits
Author SHA1 Message Date
Ben Banfield-Zanin 072433d259 Merge pull request #1711 from element-hq/bbz/init-container-resources
Allow configuration of `initContainer` resources
2026-10-21 10:42:36 +01:00
Ben Banfield-Zanin 29f72e5196 Allow configuration of initContainer resources 2026-10-21 09:39:08 +01:00
Gael Goinvic 959f8ccead Pin matrix-tools using a digest when using it in pytest 2026-10-21 07:08:30 +00:00
Gael Goinvic 49d9756dbb Build matrix-tools image on every pytest CI run 2026-10-20 13:15:49 +00:00
renovate[bot] 898510627b Update dependency uv_build to >=0.13.0,<0.14.0 2026-10-20 11:01:46 +00:00
Gaël Goinvic 8c358a4b99 Merge pull request #1695 from element-hq/gaelg/flakes-service-monitors
Retry using curl retries instead of kubernetes container restarts
2026-10-20 11:12:58 +02:00
Gael Goinvic 465b00dc4d Adjust _terminated_state for clarity 2026-10-20 08:26:32 +00:00
Gael Goinvic b2354f88b9 Use async_retry_with_timeout and drop restart_policy argument
run_pod_with_args now hardcodes RestartPolicy="Never"
2026-10-19 15:19:15 +00:00
Gael Goinvic 0b7115bf03 Wait 5 min for CRD/Deployments/Statefulsets 2026-10-19 14:26:05 +00:00
Gael Goinvic f3de1349c8 Retry using curl retries instead of kubernetes container restarts 2026-10-19 13:59:27 +00:00
Gael Goinvic 31a8d17bdd Replace pytest-kubernetes Kubectl with lightkube AsyncClient 2026-10-16 14:45:22 +00:00
Gael Goinvic c3da912d69 Replace pytest-kubernetes Kubeclient.exec with lightkube AsyncClient.exec 2026-10-16 14:32:59 +00:00
Gael Goinvic 15dc4ba6d8 Add a helper to wait for charts used in tests 2026-10-16 13:57:35 +00:00
Gael Goinvic 00c5be78b6 Update k3d to version 5.9.0 and integration tests k8s to 1.35+ 2026-10-16 08:33:00 +00:00
Gael Goinvic 011894bd72 Fix Synapse jobs should not have a preStop 2026-10-16 07:15:55 +00:00
Gaël Goinvic 98f12a266a Merge pull request #1679 from element-hq/gaelg/pod-affinity-optimization
Reduce the number of rendering required to do pod affinity tests
2026-10-15 17:35:53 +02:00
Gael Goinvic ba976d8f1d Rotate the parametrization to divide renderings by 2 2026-10-15 14:46:16 +00:00
Gael Goinvic 3faf3d8ffd Reduce the number of rendering done by the affinity tests 2026-10-15 14:46:15 +00:00
Gaël Goinvic e4ca906ef8 Merge pull request #1672 from element-hq/gaelg/pre-stop-hooks
Implement pre-stop hooks to avoid any 5xx during upgrades
2026-10-15 15:44:23 +02:00
Gael Goinvic 60883ad502 Add retries in playwright on initial setup 2026-10-15 13:30:47 +00:00
Gael Goinvic 35fa938488 refactor test using has_native_graceful_shutdown 2026-10-15 13:30:46 +00:00
Gael Goinvic 201e1a263e Only expect 5xx errors when installing or upgrading from a chart version without preStop support 2026-10-15 13:30:46 +00:00
Gaël Goinvic ae0ede3d1d Merge pull request #1677 from element-hq/gaelg/configure-ip-family
Add values to configure exposed services ip family
2026-10-15 15:29:21 +02:00
Gael Goinvic a16237aeca Test that we can configure pre-stopp values accordingly 2026-10-15 13:20:12 +00:00
Gael Goinvic 193f29c3f1 Add a test to verify that preStop hooks are configured
We want non-singletons to wait a bit on rollouts to make sure that
kubernetes iptables rules are updated before we terminate their
processes.
2026-10-15 13:19:48 +00:00
Gael Goinvic cbbbd004bb Adjust tests with the new possibilities 2026-10-15 12:57:24 +00:00
Gael Goinvic 36c94a84a2 Make ipFamilyPolcy configurable per exposed service, allow ipFamilies to be set 2026-10-15 10:26:02 +00:00
Gael Goinvic 2363942cbc Set exposed services ipFamilyPolicy 2026-10-15 10:02:05 +00:00
Gael Goinvic 0448e6ed87 Improve cluster setup to avoid helm v4 flake
See https://github.com/helm/helm/issues/31824 &
https://github.com/helm/helm/issues/32615
2026-10-15 09:49:59 +00:00
Gael Goinvic 654f541db4 Add a test testing ip families 2026-10-15 08:40:25 +00:00
Gael Goinvic d81bf649c9 move exposed services tests to a dedicated file 2026-10-15 08:21:49 +00:00
Gael Goinvic 784f40d834 Adjust defaultMode as they need to be applied to group as well
kubelet mounts files as root owner, so the user bit does not matter at
all
2026-10-14 15:38:13 +00:00
Gaël Goinvic 0eefcaf31b Merge pull request #1573 from element-hq/gaelg/add-default-mode-assertion
Add default mode tests on mounted volumes
2026-10-14 07:51:13 +02:00
Ben Banfield-Zanin a824b8973a Check that Service references are fully-qualified 2026-10-13 16:25:36 +01:00
Gael Goinvic c3a04b12c6 Change configMap/secrets permissions 2026-10-13 15:00:03 +00:00
Gael Goinvic 22c67cf6bb Enforce 400 mode in configMaps and secrets 2026-10-13 15:00:03 +00:00
Ben Banfield-Zanin d16202e29d Element Web: don't cache /usercontent/ 2026-10-13 13:49:45 +01:00
Johannes Marbach 2c73728420 Ensure the user is joined before hitting /sfu/get in tests 2026-10-13 10:56:58 +02:00
Ben Banfield-Zanin 7f967f798e Merge pull request #1645 from Johennes/fix-proxied-matrix-rtc-tests
Fix lk-jwt-service test for C-S route
2026-10-09 15:37:40 +01:00
Gael Goinvic 7afe226860 Add an asyncio lock on element admin playwright tests 2026-10-09 12:25:28 +00:00
Gael Goinvic fb204c0e0a Collect playwright traces and make them available to CI logs 2026-10-09 08:51:54 +00:00
Gael Goinvic a0350ea6e7 Pass playwright container config files through env vars 2026-10-09 08:23:35 +00:00
Gaël Goinvic 0a23c78284 Merge pull request #1646 from element-hq/gaelg/export-logs
Add docker logs export
2026-10-09 09:24:31 +02:00
Gael Goinvic 6ecb134ee1 Export logs only for containers attached to the k3d network 2026-10-09 07:15:30 +00:00
Gael Goinvic 81a68d93ec Apply hack to skip regular fixture logic before fixtures could throw
This is hidding errors happening during setups, and makes CI difficult
to debug.
2026-10-09 07:02:32 +00:00
Gael Goinvic 291542a67c Add docker logs export 2026-10-08 15:41:50 +00:00
Johannes Marbach 28172a2a50 Fix lk-jwt-service test for C-S route 2026-10-08 16:38:23 +02:00
Gaël Goinvic 38a2aeb65e Merge pull request #1636 from element-hq/gaelg/playwright-remote
Run playwright using a local controller -> remote browser model (running in docker)
2026-10-08 14:14:55 +02:00
Gael Goinvic 7054e51f49 fix top failing when test executes too fast 2026-10-08 12:05:03 +00:00
Ben Banfield-Zanin 3892b7cd58 Merge pull request #1626 from barodeur/msc4140-rtc-appservice-mode
Run the MatrixRTC Authorisation Service as an application service
2026-10-08 11:50:13 +01:00