Skip to content

Commit 4c834e0

Browse files
committed
chore: update readme.md
Signed-off-by: Timur Tuktamyshev <timur.tuktamyshev@flant.com>
1 parent e0486c3 commit 4c834e0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

testing/e2e/mirror/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ These tests perform **complete mirror cycles with verification** to ensure:
2525
### Step 1: Read Expected Images from Source
2626
Before pulling, we independently read what SHOULD be downloaded:
2727
- Release channel versions from source registry
28-
- `images_digests.json` from each installer image
29-
- Module list and versions
28+
- `images_digests.json` from each installer image (platform)
29+
- Module list, versions, and `images_digests.json` from each module image
3030

3131
### Step 2: Pull & Push
3232
Execute `d8 mirror pull` and `d8 mirror push`
@@ -136,8 +136,9 @@ task test:e2e:mirror:logs:clean
136136

137137
### Modules Test
138138
1. Module list matches expected
139-
2. Each module has release tags
140-
3. Module images match source
139+
2. Release channel tags exist and digests match source
140+
3. Module version images exist (`:v1.2.3` tags from release channels)
141+
4. All digests from `images_digests.json` exist in target (if module has them)
141142

142143
### Security Test
143144
1. All security databases exist (trivy-db, trivy-bdu, etc.)
@@ -157,7 +158,9 @@ E2E_LICENSE_TOKEN=your_token task test:e2e:mirror
157158

158159
### "Verification failed"
159160
Check `comparison.txt`:
160-
- **Missing in target**: Pull or push didn't transfer the image
161+
- **Missing digests**: Pull or push didn't transfer the image
162+
- **Missing module versions**: Module version image not in target
163+
- **Missing module digests**: Module's internal images not transferred
161164
- **Digest mismatch**: Data corruption or version skew
162165

163166
### Running Against Local Registry

0 commit comments

Comments
 (0)