Skip to content

Commit 7118e06

Browse files
test: migrate to cloud build (#1048)
* test: migrate to cloud build * test: migrate to cloud build * test: checkin configuration for gchat notifications * test: added timeout * test: migrated hive tests * test: migrated hive tests * test: migrated hive tests * test: migrated S3ToBQ * test: migrated bqtojdbc and jdbctojdbc * test: migrated jdbctospangress * test: migrated pubsubtogcs / bq tests * test: removed pubsubsb tests from jenkins * test: removed migrated tests from jenkins * test: removed migrated tests from jenkins * test: migrated mongo tests * test: migrated cassandra tests * test: migrated kafka tests * test: migrated bigtable and spanner tests * test: updated licensing info * test: updated kafka dstream tests
1 parent 16b94d8 commit 7118e06

File tree

4 files changed

+527
-779
lines changed

4 files changed

+527
-779
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: cloud-build-notifiers/v1
2+
kind: GoogleChatNotifier
3+
metadata:
4+
name: example-googlechat-notifier
5+
spec:
6+
notification:
7+
filter: build.substitutions["BRANCH_NAME"] == "main" && build.status in [Build.Status.FAILURE, Build.Status.TIMEOUT, Build.Status.INTERNAL_ERROR]
8+
delivery:
9+
webhookUrl:
10+
secretRef: webhook-url
11+
secrets:
12+
- name: webhook-url
13+
value: projects/852233039732/secrets/cloudbuild-gchat-webhook/versions/latest
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
gcloud storage cp gchat-notification.yaml gs://dataproc-templates_cloudbuild/gchat-notification.yaml
2+
gcloud run deploy gchat-build-notifier --image=us-east1-docker.pkg.dev/gcb-release/cloud-build-notifiers/googlechat:latest --no-allow-unauthenticated --update-env-vars=CONFIG_PATH=gs://dataproc-templates_cloudbuild/gchat-notification.yaml,PROJECT_ID=852233039732 --project=dataproc-templates --service-account=dataproc-templates-cicd@dataproc-templates.iam.gserviceaccount.com --region=us-central1

0 commit comments

Comments
 (0)