github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/ci/infrastructure/tasks/create-vars-file.yml (about)

     1  ---
     2  platform: linux
     3  
     4  image_resource:
     5    type: docker-image
     6    source:
     7      repository: busybox
     8  
     9  outputs:
    10  - name: vars_path
    11  
    12  params:
    13    CLIENT_SECRET:
    14  
    15  run:
    16    path: sh
    17    args:
    18    - -c
    19    - |
    20      set -eux
    21  
    22      cat << EOF > vars_path/vars.yml
    23      client-secret: $CLIENT_SECRET
    24      EOF