github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/src/test/packages/03-deprecated-set-variable/jackal.yaml (about)

     1  kind: JackalPackageConfig
     2  metadata:
     3    name: deprecated-set-variable
     4    description: Test to verify that setVariables and PKG_VARs are migrated to maintain past functionality (see src/pkg/packager/deprecated)
     5  
     6  components:
     7    # Test that setVariable becomes setVariables
     8    - name: 1-test-deprecated-set-variable
     9      actions:
    10        onDeploy:
    11          before:
    12            - cmd: echo "Hello Kitteh"
    13              setVariable: HELLO_KITTEH
    14            - cmd: echo "Hello from ${JACKAL_VAR_HELLO_KITTEH}"
    15  
    16    # Test that ###JACKAL_PKG_VAR_*### is still templated
    17    - name: 2-test-deprecated-pkg-var
    18      actions:
    19        onDeploy:
    20          before:
    21            - cmd: echo "###JACKAL_PKG_VAR_ECHO###"