Skip to content

Commit 46c5293

Browse files
authored
Merge pull request #6 from jetstack/add-ubbagent
Build and push the hourly billing agent ubbagent
2 parents aeb2f31 + 7dbda9f commit 46c5293

File tree

10 files changed

+27
-0
lines changed

10 files changed

+27
-0
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

cloudbuild.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,31 @@ steps:
103103
waitFor:
104104
- tag-webhook
105105

106+
107+
- id: clone-ubbagent
108+
name: gcr.io/cloud-builders/gcloud
109+
entrypoint: bash
110+
args:
111+
- -exc
112+
- git clone https://github.com/GoogleCloudPlatform/ubbagent --branch 0.0.1
113+
waitFor: ["-"]
114+
115+
- id: build-ubbagent
116+
name: gcr.io/cloud-builders/docker
117+
args:
118+
- build
119+
- --tag
120+
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/ubbagent:${_APP_VERSION}
121+
- "./ubbagent"
122+
waitFor: ["clone-ubbagent"]
123+
124+
- id: push-ubbagent
125+
name: gcr.io/cloud-builders/docker
126+
args:
127+
- push
128+
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/ubbagent:${_APP_VERSION}
129+
waitFor: ["build-ubbagent"]
130+
106131
- id: build-deployer
107132
name: gcr.io/cloud-builders/docker
108133
args:
@@ -192,6 +217,7 @@ steps:
192217
- push-cainjector
193218
- push-webhook
194219
- push-cas-issuer
220+
- push-ubbagent
195221

196222
- id: publish
197223
name: gcr.io/cloud-marketplace-tools/k8s/dev
@@ -213,3 +239,4 @@ images:
213239
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/cert-manager-webhook:${_APP_VERSION}
214240
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/cert-manager-google-cas-issuer:${_APP_VERSION}
215241
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/deployer:${_APP_VERSION}
242+
- gcr.io/$PROJECT_ID/${_SOLUTION_NAME}/ubbagent:${_APP_VERSION}

0 commit comments

Comments
 (0)