github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/cloudbuild/testdata/steps-volumes.yaml (about)

     1  # https://cloud.google.com/build/docs/build-config-file-schema#volumes
     2  
     3  steps:
     4  - name: 'ubuntu'
     5    volumes:
     6    - name: 'vol1'
     7      path: '/persistent_volume'
     8    entrypoint: 'bash'
     9    args:
    10    - '-c'
    11    - |
    12          echo "Hello, world!" > /persistent_volume/file
    13  - name: 'ubuntu'
    14    volumes:
    15    - name: 'vol1'
    16      path: '/persistent_volume'
    17    args: ['cat', '/persistent_volume/file']