Skip to content

Commit

Permalink
Improve nested test case for #1827
Browse files Browse the repository at this point in the history
  • Loading branch information
Racer159 committed Oct 31, 2023
1 parent 6c80833 commit 2a31040
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
13 changes: 13 additions & 0 deletions src/test/packages/51-import-everything/oci-import/zarf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
kind: ZarfPackageConfig
metadata:
name: import-oci
description: Test OCI import of helm charts
version: 0.0.1

components:
- name: import-component-oci
description: "import-component-oci == ###ZARF_COMPONENT_NAME###"
required: false
import:
name: demo-helm-local-chart
url: oci://localhost:555/helm-charts:0.0.1-skeleton
9 changes: 7 additions & 2 deletions src/test/packages/51-import-everything/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,31 @@ metadata:
version: 0.0.1

components:
# Test every simple primitive that Zarf has through a local import
- name: import-component-local
description: "import-component-local == ###ZARF_COMPONENT_NAME###"
required: false
import:
path: ../09-composable-packages
name: test-compose-package

# Test nested local to oci imports
- name: import-component-oci
description: "import-component-oci == ###ZARF_COMPONENT_NAME###"
required: false
import:
name: demo-helm-local-chart
url: oci://localhost:555/helm-charts:0.0.1-skeleton
name: import-component-oci
path: oci-import

# Test big bang extension files
- name: import-big-bang
description: "import-big-bang == ###ZARF_COMPONENT_NAME###"
required: false
import:
name: bigbang
url: oci://localhost:555/big-bang-min:2.10.0-skeleton

# Test file imports including cosignKeyPath
- name: file-imports
description: "file-imports == ###ZARF_COMPONENT_NAME###"
required: false
Expand All @@ -50,6 +54,7 @@ components:
- cmd: test ! -f files/coffee-ipsum.txt
- cmd: test ! -f files/zarf-readme.md

# Test local charts (for skeletons)
- name: local-chart-import
description: "local-chart-import == ###ZARF_COMPONENT_NAME###"
required: false
Expand Down

0 comments on commit 2a31040

Please sign in to comment.