cozystack/hack
Myasnikov Daniil 0fc61eeae6
e2e: pre-pull timing-sensitive platform images before install
Some workloads (OVN raft, LINSTOR controller) fail when replicas start
at different times due to image-pull stagger across nodes. Add a
DaemonSet-based pre-pull step that runs before helm install, ensuring
all nodes have the images cached so every replica starts within
milliseconds of each other.

The script accepts image refs on stdin and creates one container per
image (parallel pulls, total time = max of any single image rather than
sum). The bats test sources images directly from the rendered charts
via yq, walking only PodSpec-shaped objects so version bumps stay in
sync automatically without a separate hardcoded list.

Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-04-29 16:18:19 +05:00
..
e2e-apps test(e2e-apps): add existence backstops to all kubectl wait calls 2026-04-28 15:52:39 +05:00
admin-kubeconfig-invariant.bats fix(kubernetes): history guard non-empty check + nits from review 2026-04-16 21:50:10 +03:00
boilerplate.go.txt Introduce cozystack-controller (#560) 2025-01-09 12:24:51 +01:00
cdi_golden_image_create.sh [vm-default-images] Added new optional package 2026-04-14 19:59:19 +05:00
check-host-runtime.bats test(hack): assert sudo prefix in single-service HINTs, explicit exit code, and glob regression 2026-04-11 14:36:58 +03:00
check-host-runtime.sh fix(hack): wrap du in 'timeout 5s' to prevent preflight stall 2026-04-11 17:07:35 +03:00
check-optional-repos.sh Rename cozypkg to cozyhr 2025-12-25 16:54:22 +01:00
check-readiness.sh Added check-readiness.sh script 2026-03-29 13:16:35 +05:00
collect-images.sh [dx] Refactor collect-images functionality 2025-07-03 14:26:56 +03:00
common-envs.mk fix(build): filter git describe to match only v* tags 2026-04-13 14:25:25 +02:00
cozyreport-summary.sh feat(cozyreport): add summary.txt at archive root 2026-04-27 23:14:40 +05:00
cozyreport.sh feat(cozyreport): add summary.txt at archive root 2026-04-27 23:14:40 +05:00
cozytest.sh [tests] Add pre-cleanup, fix port-forward race, fix temp leak 2026-03-23 17:25:01 +03:00
download-dashboards.sh Add monitoring for NATs 2026-02-17 22:54:12 +01:00
e2e-install-cozystack.bats e2e: pre-pull timing-sensitive platform images before install 2026-04-29 16:18:19 +05:00
e2e-post-install-prep.sh test(e2e): annotate genuine sleeps with TODO and rationale 2026-04-28 00:07:19 +05:00
e2e-prepare-cluster.bats [ci] Run e2e tests on shared runners 2026-01-20 22:13:16 +01:00
e2e-prepull-images.sh e2e: pre-pull timing-sensitive platform images before install 2026-04-29 16:18:19 +05:00
e2e-test-openapi.bats test(openapi): replace fixed sleep with port-readiness wait for kubectl proxy 2026-04-28 00:05:02 +05:00
helm-unit-tests.sh [ci,dx] Add unit tests for cozy-lib 2025-11-19 17:56:17 +03:00
migrate-to-version-1.0.sh Fixed packages name conversion in migration script 2026-03-03 19:10:39 +05:00
package.mk refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
pre-checks.sh Fix osx grep have no -P flag (#438) 2024-10-21 11:59:56 +02:00
remediation-guard.bats test(hack): rename remediation-guard bats test to match what it pins 2026-04-16 22:32:24 +03:00
update-codegen.sh [docs] Fixed controller-gen markers 2026-03-25 15:57:25 +05:00
update-crd.sh refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
upload-assets.sh [docs] Added openapi generation tool 2026-03-25 15:57:25 +05:00
upload-releasenotes.sh Add AI-agent for changelogs generation 2025-11-26 20:18:43 +01:00