get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/bundle-with-lint-error/porter.yaml (about)

     1  # This bundle is designed to cause the porter lint/build commands to fail
     2  schemaType: Bundle
     3  schemaVersion: 1.0.1
     4  name: exec-mixin-lint-error
     5  version: 0.1.0
     6  description: "This bundle is designed to cause the porter lint/build commands to fail, use --no-lint to use it anyway"
     7  registry: "localhost:5000"
     8  
     9  mixins:
    10    - exec
    11  
    12  install:
    13    - exec:
    14        description: trigger a lint error
    15        command: bash
    16        flags:
    17          # This won't work because it's quoted improperly https://porter.sh/best-practices/exec-mixin/
    18          c: echo "Hello World"
    19  
    20  upgrade:
    21    - exec:
    22        description: "World 2.0"
    23        command: echo
    24        arguments:
    25          - upgrade
    26  
    27  uninstall:
    28    - exec:
    29        description: "Uninstall Hello World"
    30        command: echo
    31        arguments:
    32          - uninstall