-
Notifications
You must be signed in to change notification settings - Fork 56
/
cloudbuild.yaml
35 lines (35 loc) · 1.4 KB
/
cloudbuild.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
28
29
30
31
32
33
34
35
steps:
- name: debian:11-slim
args:
- '-c'
- |
set -x
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -yq tzdata sudo lsb-release apt-utils
source scripts/cloud_build_test_debian.sh "3.9.7"
make check
make test test_dataplex_metadata
make test test_dataplex_metadata_uri_templates
make test test_dataplex_dq_configs_cache
make test test_dataplex_integration_performance
make test test_dataplex_task
make addlicense
entrypoint: /bin/bash
env:
- 'GOOGLE_CLOUD_PROJECT=${_GOOGLE_CLOUD_PROJECT}'
- 'CLOUDDQ_BIGQUERY_DATASET=${_CLOUDDQ_BIGQUERY_DATASET}'
- 'CLOUDDQ_BIGQUERY_REGION=${_CLOUDDQ_BIGQUERY_REGION}'
- 'GCS_BUCKET_NAME=${_GCS_BUCKET_NAME}'
- 'GCS_BAZEL_CACHE=${_GCS_BAZEL_CACHE}'
- 'DATAPLEX_LAKE_NAME=${_DATAPLEX_LAKE_NAME}'
- 'DATAPLEX_REGION_ID=${_DATAPLEX_REGION_ID}'
- 'DATAPLEX_ZONE_ID=${_DATAPLEX_ZONE_ID}'
- 'DATAPLEX_ENDPOINT=${_DATAPLEX_ENDPOINT}'
- 'DATAPLEX_BIGQUERY_DATASET_ID=${_DATAPLEX_BIGQUERY_DATASET_ID}'
- 'DATAPLEX_BUCKET_NAME=${_DATAPLEX_BUCKET_NAME}'
- 'DATAPLEX_TARGET_BQ_DATASET=${_DATAPLEX_TARGET_BQ_DATASET}'
- 'DATAPLEX_TARGET_BQ_TABLE=${_DATAPLEX_TARGET_BQ_TABLE}'
- 'DATAPLEX_TASK_SA=${_DATAPLEX_TASK_SA}'
timeout: 3600s
options:
machineType: 'E2_HIGHCPU_8'
logsBucket: 'gs://dataplex-clouddq-github-cloud-build'