github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/src/test/packages/51-import-everything/jackal.yaml (about)

     1  kind: JackalPackageConfig
     2  metadata:
     3    name: import-everything
     4    description: Test nearly every type of import
     5    version: 0.0.1
     6  
     7  components:
     8    # Test every simple primitive that Jackal has through a local import
     9    - name: import-component-local
    10      description: "import-component-local == ###JACKAL_COMPONENT_NAME###"
    11      required: false
    12      import:
    13        path: ../09-composable-packages
    14        name: test-compose-package
    15  
    16    # Test nested local to oci imports
    17    - name: import-component-oci
    18      description: "import-component-oci == ###JACKAL_COMPONENT_NAME###"
    19      required: false
    20      import:
    21        name: import-component-oci
    22        path: oci-import
    23  
    24    # Test big bang extension files
    25    - name: import-big-bang
    26      description: "import-big-bang == ###JACKAL_COMPONENT_NAME###"
    27      required: false
    28      import:
    29        name: bigbang
    30        url: oci://localhost:555/big-bang-min:2.10.0
    31  
    32    # Test file imports including cosignKeyPath
    33    - name: file-imports
    34      description: "file-imports == ###JACKAL_COMPONENT_NAME###"
    35      required: false
    36      cosignKeyPath: ../../../../cosign.pub
    37      files:
    38        # Import of a local file
    39        - source: ../09-composable-packages/files/coffee-ipsum.txt
    40          target: ../09-composable-packages/coffee-ipsum.txt
    41          # Import of a file from a URL
    42        - source: https://raw.githubusercontent.com/Racer159/jackal/main/README.md
    43          target: files/jackal-readme.md
    44      actions:
    45        onDeploy:
    46          after:
    47            - cmd: test -f files/coffee-ipsum.txt
    48            - cmd: test -f files/jackal-readme.md
    49        onRemove:
    50          before:
    51            - cmd: rm files/coffee-ipsum.txt
    52            - cmd: rm files/jackal-readme.md
    53          after:
    54            - cmd: test ! -f files/coffee-ipsum.txt
    55            - cmd: test ! -f files/jackal-readme.md
    56  
    57    # Test local charts (for skeletons)
    58    - name: local-chart-import
    59      description: "local-chart-import == ###JACKAL_COMPONENT_NAME###"
    60      required: false
    61      charts:
    62        - name: podinfo
    63          localPath: ../../../../examples/helm-charts/chart
    64          namespace: local-chart
    65          version: 6.4.0
    66      images:
    67        - ghcr.io/stefanprodan/podinfo:6.4.0
    68      actions:
    69        onDeploy:
    70          after:
    71            - wait:
    72                cluster:
    73                  kind: deployment
    74                  name: podinfo
    75                  namespace: local-chart
    76                  condition: available