github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/f0009.yml (about)

     1  goal:
     2    - refdir will override the default configured refdir
     3    - it will error if the refdir does not contains the ref file
     4  
     5  scopes:
     6    -
     7      name: global
     8      ref: d0009-global.yml
     9      refdir: ./tests
    10  
    11    -
    12      name: prod
    13      members: [dr,prod]
    14      vars:
    15        a: prod-a
    16        c: prod-c
    17  
    18    -
    19      name: nonprod
    20      members:
    21        - dev
    22        - st
    23        - staging
    24      vars:
    25        a: non-prod-a
    26        b: non-prod-b
    27        c: non-prod-c
    28  
    29    -
    30      name: staging
    31      vars:
    32        a: staging-a
    33        b: staging-b
    34  
    35    -  name: dev
    36       ref: d0009-dev.yml
    37  
    38  tasks:
    39  
    40    -
    41      name: task
    42      task:
    43        -
    44          func: shell
    45          do:
    46            - echo "test out the var scopes only"
    47