Skip to content

Commit 5c5b8b3

Browse files
authored
feat: Add Provider cache (#250)
* test-bundle disable int enable int tests update image * regen docs
1 parent cd42805 commit 5c5b8b3

File tree

25 files changed

+432
-412
lines changed

25 files changed

+432
-412
lines changed

0-bootstrap/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ Currently, the bucket information is replaced in the state backends as a part of
4141
## Inputs
4242

4343
| Name | Description | Type | Default | Required |
44-
|------|-------------|:----:|:-----:|:-----:|
45-
| billing\_account | The ID of the billing account to associate projects with. | string | n/a | yes |
46-
| default\_region | Default region to create resources where applicable. | string | `"us-central1"` | no |
47-
| group\_billing\_admins | Google Group for GCP Billing Administrators | string | n/a | yes |
48-
| group\_org\_admins | Google Group for GCP Organization Administrators | string | n/a | yes |
49-
| org\_id | GCP Organization ID | string | n/a | yes |
50-
| org\_policy\_admin\_role | Additional Org Policy Admin role for admin group. You can use this for testing purposes. | bool | `"false"` | no |
51-
| org\_project\_creators | Additional list of members to have project creator role across the organization. Prefix of group: user: or serviceAccount: is required. | list(string) | `<list>` | no |
52-
| parent\_folder | Optional - if using a folder for testing. | string | `""` | no |
53-
| skip\_gcloud\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
44+
|------|-------------|------|---------|:--------:|
45+
| billing\_account | The ID of the billing account to associate projects with. | `string` | n/a | yes |
46+
| default\_region | Default region to create resources where applicable. | `string` | `"us-central1"` | no |
47+
| group\_billing\_admins | Google Group for GCP Billing Administrators | `string` | n/a | yes |
48+
| group\_org\_admins | Google Group for GCP Organization Administrators | `string` | n/a | yes |
49+
| org\_id | GCP Organization ID | `string` | n/a | yes |
50+
| org\_policy\_admin\_role | Additional Org Policy Admin role for admin group. You can use this for testing purposes. | `bool` | `false` | no |
51+
| org\_project\_creators | Additional list of members to have project creator role across the organization. Prefix of group: user: or serviceAccount: is required. | `list(string)` | `[]` | no |
52+
| parent\_folder | Optional - if using a folder for testing. | `string` | `""` | no |
53+
| skip\_gcloud\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | `bool` | `true` | no |
5454

5555
## Outputs
5656

0-bootstrap/modules/jenkins-agent/README.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -50,43 +50,43 @@ module "jenkins_bootstrap" {
5050
## Inputs
5151

5252
| Name | Description | Type | Default | Required |
53-
|------|-------------|:----:|:-----:|:-----:|
54-
| activate\_apis | List of APIs to enable in the CICD project. | list(string) | `<list>` | no |
55-
| bgp\_peer\_asn | BGP ASN for peer cloud routes. | number | `"64513"` | no |
56-
| billing\_account | The ID of the billing account to associate projects with. | string | n/a | yes |
57-
| default\_region | Default region to create resources where applicable. | string | `"us-central1"` | no |
58-
| folder\_id | The ID of a folder to host this project | string | `""` | no |
59-
| group\_org\_admins | Google Group for GCP Organization Administrators | string | n/a | yes |
60-
| jenkins\_agent\_gce\_machine\_type | Jenkins Agent GCE Instance type. | string | `"n1-standard-1"` | no |
61-
| jenkins\_agent\_gce\_name | Jenkins Agent GCE Instance name. | string | `"jenkins-agent-01"` | no |
62-
| jenkins\_agent\_gce\_private\_ip\_address | The private IP Address of the Jenkins Agent. This IP Address must be in the CIDR range of `jenkins_agent_gce_subnetwork_cidr_range` and be reachable through the VPN that exists between on-prem (Jenkins Master) and GCP (CICD Project, where the Jenkins Agent is located). | string | n/a | yes |
63-
| jenkins\_agent\_gce\_ssh\_pub\_key | SSH public key needed by the Jenkins Agent GCE Instance. The Jenkins Master holds the SSH private key. The correct format is `'ssh-rsa [KEY_VALUE] [USERNAME]'` | string | n/a | yes |
64-
| jenkins\_agent\_gce\_ssh\_user | Jenkins Agent GCE Instance SSH username. | string | `"jenkins"` | no |
65-
| jenkins\_agent\_gce\_subnetwork\_cidr\_range | The subnetwork to which the Jenkins Agent will be connected to (in CIDR range 0.0.0.0/0) | string | n/a | yes |
66-
| jenkins\_agent\_sa\_email | Email for Jenkins Agent service account. | string | `"jenkins-agent-gce"` | no |
67-
| jenkins\_master\_subnetwork\_cidr\_range | A list of CIDR IP ranges of the Jenkins Master in the form ['0.0.0.0/0']. Usually only one IP in the form '0.0.0.0/32'. Needed to create a FW rule that allows communication with the Jenkins Agent GCE Instance. | list(string) | n/a | yes |
68-
| nat\_bgp\_asn | BGP ASN for NAT cloud route. This is needed to allow the Jenkins Agent to download packages and updates from the internet without having an external IP address. | number | n/a | yes |
69-
| on\_prem\_vpn\_public\_ip\_address | The public IP Address of the Jenkins Master. | string | n/a | yes |
70-
| on\_prem\_vpn\_public\_ip\_address2 | The secondpublic IP Address of the Jenkins Master. | string | n/a | yes |
71-
| org\_id | GCP Organization ID | string | n/a | yes |
72-
| project\_labels | Labels to apply to the project. | map(string) | `<map>` | no |
73-
| project\_prefix | Name prefix to use for projects created. | string | `"prj"` | no |
74-
| router\_asn | BGP ASN for cloud routes. | number | `"64515"` | no |
75-
| sa\_enable\_impersonation | Allow org_admins group to impersonate service account & enable APIs required. | bool | `"false"` | no |
76-
| service\_account\_prefix | Name prefix to use for service accounts. | string | `"sa"` | no |
77-
| skip\_gcloud\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
78-
| storage\_bucket\_labels | Labels to apply to the storage bucket. | map(string) | `<map>` | no |
79-
| storage\_bucket\_prefix | Name prefix to use for storage buckets. | string | `"bkt"` | no |
80-
| terraform\_sa\_email | Email for terraform service account. It must be supplied by the seed project | string | n/a | yes |
81-
| terraform\_sa\_name | Fully-qualified name of the terraform service account. It must be supplied by the seed project | string | n/a | yes |
82-
| terraform\_state\_bucket | Default state bucket, used in Cloud Build substitutions. It must be supplied by the seed project | string | n/a | yes |
83-
| terraform\_version | Default terraform version. | string | `"0.12.24"` | no |
84-
| terraform\_version\_sha256sum | sha256sum for default terraform version. | string | `"602d2529aafdaa0f605c06adb7c72cfb585d8aa19b3f4d8d189b42589e27bf11"` | no |
85-
| tunnel0\_bgp\_peer\_address | BGP peer address for tunnel 0 | string | n/a | yes |
86-
| tunnel0\_bgp\_session\_range | BGP session range for tunnel 0 | string | n/a | yes |
87-
| tunnel1\_bgp\_peer\_address | BGP peer address for tunnel 1 | string | n/a | yes |
88-
| tunnel1\_bgp\_session\_range | BGP session range for tunnel 1 | string | n/a | yes |
89-
| vpn\_shared\_secret | The shared secret used in the VPN | string | n/a | yes |
53+
|------|-------------|------|---------|:--------:|
54+
| activate\_apis | List of APIs to enable in the CICD project. | `list(string)` | <pre>[<br> "serviceusage.googleapis.com",<br> "servicenetworking.googleapis.com",<br> "compute.googleapis.com",<br> "logging.googleapis.com",<br> "bigquery.googleapis.com",<br> "cloudresourcemanager.googleapis.com",<br> "cloudbilling.googleapis.com",<br> "iam.googleapis.com",<br> "admin.googleapis.com",<br> "appengine.googleapis.com",<br> "storage-api.googleapis.com"<br>]</pre> | no |
55+
| bgp\_peer\_asn | BGP ASN for peer cloud routes. | `number` | `"64513"` | no |
56+
| billing\_account | The ID of the billing account to associate projects with. | `string` | n/a | yes |
57+
| default\_region | Default region to create resources where applicable. | `string` | `"us-central1"` | no |
58+
| folder\_id | The ID of a folder to host this project | `string` | `""` | no |
59+
| group\_org\_admins | Google Group for GCP Organization Administrators | `string` | n/a | yes |
60+
| jenkins\_agent\_gce\_machine\_type | Jenkins Agent GCE Instance type. | `string` | `"n1-standard-1"` | no |
61+
| jenkins\_agent\_gce\_name | Jenkins Agent GCE Instance name. | `string` | `"jenkins-agent-01"` | no |
62+
| jenkins\_agent\_gce\_private\_ip\_address | The private IP Address of the Jenkins Agent. This IP Address must be in the CIDR range of `jenkins_agent_gce_subnetwork_cidr_range` and be reachable through the VPN that exists between on-prem (Jenkins Master) and GCP (CICD Project, where the Jenkins Agent is located). | `string` | n/a | yes |
63+
| jenkins\_agent\_gce\_ssh\_pub\_key | SSH public key needed by the Jenkins Agent GCE Instance. The Jenkins Master holds the SSH private key. The correct format is `'ssh-rsa [KEY_VALUE] [USERNAME]'` | `string` | n/a | yes |
64+
| jenkins\_agent\_gce\_ssh\_user | Jenkins Agent GCE Instance SSH username. | `string` | `"jenkins"` | no |
65+
| jenkins\_agent\_gce\_subnetwork\_cidr\_range | The subnetwork to which the Jenkins Agent will be connected to (in CIDR range 0.0.0.0/0) | `string` | n/a | yes |
66+
| jenkins\_agent\_sa\_email | Email for Jenkins Agent service account. | `string` | `"jenkins-agent-gce"` | no |
67+
| jenkins\_master\_subnetwork\_cidr\_range | A list of CIDR IP ranges of the Jenkins Master in the form ['0.0.0.0/0']. Usually only one IP in the form '0.0.0.0/32'. Needed to create a FW rule that allows communication with the Jenkins Agent GCE Instance. | `list(string)` | n/a | yes |
68+
| nat\_bgp\_asn | BGP ASN for NAT cloud route. This is needed to allow the Jenkins Agent to download packages and updates from the internet without having an external IP address. | `number` | n/a | yes |
69+
| on\_prem\_vpn\_public\_ip\_address | The public IP Address of the Jenkins Master. | `string` | n/a | yes |
70+
| on\_prem\_vpn\_public\_ip\_address2 | The secondpublic IP Address of the Jenkins Master. | `string` | n/a | yes |
71+
| org\_id | GCP Organization ID | `string` | n/a | yes |
72+
| project\_labels | Labels to apply to the project. | `map(string)` | `{}` | no |
73+
| project\_prefix | Name prefix to use for projects created. | `string` | `"prj"` | no |
74+
| router\_asn | BGP ASN for cloud routes. | `number` | `"64515"` | no |
75+
| sa\_enable\_impersonation | Allow org\_admins group to impersonate service account & enable APIs required. | `bool` | `false` | no |
76+
| service\_account\_prefix | Name prefix to use for service accounts. | `string` | `"sa"` | no |
77+
| skip\_gcloud\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | `bool` | `true` | no |
78+
| storage\_bucket\_labels | Labels to apply to the storage bucket. | `map(string)` | `{}` | no |
79+
| storage\_bucket\_prefix | Name prefix to use for storage buckets. | `string` | `"bkt"` | no |
80+
| terraform\_sa\_email | Email for terraform service account. It must be supplied by the seed project | `string` | n/a | yes |
81+
| terraform\_sa\_name | Fully-qualified name of the terraform service account. It must be supplied by the seed project | `string` | n/a | yes |
82+
| terraform\_state\_bucket | Default state bucket, used in Cloud Build substitutions. It must be supplied by the seed project | `string` | n/a | yes |
83+
| terraform\_version | Default terraform version. | `string` | `"0.12.24"` | no |
84+
| terraform\_version\_sha256sum | sha256sum for default terraform version. | `string` | `"602d2529aafdaa0f605c06adb7c72cfb585d8aa19b3f4d8d189b42589e27bf11"` | no |
85+
| tunnel0\_bgp\_peer\_address | BGP peer address for tunnel 0 | `string` | n/a | yes |
86+
| tunnel0\_bgp\_session\_range | BGP session range for tunnel 0 | `string` | n/a | yes |
87+
| tunnel1\_bgp\_peer\_address | BGP peer address for tunnel 1 | `string` | n/a | yes |
88+
| tunnel1\_bgp\_session\_range | BGP session range for tunnel 1 | `string` | n/a | yes |
89+
| vpn\_shared\_secret | The shared secret used in the VPN | `string` | n/a | yes |
9090

9191
## Outputs
9292

0 commit comments

Comments
 (0)