Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork Update #1

Merged
merged 368 commits into from
Aug 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
368 commits
Select commit Hold shift + click to select a range
3d4e42f
Add back .ci/release-note.tmpl (#3508)
c2thorn May 13, 2020
269619f
Vcr ignore tests (#3486)
slevenick May 14, 2020
351f787
Add window based SLI (#3510)
emilymye May 14, 2020
453c9a9
Data source for IAM Testable Permissions (#3460)
onetwopunch May 14, 2020
9adf7b8
Fix node pool tests. (#3475)
nat-henderson May 14, 2020
ed50e4c
Add retry to service account creation (#3513)
c2thorn May 15, 2020
11b8d2f
Composer access control (#3503)
slevenick May 15, 2020
1ba53cf
cloud app armor: Maximum number of src_ip_ranges is 10 (#3516)
redbaron May 15, 2020
8951f33
Add descriptions to schema #1 (#3507)
edwardmedia May 15, 2020
91c4f10
Update environment variable `GOOGLE_CLOUD_KEYFILE_JSON` to use `GOOGL…
slevenick May 18, 2020
db98595
allow bigquery job fields that reference resources in blocks to do so…
danawillow May 18, 2020
6ac058c
Single quotes (#3511)
slevenick May 18, 2020
b053ac7
fix composer resource names (#3521)
emilymye May 18, 2020
44a6c15
Skip tests due to GKE version constraints (#3526)
slevenick May 18, 2020
0367085
Add compute_route retry for "peering operation in progress" (#3518)
c2thorn May 18, 2020
63c65ce
Single quotes (#3525)
slevenick May 18, 2020
90360f9
Check for diffs in allowed ranges set (#3529)
slevenick May 18, 2020
271ffe5
Mark interconnect edge availability domain as computed (#3538)
slevenick May 19, 2020
ea02419
Exact domain matching for organization data source (#3534)
c2thorn May 19, 2020
fdb031a
Add disk encryption settings and status to sql instance (#3496)
slevenick May 19, 2020
db1c276
add min_cpu_platform to google_container_cluster.cluster_autoscaling.…
danawillow May 19, 2020
e808ad1
use network selflinks for dns (#3530)
emilymye May 19, 2020
47e1d5e
stackdriver dashboards resource (#3490)
danawillow May 20, 2020
9c4f020
Empty reservations must ignore empty (#3541)
slevenick May 20, 2020
4540f9c
use explicit version in monitoring data sources (#3540)
danawillow May 20, 2020
9790ca3
Allow update of node pool workload metadata config (#3512)
emilymye May 20, 2020
3ecd794
Dataset access viewer is primative role READER not VIEWER (#3542)
slevenick May 20, 2020
1999d48
Ga secret manager (#3533)
slevenick May 20, 2020
a23f908
Mark ssh key as force new (#3543)
slevenick May 20, 2020
358e3b8
Fix fetching of app_engine_standard_app_version data (#3536)
pmarschik May 20, 2020
2605050
add id and replace self_link in docs (part 5 of #5542) (#3535)
edwardmedia May 20, 2020
2598c91
Data Catalog EntryGroup (#3485)
danawillow May 20, 2020
2656b45
Promote DNS resources to GA (#3524)
nathkn May 21, 2020
7e22ad1
Data Catalog Entry (#3532)
danawillow May 21, 2020
61c5aad
Fix more VCR tests (#3531)
slevenick May 21, 2020
5f8036f
fix issue #6436 (#3550)
edwardmedia May 21, 2020
7747ddb
adding id for exported attributes in more manual docs (#3551)
edwardmedia May 21, 2020
189294d
Use correct import format for iam member docs (#3552)
danawillow May 21, 2020
18d053a
continue updates for view=full app engine version (#3545)
megan07 May 21, 2020
75206eb
Auto-generate the Cloud IoT Core Device Registry resource (#3357)
ferrarimarco May 21, 2020
f258b18
google_bigquery_job - suppress diffs between fully qualified URLs and…
jcanseco May 21, 2020
d4f0d53
docs(cloudsql): complete POSTGRES version list (#3568)
slevenick May 26, 2020
22732dd
Create the MachineImage resource (#3556)
nat-henderson May 27, 2020
295991b
Make dataflow on_delete a virtual field (#3567)
c2thorn May 27, 2020
bd27a0d
Add credentials to bigquery connection. (#3546)
nat-henderson May 27, 2020
217d0be
Skip instance migrate tests, they handle config directly (#3554)
slevenick May 27, 2020
da39871
remove creds from error during parsing (#3571)
emilymye May 27, 2020
b55272e
Support containeranalysis Note and Occurence for attestation (#3564)
emilymye May 27, 2020
db86c81
Bump activesupport from 5.2.3 to 5.2.4.3 (#3572)
dependabot[bot] May 27, 2020
d482e39
Add precondition retry to node pool deletion - upstreams tpg#6334 (#3…
emilymye May 27, 2020
ebf43ff
Add retry on cloud functions error when pulling source from GCS (#3570)
emilymye May 27, 2020
7b7b6d6
Add dependency change handbook. (#3573)
nat-henderson May 27, 2020
fe923da
Fixed typos in website for google_iam_testable_permissions (#3574)
onetwopunch May 27, 2020
fd0fa3c
replace self_link for external_vpn_gateway (#3575)
edwardmedia May 27, 2020
9607846
Data Catalog tag template (#3555)
danawillow May 29, 2020
8888b64
Vcr cloud build (#3547)
slevenick May 29, 2020
43bf665
Terraform BigQuery Table Hive partitioning support (#3335)
ffung May 29, 2020
996d5fb
Add post-create retry for big query job (#3579)
c2thorn May 29, 2020
1586dc2
Move workload identity to GA (#3580)
nat-henderson May 29, 2020
d913067
allow updating (R)IGM target pools to empty (#3581)
danawillow May 29, 2020
c65fb31
Add post-merge VCR copy step (#3583)
slevenick May 29, 2020
e96c638
add desc to schema for google_bigtable_table (#3560)
edwardmedia May 30, 2020
8404951
Add monitoring group mutex to uptime check config (#3584)
emilymye Jun 1, 2020
41471aa
fix typo in example in google_compute_router_nat (#3589)
edwardmedia Jun 1, 2020
51d183e
VCR acc test fixes (#3586)
slevenick Jun 2, 2020
7803d55
Add "inbound_services" to google_app_engine_standard_app_version (#3537)
pmarschik Jun 2, 2020
7103067
add desc to schema for google_container_node_pool (#3563)
edwardmedia Jun 2, 2020
f47ee86
Use new magician credentials. (#3598)
nat-henderson Jun 2, 2020
4367c55
If a review is already submitted, the GH API thinks that no reviewer …
nat-henderson Jun 3, 2020
92bad01
Make dialogflow agent timezone updatable (#3596)
c2thorn Jun 3, 2020
29932a8
make subnetwork region forcenew and update its description (#3599)
danawillow Jun 3, 2020
06a5d21
Remove sirgitsalot from random assignee rotation (#3592)
danawillow Jun 3, 2020
ff9868e
Fixing instances[] reference in the examples (#3600)
megan07 Jun 3, 2020
76117e7
add description to gke cluster schema (#3566)
edwardmedia Jun 4, 2020
3184c4c
Add Network Management ConnectivityTest resource (#3601)
emilymye Jun 4, 2020
7de85ba
enable google_dns_managed_zone to accept network id for two attribute…
edwardmedia Jun 4, 2020
3622c15
google_dataflow_job - when updating, wait for new job to start (#3591)
jcanseco Jun 4, 2020
9ff3209
Fix nodepool management tests with new default for autoRepair (#3605)
chrisst Jun 5, 2020
c58b346
Add memcache instance. (#3593)
nat-henderson Jun 5, 2020
0838db4
add default_route_action to compute_url_map (#3587)
megan07 Jun 8, 2020
2850f2a
add data catalog tag (#3569)
megan07 Jun 8, 2020
926135c
reapply partial #1794 (#3610)
svpace Jun 8, 2020
b12a975
FHIR store streaming config (#3611)
c2thorn Jun 8, 2020
846f942
google_dataflow_job - retry on common API errors when waiting for job…
jcanseco Jun 8, 2020
4195630
Bigquery dataset iam (#3608)
slevenick Jun 8, 2020
d3509c4
Add note on iap client that only internal org clients can be created …
slevenick Jun 9, 2020
91fe747
telemetry integration support added (#3585)
venkykuberan Jun 9, 2020
a5485f6
add matcher attribute to contentmatchers (#3607)
venkykuberan Jun 9, 2020
10ba6de
add docs for sa credential generation (#3614)
megan07 Jun 9, 2020
68c29c9
default value add to fix test failures (#3616)
venkykuberan Jun 9, 2020
2ebdba7
Send empty value for range_partitioning.range.start in google_bigquer…
rileykarson Jun 10, 2020
a7fe169
Add retries to datastore index when under contention. (#3615)
rileykarson Jun 10, 2020
846b3c1
fix flaky TestAccServiceAccount_basic (#3595)
megan07 Jun 10, 2020
15c87a4
maxint < maximum value, so document maxint as maximum. (#3618)
nat-henderson Jun 10, 2020
8338360
Add support for master_global_access_config to google_container_clust…
rileykarson Jun 10, 2020
c780359
Correctly draw GKE location from schema when constructing subnetwork …
rileykarson Jun 10, 2020
79a5d7b
enable google_compute_instance_group to accept instances id (#3621)
edwardmedia Jun 10, 2020
06f10c9
Descriptions for sql-database-instance (#3577)
trodge Jun 10, 2020
4a5b222
Add timeoutSeconds to cloud run (#3622)
sergeylanzman Jun 11, 2020
962ff2e
Fix and document id format for google_kms_crypto_key_version. (#3624)
rileykarson Jun 11, 2020
5c6e29b
replace self_link in more examples (#3631)
edwardmedia Jun 12, 2020
01c9718
Adding validation regex for redis instance id (#3632)
Mike-Dunton Jun 12, 2020
fb15444
Add HA requirements to SQL docs (#3633)
rileykarson Jun 12, 2020
136d76b
add min_node_cpus to compute_instance.scheduling (#3634)
megan07 Jun 12, 2020
db32913
add new network peering fields (#3630)
danawillow Jun 13, 2020
d94c50c
Add cloudbuild invert regex option (#3628)
jmthvt Jun 15, 2020
d7c4d91
Descriptions for storage-bucket (#3578)
trodge Jun 15, 2020
f43e99b
Resource google_sql_database_instance root_password (MS SQL) for GA (…
edwardmedia Jun 16, 2020
b9d5aec
Change table name in bigquery data config tests (#3643)
emilymye Jun 16, 2020
249d6ad
add desc to schema for google_compute_instance_group (#3647)
edwardmedia Jun 16, 2020
45926cb
adding cpu_overcommit_type and updating tests (#3640)
megan07 Jun 16, 2020
3c6e6c9
add comment about resource_policies_attachment to disk (#3645)
emilymye Jun 16, 2020
d09d7f3
add desc to schema for google_compute_instance_template (#3648)
edwardmedia Jun 16, 2020
a60281a
add desc to schema for google_cloudfunctions_function (#3651)
edwardmedia Jun 16, 2020
59c91ee
Add custom access level to access context manager (#3653)
venkykuberan Jun 16, 2020
7d4d1ef
attempt fixing quota issues (#3652)
megan07 Jun 16, 2020
ddc49f2
add desc to schema for google_composer_environment (#3654)
edwardmedia Jun 16, 2020
c018203
add sweepable names (#3650)
emilymye Jun 17, 2020
1adbeab
add desc to schema for google_compute_project_metadata (#3656)
edwardmedia Jun 17, 2020
c6e5ada
Add note on why a user would want bigquery_dataset_iam (#3657)
slevenick Jun 17, 2020
6156c96
add desc to schema for google_compute_region_instance_group_manager (…
edwardmedia Jun 17, 2020
cfea6e4
Per instance config delete underlying instance (#3635)
slevenick Jun 17, 2020
c421a17
enable google_dns_policy to accept network id (#3636)
edwardmedia Jun 17, 2020
8d0cdcb
send empty/false for import/export custom routes (#3661)
emilymye Jun 17, 2020
a242066
make different names for dataproc cluster test (#3660)
emilymye Jun 17, 2020
4105e83
add the ability to specify app engine database type (#3646)
prodaccess Jun 17, 2020
56668d9
add desc to schema for google_endpoints_service (#3667)
edwardmedia Jun 17, 2020
e17c503
Update instance docs to specify that tags are network tags (#3557)
dmyerscough Jun 18, 2020
94dcd5f
add desc to schema for google_bigquery_table (#3642)
edwardmedia Jun 18, 2020
0812d76
add poll for 404 reads after creating app eng firewall rule (#3663)
emilymye Jun 18, 2020
3ea54d8
Descriptions storage bucket object (#3672)
trodge Jun 18, 2020
88be57a
Add Notebooks API Support (#3620)
gogasca Jun 18, 2020
8f2b8c0
Descriptions runtimeconfig variable (#3674)
trodge Jun 18, 2020
87ccc45
Remove attr checks from GCS test that use hash (#3684)
rileykarson Jun 18, 2020
acd6101
add desc to schema for google_bigtable_gc_policy (#3678)
edwardmedia Jun 18, 2020
bf7303b
add desc to schema for google_compute_attached_disk (#3679)
edwardmedia Jun 18, 2020
4fc90d5
Add SHARED_LOADBALANCER_VIP as option for google_compute_address.purp…
edwardmedia Jun 18, 2020
897f457
Add memcache, gke release channel, sql ca cert (#3682)
slevenick Jun 18, 2020
9a5c405
Remove too long properties (#3690)
slevenick Jun 18, 2020
616cb55
Descriptions storage bucket acl (#3673)
trodge Jun 19, 2020
068120a
add desc to schema for google_compute_instance_group_manager (#3655)
edwardmedia Jun 19, 2020
1d69538
Descriptions usage export bucket (#3688)
trodge Jun 19, 2020
7dc83fe
fix typo (#3369)
danawillow Jun 19, 2020
5cd3ff4
Added support for redis instance data source (#3623)
MounirKaroudEV Jun 19, 2020
d3ef0dc
Fetch Google netblock from JSON on gstatic domain (#3689)
bcadiot Jun 19, 2020
59b275a
add desc to schema for google_compute_instance (conflict resolved) (#…
edwardmedia Jun 19, 2020
37c26f5
Fix check for serial port disabled (#3695)
KonradSchieban Jun 19, 2020
a8d37ec
add desc to schema for google_dataflow_job (#3644)
edwardmedia Jun 22, 2020
014a65f
documentation: resource composer_environment typo (#3697)
slevenick Jun 22, 2020
52faa9a
Add mode enum and scale down controls for Compute AutoScaler (#3693)
rajatvig Jun 23, 2020
8afe4ad
add desc to schema for 2 org iam resources (#3681)
edwardmedia Jun 23, 2020
118b671
add desc to schema for google_monitoring_dashboard (#3677)
edwardmedia Jun 23, 2020
de3d8aa
add desc schema for google_app_engine_application (#3641)
edwardmedia Jun 23, 2020
73c96e8
add desc to schema for google_dataproc_job (#3664)
edwardmedia Jun 23, 2020
170953a
add desc to schema for google_project_iam_custom_role (#3683)
edwardmedia Jun 24, 2020
fa3480e
add desc to schema for 3 compute resources (#3680)
edwardmedia Jun 24, 2020
a3b524b
add desc to schema for google_dataproc_cluster (#3662)
edwardmedia Jun 24, 2020
1befd05
add desc to schema for google_folder_organization_policy, google_orga…
edwardmedia Jun 24, 2020
224ce38
add desc to schema for logging resources (#3671)
edwardmedia Jun 24, 2020
f78a0a9
Add cloud identity group (#3696)
megan07 Jun 24, 2020
266dd31
add kms key ring import job (#3702)
megan07 Jun 24, 2020
9e515f3
Add mode and scaleDownControls for Compute Region AutoScaler (#3701)
rajatvig Jun 24, 2020
0b9f22f
resource.Test to vcrTest (#3705)
slevenick Jun 24, 2020
c9d521a
remove rambleraptor from random assignee rotation (#3704)
danawillow Jun 24, 2020
cf7ab99
Descriptions runtimeconfig config (#3675)
trodge Jun 24, 2020
4c4c742
Descriptions container registry (#3676)
trodge Jun 24, 2020
ba0991a
renaming datasource files #2876 (#3426)
jayolmos Jun 25, 2020
b50c775
add examples for L7-XLB Header & Parameter Based Routing (#3703)
edwardmedia Jun 25, 2020
4e78de7
Monitoring add content type (#3706)
tishen25 Jun 25, 2020
c6fa47d
promote database_encryption to ga (#3699)
nadzir Jun 25, 2020
4364e41
Add hourly partitioning to bigquery table (upstream PR) (#3707)
emilymye Jun 25, 2020
83c0a91
Another typo in contributor checking script. (#3708)
nat-henderson Jun 25, 2020
bfffc4c
Add longer timeouts to support polling on VCR builds (#3712)
slevenick Jun 26, 2020
9c9f18d
added descriptions and formatted (#3686)
trodge Jun 26, 2020
82d58ca
Add new resource google_folder_iam_audit_config. (#3698)
xingao267 Jun 26, 2020
30c22a2
added descriptions (#3649)
trodge Jun 26, 2020
ba8e9c5
Autoformat with terrafmt (#3716)
megan07 Jun 26, 2020
c653150
add cloud identity data sources (#3714)
megan07 Jun 26, 2020
5c0368e
Fix absoluteDomainSuppress to check more than one domain (#3711)
c2thorn Jun 26, 2020
67fbfcb
Make workload_metadata_config computed (#3713)
c2thorn Jun 26, 2020
f435e1d
add networking_mode to google_container_cluster (#3709)
megan07 Jun 27, 2020
1e2209f
fix compute image datasource link (#3719)
c2thorn Jun 29, 2020
6be59d3
Service is part of the URL and therefore is required. (#3720)
nat-henderson Jun 30, 2020
b5ec8e4
remove `path_matchers` conflicts (#3722)
c2thorn Jun 30, 2020
3d63dad
Guess at config_id value so that updates don't break downstream resou…
nat-henderson Jun 30, 2020
aa27fde
Use different port in global FR test (#3725)
c2thorn Jul 1, 2020
711a7c9
Project warning (#3726)
c2thorn Jul 1, 2020
d355524
add os config patch deployment resource (#3721)
megan07 Jul 6, 2020
31f5d30
Add kms key field to Artifact Registry repository. (#3658)
KaylaNguyen Jul 6, 2020
c0015b6
make iam condition ga (#3729)
megan07 Jul 7, 2020
12cd7c4
added support for shielded nodes in container (#3639)
svpace Jul 7, 2020
f123b00
Use better role for secrets in docs. (#3730)
nat-henderson Jul 7, 2020
065e30f
handle notfound error for runtime config (#3731)
megan07 Jul 7, 2020
6cd7da9
Created game server rollout data source (#3727)
edwardmedia Jul 8, 2020
03871ca
make database_encryption updateable (#3728)
megan07 Jul 8, 2020
d432562
UseIpAliases should be true when not set and the ip_allocation_policy…
megan07 Jul 8, 2020
c45143c
fix memcache_parameters (#3733)
megan07 Jul 8, 2020
4542b2a
Support BigQuery custom schema's for external data using CSV / NDJSON…
ffung Jul 9, 2020
04b4df3
remove Emily from random assignee rotation and add Megan (#3736)
danawillow Jul 9, 2020
301a88f
Add import example (#3737)
oldskool Jul 10, 2020
d2c99f8
Auto-generate the Cloud IoT Core Device resource (#3637)
ferrarimarco Jul 13, 2020
076c3c2
add datafusion versioning for terraform (#3734)
connorlwilkes Jul 14, 2020
5cc4d2f
New data source for oidc tokens (#3739)
danawillow Jul 14, 2020
a259fd1
use e2-medium machines in gke examples (#3744)
danawillow Jul 14, 2020
5f7d36b
update google_compute_image id to match its resource (#3746)
edwardmedia Jul 15, 2020
f7ba084
add data source for google_sql_database_instance (#3738)
edwardmedia Jul 15, 2020
99dfcce
fix TestAccStorageBucket_encryption (#3747)
danawillow Jul 16, 2020
c67eb95
Add org read permission to github token (#3752)
slevenick Jul 16, 2020
d1dd8a2
add diff suppress for big query table schema (#3751)
megan07 Jul 16, 2020
34fa267
add os config guest policies (#3743)
megan07 Jul 16, 2020
cc9f219
Remove false link (#3757)
c2thorn Jul 20, 2020
4fb64e7
Additional documentation about how to easily get started with credent…
nat-henderson Jul 20, 2020
ce8e493
Add the Go 1.13 runtime (#3753)
slevenick Jul 20, 2020
0d203da
The server doesn't send back a block if this value is false - assume …
nat-henderson Jul 20, 2020
4a6bc03
default_snat_status attribute added (#3758)
venkykuberan Jul 21, 2020
f9a00a9
Add support for Cloud Asset feeds (#3750)
apsureda Jul 21, 2020
377c4f2
separate default version update from release channel test (#3762)
megan07 Jul 21, 2020
5d4e300
add folder_id as output to folder datasource and resource (#3763)
megan07 Jul 21, 2020
3e9e628
several fixes for notebook instance (#3761)
danawillow Jul 21, 2020
cf5a68c
add tiers and nfs_export_options (#3766)
megan07 Jul 22, 2020
f4c8be5
Monitoring metric descriptor (#3754)
tishen25 Jul 22, 2020
e86a75b
fix an example for google_compute_router_nat (#3768)
edwardmedia Jul 22, 2020
6876c94
Tests flake due to creation race condition (#3770)
slevenick Jul 22, 2020
e0fdaad
Add namespacing on metric descriptor so tests can run in parallel (#3…
slevenick Jul 22, 2020
dbe11d0
Add sibling import to cloudidentity (#3769)
rileykarson Jul 22, 2020
52bfa13
Remove fingerprint check from Image test (#3773)
rambleraptor Jul 22, 2020
3342f32
Add Computed to snat, mark sub-field Required (#3765)
rileykarson Jul 22, 2020
8576220
Add nil check on bq destination array contents (#3774)
slevenick Jul 22, 2020
0b85c06
Add skip enum value generation (#3767)
slevenick Jul 23, 2020
233d03c
Upstream changes to google_compute_global_network_endpoint docs (#3776)
rileykarson Jul 23, 2020
d861240
Add explicit provider to beta example (#3779)
slevenick Jul 23, 2020
95b7617
Fix description for attribute import_custom_routes (#3777)
rileykarson Jul 23, 2020
746c913
Add error checking to location load in endpoints service (#3781)
slevenick Jul 23, 2020
9d02849
Add the `google_dataflow_flex_template_job` resource (#3772)
rileykarson Jul 24, 2020
986d8a2
Backend service support for internet NEG backend (#3782)
slevenick Jul 25, 2020
ca88601
Bump google_project timeout (#3784)
rileykarson Jul 27, 2020
debc072
remove a confusing form of dataset (#3778)
edwardmedia Jul 27, 2020
aaed078
Make defaultClientScopes publicly accessible (#3785)
jcanseco Jul 27, 2020
8e10eec
AD Domain resource added (#3735)
venkykuberan Jul 28, 2020
328ef9b
add firewall logging controls (#3780)
megan07 Jul 28, 2020
a6782fc
Add support for cloudrun ports (#3748)
dj80hd Jul 28, 2020
99c75c0
Update Google service account docs to display correct public key type…
onlydole Jul 28, 2020
f0d13a2
Update Bigtable Num of Clusters Block Docs (#3792)
ryanyuan Jul 29, 2020
cc23ecf
Use proper prefix inside router_interface test (#3795)
rileykarson Jul 29, 2020
acb73ca
Fix bug: diff being detected for source_repo_repository even when the…
jcanseco Jul 29, 2020
6611db5
Fix colon in doc notes (#3796)
c2thorn Jul 29, 2020
50e59be
Add tests for DICOM store pubsub topic removal. (#3442)
xingao267 Jul 30, 2020
de0746e
Mask GKE Sandbox-specific labels and taints (#3749)
impl Jul 31, 2020
d52ce67
Set context early on in LoadAndValidate to prevent NPE (#3800)
slevenick Jul 31, 2020
a92d6fa
Add a random string to ad directory so tests can be run in parallel (…
slevenick Jul 31, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 24 additions & 3 deletions .ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,21 @@ a) make no changes to any downstream and fail
or
b) atomically update every downstream to a fast-forward state that represents the appropriate HEAD as of the beginning of the run

It's possible, if we assume the worst, for a job to be cancelled or fail in the middle of pushing downstreams in a transient way. The sorts of failures that happen at scale - lightning strikes a datacenter or some other unlikely misfortune happens. This has a chance to cause a hiccup in the downstream history, but isn't dangerous. If that happens, the sync tags may need to be manually updated to sit at the same commit, just before the commit which needs to be generated. Then, the downstream pusher workflow will need to be restarted.
#### Something went wrong!
Don't panic - this is all quite safe. :)

It's possible for a job to be cancelled or fail in the middle of pushing downstreams in a transient way. The sorts of failures that happen at scale - lightning strikes a datacenter or some other unlikely misfortune happens. This has a chance to cause a hiccup in the downstream history, but isn't dangerous. If that happens, the sync tags may need to be manually updated to sit at the same commit, just before the commit which needs to be generated. Then, the downstream pusher workflow will need to be restarted.

Updating the sync tags is done like this:
First, check their state: `git fetch origin && git rev-parse origin/tpg-sync origin/tpgb-sync origin/ansible-sync origin/inspec-sync origin/tf-oics-sync origin/tf-conv-sync` will list the commits for each of the sync tags.
If you have changed the name of the `googlecloudplatform/magic-modules` remote from `origin`, substitute that name instead.
In normal, steady-state operation, these tags will all be identical. When a failure occurs, some of them may be one commit ahead of the others. It is rare for any of them to be 2 or more commits ahead of any other. If they are not all equal, and there is no pusher task currently running, this means you need to reset them by hand. If they are all equal, skip the next step.

Second, find which commit caused the error. This will usually be easy - cloud build lists the commit which triggered a build, so you can probably just use that one. You need to set all the sync tags to the parent of that commit. Say the commit which caused the error is `12345abc`. You can find the parent of that commit with `git rev-parse 12345abc~` (note the `~` suffix). Some of the sync tags are likely set to this value already. For the remainder, simply perform a git push. Assuming that the parent commit is `98765fed`, that would be `git push origin 98765fed:tf-conv-sync`.

If you are unlucky, there may be open PRs - this only happens if the failure occurred during the ~5 second period surrounding the merging of one of the downstreams. Close those PRs before proceeding to the final step.

Click "retry" on the failed job in Cloud Build. Watch the retried job and see if it succeeds - it should! If it does not, the underlying problem may not have been fixed.

## Deploying the pipeline
The code on the PR's branch is used to plan actions - no merge is performed.
Expand All @@ -46,8 +60,15 @@ If you are making changes to the containers, your changes will not apply until t

Pausing the pipeline is done in the cloud console, by setting the downstream-builder trigger to disabled. You can find that trigger [here](https://console.cloud.google.com/cloud-build/triggers/edit/f80a7496-b2f4-4980-a706-c5425a52045b?project=graphite-docker-images)

## Design choices & tradeoffs
* The downstreams share some setup code in common - especially TPG and TPGB. We violated the DRY principle by writing separate workflows for each repo. In practice, this has substantially reduced the amount of code - the coordination layer above the two repos was larger than the code saved by combining them. We also increase speed, since each Action runs separately.

## Dependency change handbook:
If someone (often a bot) creates a PR which updates Gemfile or Gemfile.lock, they will not be able to generate diffs. This is because bundler doesn't allow you to run a binary unless your installed gems exactly match the Gemfile.lock, and since we have to run generation before and after the change, there is no possible container that will satisfy all requirements.

The best approach is
* Build the `downstream-generator` container locally, with the new Gemfile and Gemfile.lock. This will involve hand-modifying the Dockerfile to use the local Gemfile/Gemfile.lock instead of wget from this repo's `master` branch. You don't need to check in those changes.
* When that container is built, and while nothing else is running in GCB (wait, if you need to), push the container to GCR, and as soon as possible afterwards, merge the dependency-changing PR.

## Historical Note: Design choices & tradeoffs
* The downstream push doesn't wait for checks on its PRs against downstreams. This may inconvenience some existing workflows which rely on the downstream PR checks. This ensures that merge conflicts never come into play, since the downstreams never have dangling PRs, but it requires some up-front work to get those checks into the differ. If a new check is introduced into the downstream Travis, we will need to introduce it into the terraform-tester container.
* The downstream push is disconnected from the output of the differ (but runs the same code). This means that the diff which is approved isn't guaranteed to be applied *exactly*, if for instance magic modules' behavior changes on master between diff generation and downstream push. This is also intended to avoid merge conflicts by, effectively, rebasing each commit on top of master before final generation is done.
* Imagine the following situation: PR A and PR B are opened simultaneously. PR A changes the copyright date in each file to 2020. PR B adds a new resource. PR A is merged seconds before PR B, so they are picked up in the same push-downstream run. The commit from PR B will produce a new file with the 2020 copyright date, even though the diff said 2019, since PR A was merged first.
Expand Down
39 changes: 0 additions & 39 deletions .ci/acceptance-tests/ansible-integration.sh

This file was deleted.

12 changes: 0 additions & 12 deletions .ci/acceptance-tests/ansible-integration.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .ci/acceptance-tests/inspec-integration.sh

This file was deleted.

13 changes: 0 additions & 13 deletions .ci/acceptance-tests/inspec-integration.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .ci/acceptance-tests/inspec-post-approve.sh

This file was deleted.

13 changes: 0 additions & 13 deletions .ci/acceptance-tests/inspec-post-approve.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .ci/acceptance-tests/inspec-post-merge.sh

This file was deleted.

13 changes: 0 additions & 13 deletions .ci/acceptance-tests/inspec-post-merge.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .ci/acceptance-tests/inspec-vcr.sh

This file was deleted.

Loading