github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+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