Skip to content

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Sep 1, 2023
1 parent 328fd49 commit 4e2a8e0
Showing 1 changed file with 48 additions and 42 deletions.
90 changes: 48 additions & 42 deletions test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,49 +83,52 @@ Command suite uses two kinds of pre-baked test data:
##### Test Data for ORAS-Distribution
```mermaid
graph TD;
subgraph "repository: command/images"
subgraph "file: images.tar.gz"
direction TB
A0>tag: multi]-..->A1[oci index]
A1--linux/amd64-->A2[oci image]
A1--linux/arm64-->A3[oci image]
A1--linux/arm/v7-->A4[oci image]
A2-->A5(config1)
A3-->A6(config2)
A4-->A7(config3)
A2-- hello.tar -->A8(blob)
A3-- hello.tar -->A8(blob)
A4-- hello.tar -->A8(blob)
B0>tag: foobar]-..->B1[oci image]
B1-- foo1 -->B2(blob1)
B1-- foo2 -->B2(blob1)
B1-- bar -->B3(blob2)
end
subgraph "repository: command/images"
subgraph "file: images.tar.gz"
direction TB
A0>tag: multi]-..->A1[oci index]
A1--linux/amd64-->A2[oci image]
A1--linux/arm64-->A3[oci image]
A1--linux/arm/v7-->A4[oci image]
A2-->A5(config1)
A3-->A6(config2)
A4-->A7(config3)
A2-- hello.tar -->A8(blob)
A3-- hello.tar -->A8(blob)
A4-- hello.tar -->A8(blob)
B0>tag: foobar]-..->B1[oci image]
B1-- foo1 -->B2(blob1)
B1-- foo2 -->B2(blob1)
B1-- bar -->B3(blob2)
end
subgraph "repository: command/artifacts"
subgraph "file: artifacts.tar.gz"
direction TB
C0>tag: foobar]-..->C1[oci image]
direction TB
E1["test.sbom.file(artifact)"] -- subject --> C1
E2["test.signature.file(artifact)"] -- subject --> E1
direction TB
D1["test/sbom.file(image)"] -- subject --> C1
D2["test/signature.file(image)"] -- subject --> D1
end
subgraph "file: artifacts_index.tar.gz"
direction TB
F0>tag: multi]-..->F1[oci index]
F1--linux/amd64-->F2[oci image]
F1--linux/arm64-->F3[oci image]
F1--linux/arm/v7-->F4[oci image]
G1["referrer.index(image)"] -- subject --> F1
G2["referrer.image(image)"] -- subject --> F2
end
end
```

```mermaid
graph TD;
subgraph "repository: command/artifacts"
subgraph "file: artifacts.tar.gz"
direction TB
C0>tag: foobar]-..->C1[oci image]
direction TB
E1["test.sbom.file(artifact)"] -- subject --> C1
E2["test.signature.file(artifact)"] -- subject --> E1
direction TB
D1["test/sbom.file(image)"] -- subject --> C1
D2["test/signature.file(image)"] -- subject --> D1
end
subgraph "file: artifacts_index.tar.gz"
direction TB
F0>tag: multi]-..->F1[oci index]
F1--linux/amd64-->F2[oci image]
F1--linux/arm64-->F3[oci image]
F1--linux/arm/v7-->F4[oci image]
G1["referrer.index(image)"] -- subject --> F1
G2["referrer.image(image)"] -- subject --> F2
end
end
```

##### Test Data for Upstream Distribution
Expand Down Expand Up @@ -166,7 +169,10 @@ graph TD;
B1-- foo2 -->B2(blob1)
B1-- bar -->B3(blob2)
end
```

```mermaid
graph TD;
subgraph "repository: command/artifacts"
direction TB
C0>tag: foobar]-..->C1[oci image]
Expand Down

0 comments on commit 4e2a8e0

Please sign in to comment.