-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
27 lines (27 loc) · 1.05 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
apiVersion: skaffold/v4beta7
kind: Config
metadata:
name: myGcbV2RepoConfig
customActions:
- name: custom-render
containers:
- name: render
image: gcr.io/google.com/cloudsdktool/google-cloud-cli@sha256:66e2681aa3099b4e517e4cdcdefff8f2aa45d305007124ccdc09686f6712d018
command: ['/bin/bash']
args:
- '-c'
- |-
echo "FROM A GIT REPO- Sample manifest rendered content" > manifest.txt
gsutil cp manifest.txt $CLOUD_DEPLOY_OUTPUT_GCS_PATH/manifest.txt
echo {\"resultStatus\": \"SUCCEEDED\", \"manifestFile\": \"$CLOUD_DEPLOY_OUTPUT_GCS_PATH/manifest.txt\"} > results.json
gsutil cp results.json $CLOUD_DEPLOY_OUTPUT_GCS_PATH/results.json
- name: custom-deploy
containers:
- name: deploy
image: gcr.io/google.com/cloudsdktool/google-cloud-cli@sha256:66e2681aa3099b4e517e4cdcdefff8f2aa45d305007124ccdc09686f6712d018
command: ['/bin/bash']
args:
- '-c'
- |-
echo {\"resultStatus\": \"SUCCEEDED\"} > results.json
gsutil cp results.json $CLOUD_DEPLOY_OUTPUT_GCS_PATH/results.json