github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/deploy-cloudrun-with-hooks/module1/skaffold.yaml (about)

     1  apiVersion: skaffold/v4beta11
     2  kind: Config
     3  metadata:
     4     name: cloud-run-hooks-module1
     5  
     6  manifests:
     7    rawYaml:
     8      - service.yaml
     9  
    10  deploy:
    11    cloudrun:
    12      projectid: k8s-skaffold
    13      region: us-central1
    14      hooks:
    15        before:
    16          - command: ["sh", "-c", "echo PRE-DEPLOY Cloud Run MODULE1 host hook"]
    17            os: [darwin, linux]
    18        
    19        after:
    20          - command: ["sh", "-c", "echo POST-DEPLOY Cloud Run MODULE1 host hook!"]
    21            os: [darwin, linux]