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

Adding google_compute_service_attachment data source #9887

Closed
wants to merge 166 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
9ce3ea4
service attachment
sanmaym Jan 7, 2024
3ffaf94
added tests
sanmaym Jan 8, 2024
811f6fc
added tests
sanmaym Jan 8, 2024
0f45dff
added documentation
sanmaym Jan 27, 2024
d09ab0d
made some documentation changes
sanmaym Jan 27, 2024
080cf05
made some documentation changes
sanmaym Jan 27, 2024
979c6f4
added service attachment
sanmaym Jan 27, 2024
981645a
added missing resource in test
sanmaym Jan 27, 2024
be2b039
added missing resource in test
sanmaym Jan 27, 2024
b49fcc2
added missing resource in test
sanmaym Jan 27, 2024
697e79b
added missing resource in test
sanmaym Jan 27, 2024
af01df0
added missing resource in test
sanmaym Jan 27, 2024
fd455b4
added missing resource in test
sanmaym Jan 27, 2024
8783c55
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
cd8d893
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
27f65fd
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
0565c51
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
15af70e
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
46bcbbf
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
cd1d77e
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
eb78403
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
ad254a7
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
957fc42
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
546bdfc
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 6, 2024
9f01e08
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 6, 2024
af97f8d
Merge branch 'main' of https://github.com/GoogleCloudPlatform/magic-m…
sanmaym Feb 11, 2024
e843755
fetched latest from tpg
sanmaym Feb 11, 2024
d75985c
removed tpgtools
sanmaym Feb 11, 2024
92e0ccb
added new tpgtools
sanmaym Feb 12, 2024
b725e7d
Merge branch 'main' of https://github.com/sanmaym/magic-modules
sanmaym Feb 12, 2024
f533fe8
Added document explaining best practices for resolving permadiffs (#9…
melinath Feb 12, 2024
97a9757
Add Cai2Hcl converter for regional ComputeBackendService (#9916)
amirkaromashkin Feb 12, 2024
5d5a58a
Allow GCE apis to handle validations for provisionedIops and provisio…
harshulsoni Feb 13, 2024
b630660
Add Cloud Deploy CustomTargetType resource (#9950)
mattsanta Feb 13, 2024
163a897
fix forceNew on resource_manager_tags (#9963)
edwardmedia Feb 13, 2024
4eb28f2
Make `TestAccAlloydbCluster` tests not verify `reconciling` on import…
SarahFrench Feb 13, 2024
1f61383
Add headers to address https://github.com/hashicorp/terraform-provide…
SarahFrench Feb 13, 2024
ffb7cd3
Add support for `enable_relay` field to `advanced_datapath_observabil…
siwiutki Feb 13, 2024
894522a
[#15779] Adds the google_network_security_security_profile_group reso…
LucaPrete Feb 13, 2024
18666fb
add featureregistry field support for featureview (#9967)
kkram01 Feb 13, 2024
695d868
Posture1 (#9976)
snpd25 Feb 13, 2024
a81b0c6
Adding support for reject_duplicate_message flag while creating hl7v2…
nidhi0710 Feb 13, 2024
18072d2
Make notebooks wait for active state and enable stopping/starting ins…
bcreddy-gcp Feb 13, 2024
1d3073d
Add desired state to workbench instances. (#9945)
bcreddy-gcp Feb 13, 2024
379d462
Promote `user_ip_request_headers` field on `google_compute_security_p…
SarahFrench Feb 13, 2024
781b533
Expose version_id on google_cloudfunctions_function (#9969)
drcapulet Feb 14, 2024
2749696
Fix documentation notes for google_compute_instance_group, google_com…
Cheriit Feb 14, 2024
5efc7e7
Add BBBmau to reviewer rotation (#9929)
SarahFrench Feb 14, 2024
eba7c66
Add tf-test- prefix to gkehub2 tests (#9524)
rileykarson Feb 14, 2024
5a6abe3
AppAttest and PlayIntegrity for App Check (#9970)
rainshen49 Feb 14, 2024
56fb584
Use a different service name for TestAccFirebaseAppCheckServiceConfig…
rainshen49 Feb 15, 2024
e06ba19
Add Preference Set resource (#9698)
slevenick Feb 15, 2024
cacc4c8
[#16607] Fix: support iamMember (i.e. for WIF ids) in big query datas…
LucaPrete Feb 15, 2024
1253916
Fix issues with vcr status and logs (#9987)
trodge Feb 15, 2024
44e139b
Netapp volumes: Add restoreParameters (#9918)
okrause Feb 15, 2024
a7be02a
Fix updating NIC stack type for google compute instance (#9983)
Timus1712 Feb 15, 2024
5c294ad
Separated review requests into a github action (#9992)
melinath Feb 15, 2024
b8b1a94
Corrected request-reviewer permissions to be at the job level (#9995)
melinath Feb 15, 2024
cddaf2f
Fixed path to magician binary (#9996)
melinath Feb 16, 2024
95916e9
Added missing GITHUB_TOKEN env var (#9997)
melinath Feb 16, 2024
0c871aa
Add GHA to run TeamCity config tests on PRs editing `.teamcity` (#9954)
SarahFrench Feb 16, 2024
8c99637
additional fixes for stateful ips (#9965)
askubis Feb 16, 2024
e0bbf63
Fix path in TeamCity GHA (#10003)
SarahFrench Feb 16, 2024
04ddc21
Add custom domain configuration for Looker (#9936)
nkhasuntsev Feb 16, 2024
a3f44ce
Fix doc typos (#10002)
drandell Feb 16, 2024
69bbb46
make poilcy sets and policies required field. (#10001)
snpd25 Feb 16, 2024
a7354eb
Temporary fix TestAccIapAppEngineServiceIamBindingGenerated tests (#1…
bryan0515 Feb 16, 2024
3577ce3
Add two output-only fields (`membership_id`, `membership_location`) u…
jiayimeow Feb 16, 2024
25d06fe
shielded instance config for Workbench instances (#9622)
bcreddy-gcp Feb 16, 2024
aa4dd13
Add comment to skip_sweeper for datacatalog_taxonomy (#9924)
hao-nan-li Feb 16, 2024
ef76356
Stop acceptance test deleting in-use service account (#10010)
SarahFrench Feb 20, 2024
41f37f5
Notebook instances output tags by default (#10006)
bcreddy-gcp Feb 20, 2024
4b1359d
Patch 14 (#10008)
mpsenn Feb 20, 2024
aeba6c4
Add support for custom containers for workbench instances (#9973)
bcreddy-gcp Feb 20, 2024
5ddf440
App Check reCAPTCHA V3 and reCAPTCHA Enterprise providers (#9991)
rainshen49 Feb 20, 2024
a9f2961
Removed GH token from VCR nightly job (#10015)
shuyama1 Feb 20, 2024
02e7199
fixes: permadiff issue if event trigger region is not specified (#9989)
kumadee Feb 20, 2024
f25a214
Fix GKE front matter, bad field docs (#10018)
rileykarson Feb 20, 2024
3e85823
added default value for minPortsPerVM field at "google_compute_router…
maxi-cit Feb 21, 2024
7369959
add newline removal bash command in guidelines (#9734)
BBBmau Feb 21, 2024
6675072
Update hashicorp/terraform-plugin-framework, hashicorp/terraform-plug…
SarahFrench Feb 21, 2024
b7e1e25
Adding Data Source Forwarding Rules (#10004)
jesse-l Feb 21, 2024
41c5863
Fix broken terraform datasource google_compute_machine_types example …
rwblokzijl Feb 21, 2024
6aba2a9
Add check for Environment proto field before accessing in Dataflow pr…
jrmccluskey Feb 21, 2024
f569926
Add comments to skipped sweeper (#10023)
hao-nan-li Feb 21, 2024
fcf7d34
Add comments for skipped sweepers (#10024)
hao-nan-li Feb 21, 2024
580624e
C3 version schema (#9986)
spapi17 Feb 21, 2024
343ff46
Add Resource Manager Tags support to 'google_container_cluster' (#9531)
maxi-cit Feb 21, 2024
37fb2eb
Add volume replication support for Google Cloud NetApp Volumes (#9816)
okrause Feb 21, 2024
d9c7871
Ensured that beta runs in TeamCity use only beta paths (#10025)
melinath Feb 21, 2024
f45d7c3
Adds description for default value of `cpuidle` field (#10005)
yanweiguo Feb 22, 2024
f60f2e6
Add location field in DNS authorization resource. (#9968)
Hamzawy63 Feb 22, 2024
1e6f874
Add discoveryengine service (#10017)
roaks3 Feb 22, 2024
a58f0e2
Add validations for Composer 2/3 only fields (#9917)
spapi17 Feb 22, 2024
c4260af
Made TestAccContainerCluster_withGatewayApiConfig error regex more fo…
melinath Feb 22, 2024
1470d00
Add ceritificateManagerCertificates field to ComputeRegionTargetHttps…
Hamzawy63 Feb 23, 2024
326caf3
Added missing quote marks to TEST_PREFIX (#10035)
melinath Feb 23, 2024
77453ca
Promote enable_confidential_storage from beta to GA (#9993)
Sneha-at Feb 23, 2024
39bd019
Add IAM resources for Cloud Deploy Target (#9927)
nownabe Feb 23, 2024
0ce23ad
Add comments to skipped sweepers (#10028)
hao-nan-li Feb 23, 2024
7beb4e6
Add sweepers for gkebackupPlan and restorePlan (#10026)
hao-nan-li Feb 23, 2024
8365dfa
add `remote_function_options` to bigquery_routine (#9893)
obada-ab Feb 23, 2024
7c2fc27
Adding documentaiton build_worker_pool (#10022)
NA2047 Feb 23, 2024
5599650
docs: fix import example in google_project_iam (#10007)
yuki0920 Feb 23, 2024
b361a7b
ScottSuarez not on vacation anymore (#10052)
ScottSuarez Feb 26, 2024
14a4129
Promote (R)IGM.AllInstancesConfig to V1 (#9964)
askubis Feb 26, 2024
c3ce700
Promote metric settings in compute region autoscaler to GA (#10045)
pksunkara Feb 26, 2024
b449d45
Fixed flakiness in TestAccDataPipelinePipeline_dataPipelinePipelineEx…
melinath Feb 26, 2024
7faaacc
Retry delete network step while creating a google project. (#10046)
ajaybgunjal1 Feb 26, 2024
3e13564
Adding the namespace_labels field to the GKE Hub Scope resource (#9972)
hosseingolestani Feb 26, 2024
76474ec
Support connectivity fields for Composer 3 (#9889)
spapi17 Feb 26, 2024
9f8d2aa
Fix resource name to have sweepable prefix (#9984)
SarahFrench Feb 27, 2024
b1f7bf9
doc(spanner): update documents to have example for IAM conditions use…
rahul2393 Feb 27, 2024
aee8d1d
Promote Cloud Deploy Automation to GA (#10043)
ChrisGe4 Feb 27, 2024
0a3c61d
Add cloudquota service (#10063)
roaks3 Feb 27, 2024
d4a4dc2
TeamCity: Add validating GHAs that check Kotlin files listing service…
BBBmau Feb 27, 2024
ff1142a
Fixed `runtime` in app engine tests (#10047)
shuyama1 Feb 27, 2024
47d6f3b
Fix google_notebooks_instance labels not being able to be updated (#9…
bcreddy-gcp Feb 27, 2024
0615861
Add IAM resources for Cloud Deploy Custom Target Type (#10051)
mattsanta Feb 28, 2024
78bdab3
Remove unneeded cache step in TeamCity-related GHAs, lint GHA files (…
SarahFrench Feb 28, 2024
d3bed7d
Add output to identifiers, check for project as well as projectsId (#…
slevenick Feb 28, 2024
7bec87d
remove nickelliot/zli82016 from vacation reviewers (#10080)
NickElliot Feb 28, 2024
77cf5eb
Update enrolled_teams.yml (#10082)
melinath Feb 28, 2024
01aba8f
Fix resource_bigquery_dataset ID validation (#10027)
wj-chen Feb 28, 2024
92183ab
Prevent duplicate entries in vcr results (#10068)
trodge Feb 28, 2024
2c4db32
Split github tokens (#9988)
trodge Feb 28, 2024
0877c4f
Instance lifecycle policy default action on failure implementation (#…
askubis Feb 29, 2024
0518fd9
Add wait in `TestAccAppEngineStandardAppVersion_update` test to avoid…
SarahFrench Feb 29, 2024
025526f
Set GITHUB_TOKEN environment variable for hub (#10091)
trodge Feb 29, 2024
fd6d4b7
fix forceNew on master_ipv4_cidr_block and private_endpoint_subnetwor…
yiyinglovecoding Feb 29, 2024
03df3b2
make go-converted YAML compatible with go compiler (#10033)
c2thorn Feb 29, 2024
5d86b61
Revert "Promote metric settings in compute region autoscaler to GA" (…
shuyama1 Mar 1, 2024
0ac8f52
Add type field to DNS authorization reosurce (#10030)
Hamzawy63 Mar 1, 2024
59e75bc
TeamCity: Refactor config tests (#9956)
SarahFrench Mar 1, 2024
8a90833
Update `teamcity-diff-check` script and GHAs to have more explicit ca…
SarahFrench Mar 1, 2024
072343e
TeamCity: enable ad hoc triggers of teamcity-diff-check GHA (#10099)
SarahFrench Mar 1, 2024
24fe61b
service attachment
sanmaym Jan 7, 2024
e5c0b9b
added tests
sanmaym Jan 8, 2024
5d98e2b
added tests
sanmaym Jan 8, 2024
33d0b0f
added documentation
sanmaym Jan 27, 2024
cb69d10
made some documentation changes
sanmaym Jan 27, 2024
b997d72
made some documentation changes
sanmaym Jan 27, 2024
10f9161
added missing resource in test
sanmaym Jan 27, 2024
4330897
added missing resource in test
sanmaym Jan 27, 2024
f2286b4
added missing resource in test
sanmaym Jan 27, 2024
6dc8655
added missing resource in test
sanmaym Jan 27, 2024
9031682
added missing resource in test
sanmaym Jan 27, 2024
bd9f0c2
added missing resource in test
sanmaym Jan 27, 2024
929963d
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
7949640
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
6e8f7de
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
287e510
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
ecaad33
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
8bdbe71
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
88f9e45
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
863e8b7
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
1ceb8c6
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
2c92240
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 4, 2024
1ea8c04
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 6, 2024
21c83b7
Update mmv1/third_party/terraform/services/compute/data_source_comput…
sanmaym Feb 6, 2024
2434839
fetched latest from tpg
sanmaym Feb 11, 2024
6a80a1c
added new tpgtools
sanmaym Feb 12, 2024
adaafdb
removed tpgtools
sanmaym Feb 11, 2024
7d8b1d8
Revert "Update mmv1/third_party/terraform/services/compute/data_sourc…
sanmaym Feb 12, 2024
ce6ceee
Merge branch 'main' of https://github.com/sanmaym/magic-modules
sanmaym Mar 1, 2024
b3b6558
test file
sanmaym Mar 1, 2024
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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .ci/gcb-community-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: community-checker
secretEnv: ["GITHUB_TOKEN", "GENERATE_DIFFS_TRIGGER"]
secretEnv: ["GITHUB_TOKEN_MAGIC_MODULES", "GENERATE_DIFFS_TRIGGER"]
timeout: 8000s
args:
- "community-checker"
Expand All @@ -74,7 +74,7 @@ steps:

availableSecrets:
secretManager:
- versionName: projects/673497134629/secrets/github-magician-token/versions/latest
env: GITHUB_TOKEN
- versionName: projects/673497134629/secrets/github-magician-token-generate-diffs-magic-modules/versions/latest
env: GITHUB_TOKEN_MAGIC_MODULES
- versionName: projects/673497134629/secrets/ci-trigger-generate-diffs/versions/latest
env: GENERATE_DIFFS_TRIGGER
6 changes: 3 additions & 3 deletions .ci/gcb-contributor-membership-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ steps:
entrypoint: "/workspace/.ci/scripts/go-plus/magician/exec.sh"
id: contributor-membership-checker
secretEnv:
["GITHUB_TOKEN", "GENERATE_DIFFS_TRIGGER", "COMMUNITY_CHECKER_TRIGGER"]
["GITHUB_TOKEN_MAGIC_MODULES", "GENERATE_DIFFS_TRIGGER", "COMMUNITY_CHECKER_TRIGGER"]
timeout: 8000s
args:
- "membership-checker"
Expand All @@ -75,8 +75,8 @@ steps:

availableSecrets:
secretManager:
- versionName: projects/673497134629/secrets/github-magician-token/versions/latest
env: GITHUB_TOKEN
- versionName: projects/673497134629/secrets/github-magician-token-generate-diffs-magic-modules/versions/latest
env: GITHUB_TOKEN_MAGIC_MODULES
- versionName: projects/673497134629/secrets/ci-trigger-generate-diffs/versions/latest
env: GENERATE_DIFFS_TRIGGER
- versionName: projects/673497134629/secrets/ci-trigger-community-checker/versions/latest
Expand Down
36 changes: 19 additions & 17 deletions .ci/gcb-generate-diffs-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tpg-head
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
waitFor: ["build-magician-binary"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -86,7 +86,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tpg-base
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
waitFor: ["build-magician-binary"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -99,7 +99,7 @@ steps:

- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
id: tpgb-head
waitFor: ["build-magician-binary"]
env:
Expand All @@ -114,7 +114,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tpgb-base
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
waitFor: ["build-magician-binary"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -128,7 +128,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tgc-head
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
waitFor: ["build-magician-binary"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -142,7 +142,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tgc-base
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
waitFor: ["build-magician-binary"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -156,7 +156,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tf-oics-head
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
waitFor: ["build-magician-binary"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -170,7 +170,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: tf-oics-base
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS"]
waitFor: ["build-magician-binary"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -184,7 +184,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
id: diff
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS", "GITHUB_TOKEN_MAGIC_MODULES"]
args:
- 'generate-comment'
env:
Expand All @@ -198,7 +198,7 @@ steps:
id: tgc-test
allowFailure: true
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_MAGIC_MODULES"]
waitFor: ["tpgb-head", "tpgb-base", "tgc-head", "tgc-base"]
args:
- 'test-tgc'
Expand All @@ -210,7 +210,7 @@ steps:
id: tgc-test-integration
entrypoint: '/workspace/.ci/scripts/go-plus/tgc-tester-integration/test_tgc_integration.sh'
allowFailure: true
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_MAGIC_MODULES"]
waitFor: ["tpgb-head", "tpgb-base", "tgc-head", "tgc-base"]
env:
- TEST_PROJECT=$_VALIDATOR_TEST_PROJECT
Expand All @@ -229,7 +229,7 @@ steps:
id: tpgb-test
allowFailure: true
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_MAGIC_MODULES"]
waitFor: ["tpgb-head", "tpgb-base"]
args:
- 'test-tpg'
Expand All @@ -242,7 +242,7 @@ steps:
id: tpg-test
allowFailure: true
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_MAGIC_MODULES"]
waitFor: ["tpg-head", "tpg-base"]
args:
- 'test-tpg'
Expand All @@ -254,7 +254,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/go-plus'
id: gcb-tpg-vcr-test
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN", "GOOGLE_BILLING_ACCOUNT", "GOOGLE_CUST_ID", "GOOGLE_FIRESTORE_PROJECT", "GOOGLE_IDENTITY_USER", "GOOGLE_MASTER_BILLING_ACCOUNT", "GOOGLE_ORG", "GOOGLE_ORG_2", "GOOGLE_ORG_DOMAIN", "GOOGLE_PROJECT", "GOOGLE_PROJECT_NUMBER", "GOOGLE_SERVICE_ACCOUNT", "SA_KEY", "GOOGLE_PUBLIC_AVERTISED_PREFIX_DESCRIPTION", "GOOGLE_TPU_V2_VM_RUNTIME_VERSION"]
secretEnv: ["GITHUB_TOKEN_DOWNSTREAMS", "GITHUB_TOKEN_MAGIC_MODULES", "GOOGLE_BILLING_ACCOUNT", "GOOGLE_CUST_ID", "GOOGLE_FIRESTORE_PROJECT", "GOOGLE_IDENTITY_USER", "GOOGLE_MASTER_BILLING_ACCOUNT", "GOOGLE_ORG", "GOOGLE_ORG_2", "GOOGLE_ORG_DOMAIN", "GOOGLE_PROJECT", "GOOGLE_PROJECT_NUMBER", "GOOGLE_SERVICE_ACCOUNT", "SA_KEY", "GOOGLE_PUBLIC_AVERTISED_PREFIX_DESCRIPTION", "GOOGLE_TPU_V2_VM_RUNTIME_VERSION"]
waitFor: ["diff"]
env:
- BASE_BRANCH=$_BASE_BRANCH
Expand All @@ -271,7 +271,7 @@ steps:

- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_MAGIC_MODULES"]
waitFor: ["diff"]
args:
- 'request-service-reviewers'
Expand All @@ -284,8 +284,10 @@ options:

availableSecrets:
secretManager:
- versionName: projects/673497134629/secrets/github-magician-token/versions/latest
env: GITHUB_TOKEN
- versionName: projects/673497134629/secrets/github-magician-token-generate-diffs-downstreams/versions/latest
env: GITHUB_TOKEN_DOWNSTREAMS
- versionName: projects/673497134629/secrets/github-magician-token-generate-diffs-magic-modules/versions/latest
env: GITHUB_TOKEN_MAGIC_MODULES
- versionName: projects/673497134629/secrets/ci-test-billing-account/versions/latest
env: GOOGLE_BILLING_ACCOUNT
- versionName: projects/673497134629/secrets/ci-test-cust-id/versions/latest
Expand Down
44 changes: 21 additions & 23 deletions .ci/gcb-push-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ steps:
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
id: tpg-sync
secretEnv: ["GITHUB_TOKEN"]
waitFor: ["checkout"]
args:
- 'tpg-sync'
Expand All @@ -42,7 +41,7 @@ steps:

- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
id: tpg-push
waitFor: ["tpg-sync", "build-magician-binary"]
env:
Expand All @@ -56,22 +55,21 @@ steps:

- name: 'gcr.io/cloud-builders/git'
waitFor: ["tpg-push"]
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
entrypoint: 'bash'
args:
- -c
- |
if [ "$BRANCH_NAME" == "main" ]; then
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpg-sync
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpg-sync
else
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpg-sync-$BRANCH_NAME
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpg-sync-$BRANCH_NAME
fi

# TPGB
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
id: tpgb-sync
secretEnv: ["GITHUB_TOKEN"]
waitFor: ["checkout"]
args:
- 'tpgb-sync'
Expand All @@ -80,7 +78,7 @@ steps:

- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
id: tpgb-push
waitFor: ["tpgb-sync", "build-magician-binary"]
env:
Expand All @@ -94,22 +92,21 @@ steps:

- name: 'gcr.io/cloud-builders/git'
waitFor: ["tpgb-push"]
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
entrypoint: 'bash'
args:
- -c
- |
if [ "$BRANCH_NAME" == "main" ]; then
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpgb-sync
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpgb-sync
else
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpgb-sync-$BRANCH_NAME
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tpgb-sync-$BRANCH_NAME
fi

# TGC
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
id: tgc-sync
secretEnv: ["GITHUB_TOKEN"]
waitFor: ["checkout"]
args:
- 'tgc-sync'
Expand All @@ -118,7 +115,7 @@ steps:

- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
id: tgc-push
waitFor: ["tgc-sync", "tpgb-push"]
env:
Expand All @@ -132,22 +129,21 @@ steps:

- name: 'gcr.io/cloud-builders/git'
waitFor: ["tgc-push"]
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
entrypoint: 'bash'
args:
- -c
- |
if [ "$BRANCH_NAME" == "main" ]; then
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tgc-sync
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tgc-sync
else
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tgc-sync-$BRANCH_NAME
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tgc-sync-$BRANCH_NAME
fi

# TF-OICS
- name: 'gcr.io/graphite-docker-images/bash-plus'
entrypoint: '/workspace/.ci/scripts/bash-plus/downstream-waiter/wait_for_commit.sh'
id: tf-oics-sync
secretEnv: ["GITHUB_TOKEN"]
waitFor: ["checkout"]
args:
- 'tf-oics-sync'
Expand All @@ -156,7 +152,7 @@ steps:

- name: 'gcr.io/graphite-docker-images/build-environment'
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
id: tf-oics-push
waitFor: ["tf-oics-sync", "build-magician-binary"]
env:
Expand All @@ -170,20 +166,20 @@ steps:

- name: 'gcr.io/cloud-builders/git'
waitFor: ["tf-oics-push"]
secretEnv: ["GITHUB_TOKEN"]
secretEnv: ["GITHUB_TOKEN_CLASSIC"]
entrypoint: 'bash'
args:
- -c
- |
if [ "$BRANCH_NAME" == "main" ]; then
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tf-oics-sync
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tf-oics-sync
else
git push https://modular-magician:$$GITHUB_TOKEN@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tf-oics-sync-$BRANCH_NAME
git push https://modular-magician:$$GITHUB_TOKEN_CLASSIC@github.com/GoogleCloudPlatform/magic-modules $COMMIT_SHA:tf-oics-sync-$BRANCH_NAME
fi

- name: 'gcr.io/graphite-docker-images/go-plus'
entrypoint: '/workspace/.ci/scripts/go-plus/vcr-cassette-merger/vcr_merge.sh'
secretEnv: ["GITHUB_TOKEN", "GOOGLE_PROJECT"]
secretEnv: ["GITHUB_TOKEN_CLASSIC", "GOOGLE_PROJECT"]
id: vcr-merge
waitFor: ["tpg-push"]
env:
Expand All @@ -196,7 +192,7 @@ steps:
waitFor: ["vcr-merge"]
entrypoint: '/workspace/.ci/scripts/go-plus/magician/exec.sh'
secretEnv:
- "GITHUB_TOKEN"
- "GITHUB_TOKEN_DOWNSTREAMS"
- "GOOGLE_BILLING_ACCOUNT"
- "GOOGLE_CUST_ID"
- "GOOGLE_FIRESTORE_PROJECT"
Expand Down Expand Up @@ -228,7 +224,9 @@ logsBucket: 'gs://cloudbuild-downstream-builder-logs'
availableSecrets:
secretManager:
- versionName: projects/673497134629/secrets/github-classic--repo-workflow/versions/latest
env: GITHUB_TOKEN
env: GITHUB_TOKEN_CLASSIC
- versionName: projects/673497134629/secrets/github-magician-token-generate-diffs-downstreams/versions/latest
env: GITHUB_TOKEN_DOWNSTREAMS
- versionName: projects/673497134629/secrets/ci-test-billing-account/versions/latest
env: GOOGLE_BILLING_ACCOUNT
- versionName: projects/673497134629/secrets/ci-test-cust-id/versions/latest
Expand Down
6 changes: 2 additions & 4 deletions .ci/gcb-vcr-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ steps:
- name: 'gcr.io/graphite-docker-images/go-plus'
id: gcb-vcr-nightly
entrypoint: '/workspace/.ci/scripts/go-plus/vcr-cassette-update/vcr_cassette_update.sh'
secretEnv: ["GITHUB_TOKEN", "GOOGLE_BILLING_ACCOUNT", "GOOGLE_CUST_ID", "GOOGLE_FIRESTORE_PROJECT", "GOOGLE_IDENTITY_USER", "GOOGLE_MASTER_BILLING_ACCOUNT", "GOOGLE_ORG", "GOOGLE_ORG_2", "GOOGLE_ORG_DOMAIN", "GOOGLE_PROJECT", "GOOGLE_PROJECT_NUMBER", "GOOGLE_SERVICE_ACCOUNT", "SA_KEY", "GOOGLE_PUBLIC_AVERTISED_PREFIX_DESCRIPTION", "GOOGLE_TPU_V2_VM_RUNTIME_VERSION"]
secretEnv: ["GOOGLE_BILLING_ACCOUNT", "GOOGLE_CUST_ID", "GOOGLE_FIRESTORE_PROJECT", "GOOGLE_IDENTITY_USER", "GOOGLE_MASTER_BILLING_ACCOUNT", "GOOGLE_ORG", "GOOGLE_ORG_2", "GOOGLE_ORG_DOMAIN", "GOOGLE_PROJECT", "GOOGLE_PROJECT_NUMBER", "GOOGLE_SERVICE_ACCOUNT", "SA_KEY", "GOOGLE_PUBLIC_AVERTISED_PREFIX_DESCRIPTION", "GOOGLE_TPU_V2_VM_RUNTIME_VERSION"]
args:
- $BUILD_ID

Expand All @@ -15,8 +15,6 @@ options:
logsBucket: 'gs://cloudbuild-vcr-nightly-logs'
availableSecrets:
secretManager:
- versionName: projects/673497134629/secrets/github-magician-token/versions/latest
env: GITHUB_TOKEN
- versionName: projects/673497134629/secrets/ci-test-billing-account/versions/latest
env: GOOGLE_BILLING_ACCOUNT
- versionName: projects/673497134629/secrets/ci-test-cust-id/versions/latest
Expand Down Expand Up @@ -44,4 +42,4 @@ availableSecrets:
- versionName: projects/673497134629/secrets/ci-test-public-advertised-prefix-description/versions/latest
env: GOOGLE_PUBLIC_AVERTISED_PREFIX_DESCRIPTION
- versionName: projects/673497134629/secrets/ci-test-tpu-v2-vm-runtime-version/versions/latest
env: GOOGLE_TPU_V2_VM_RUNTIME_VERSION
env: GOOGLE_TPU_V2_VM_RUNTIME_VERSION
2 changes: 2 additions & 0 deletions .ci/infra/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ module "project-services" {
"cloudidentity.googleapis.com",
"cloudiot.googleapis.com",
"cloudkms.googleapis.com",
"cloudquotas.googleapis.com",
"cloudresourcemanager.googleapis.com",
"cloudscheduler.googleapis.com",
"cloudtasks.googleapis.com",
Expand All @@ -222,6 +223,7 @@ module "project-services" {
"datastream.googleapis.com",
"deploymentmanager.googleapis.com",
"dialogflow.googleapis.com",
"discoveryengine.googleapis.com",
"dlp.googleapis.com",
"dns.googleapis.com",
"documentai.googleapis.com",
Expand Down
Loading
Loading