Commit Graph

90 Commits

Author SHA1 Message Date
Julio Castillo 165515f9fd Update contributing guide with new test framework 2023-03-09 14:41:18 +01:00
Julio Castillo edce6edd28 Update factories and apigee tests 2023-02-25 19:26:11 +01:00
Julio Castillo 3a0f69dc2d Revert examples/conftest.py 2023-02-25 19:26:11 +01:00
Julio Castillo 71e96dfdee Allow blueprints to be tested from README files without examples. 2023-02-25 19:26:11 +01:00
Julio Castillo 2aad7845a4 Allow dashes and underscores in tftest file ids 2023-01-19 17:47:14 +01:00
Julio Castillo 12f07ebeac Extend net-vpc README with more tested examples 2023-01-19 17:47:14 +01:00
Julio Castillo c8bfe892a6 Update folder tests 2023-01-03 16:52:31 +01:00
Julio Castillo 4f7cb39a06 Simplify readme discovery 2022-12-18 14:00:20 +01:00
Julio Castillo 126227502e Fix tests paths for examples 2022-12-18 14:00:20 +01:00
Julio Castillo 4b77e484b1 Migrate project module to new tests 2022-12-18 14:00:19 +01:00
Julio Castillo e700a27079 Enforce terraform fmt in examples 2022-12-18 14:00:19 +01:00
Julio Castillo 4e95645e69 Silence linting 2022-12-18 14:00:19 +01:00
Julio Castillo 8accf2ed91 Fix typo 2022-12-18 14:00:19 +01:00
Julio Castillo 513fdfe91a Make directive for supporting files in examples more explicit 2022-12-18 14:00:19 +01:00
Julio Castillo aaacee2a70 Ignore multiple whitespace in tftest directives 2022-12-18 14:00:19 +01:00
Julio Castillo aba14fe574 Allow passing an inventory to examples test directive 2022-12-18 14:00:19 +01:00
Ludovico Magnocavallo d2015b0bc3
Assorted module fixes (#1045)
* net-ilb-l7 use both neg types in backends

* run example tests on cloud-config-container modules

* streamline nginx-tls cos module

* add tests for cos modules

* tfdoc

* onprem needs fixing, links

* disable test

* test
2022-12-10 15:40:15 +01:00
Julio Castillo 798d3a4136 Update VPN-HA module to tf1.3 (wip) 2022-11-30 10:52:24 +01:00
Sebastian Kunze e4fc47a063
Normalize prefix handling in blueprints (#1003) 2022-11-23 11:09:00 +01:00
Julio Castillo 2cd74823b1 Generate files based on readme contents 2022-11-18 17:48:52 +01:00
Julio Castillo a3767cdfe2 Fix boilerplate check 2022-11-18 17:48:52 +01:00
Julio Castillo 5cfa1062cc Ensure inline README file match fixture files 2022-11-18 17:48:52 +01:00
Julio Castillo 7be3288cc7 Add tests for factory examples 2022-11-18 17:48:52 +01:00
Ludovico Magnocavallo 4b798fb34d
Run tests in parallel using `pytest-xdist` (#881)
* test terraform cache

* try pytest-xdist

* revert cache changes

* extend to other jobs

* change dist, bump processes to 4

* revert

* mark tests

* run init to prime providers cache

* prime providers cache

* prime providers cache for all jobs

* add local provider to versions

* remove leftover code
2022-10-14 14:56:16 +02:00
Ludovico Magnocavallo 9400eed2bf
Add documentation example test for pf (#813)
* Add documentation example test for pf

* skip tmpdir for examples
2022-09-14 14:34:30 +02:00
Julio Castillo 7e9173d35d Create fully recursive e2e test runner 2022-09-12 13:58:11 +02:00
Julio Castillo 269894e92b Update all internal links examples -> blueprints 2022-09-09 16:39:01 +02:00
Julio Castillo a248602827 Rename examples folder to blueprints 2022-09-09 16:38:43 +02:00
lcaggio 4da440bc4f First commit. 2022-09-08 17:47:20 +02:00
lcaggio 49baa5da30 Fix YAML 2022-08-31 16:54:30 +02:00
lcaggio 7509752caf First commit. 2022-08-31 16:25:29 +02:00
lcaggio c0e17f4732
Improve Data Playground example (#738)
* First commit

* Fix README

* Improve READMEs

* Implement PR comments.

* Fix

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-08-09 15:56:39 +02:00
Miren Esnaola 5c9f336441 Example of a multi-cluster mesh on GKE configuring managed control plane using the Fleet API 2022-08-08 16:32:52 +02:00
Ludovico Magnocavallo 03bf8b6e32
Allow interpolating SAs in project factory subnet IAM bindings (#767) 2022-08-04 10:39:28 +02:00
Ludovico Magnocavallo 5e0ab57f3a
Add support for IAM bindings on service accounts to project factory (#753)
* Fix #748

* fix linting

* remove trailing whitespace

* update FAST pf
2022-07-21 15:13:39 +02:00
Miren Esnaola 68e56058ab AD FS example 2022-07-11 09:52:35 +02:00
Ayman Farhat 54d805dac0
New example for a data playground Terraform setup (#655)
* Initial commit for adding a sample data playground

* Update README

* Add license boilerplate to variables.tf

* Apply linting rules

* rename var to ptoject_id, create prefix var, remove extra zone var

* Adds the option for using an existing project by default

* Bundles all VPC related variables in a single vpc_config variable of type object

* Add encryption_key usage example + policy_boolean

* Add tests, apply linting and todos for upcoming PRs

* Update variables in readme

* Fix formatting via fmt

* Rename test dir to fix module conflict issue

* Add high level diagram and sort vars/outputs by alphabetical

* Modify diagram and update main README under data examples with link / summary

* Line break

* Use png in diagram

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-07-10 09:27:18 +02:00
Miren Esnaola 2e9fdea1a4 Binary authorization module and example 2022-06-17 16:09:12 +02:00
Miren Esnaola 9f5d59748d Added example with GLB and Cloud Armor 2022-05-26 15:32:11 +02:00
Julio Castillo 4e83b5003b
Merge branch 'master' into sql-multi-region 2022-05-03 17:46:18 +02:00
Ludovico Magnocavallo 4114f9995f
Change hub and spoke VPN example to use VPN HA (#643)
* missing outputs and diagram

* fix names and outputs, update diagram

* fix vm name in example

* tfdoc files on

* fix test

* address comments
2022-05-02 09:01:05 +02:00
Lorenzo Caggioni 04bc505b70 Fix roles 2022-04-13 16:05:54 +02:00
Lorenzo Caggioni 15e5904966 Add example test 2022-04-13 15:08:37 +02:00
Taneli Leppä d79dd7ab28 Added example of SQL Server always on groups. 2022-04-07 17:38:08 +02:00
lcaggio ec3832760d
Merge branch 'master' into lcaggio/dp-dc-policy-tag 2022-04-04 15:38:52 +02:00
Lorenzo Caggioni 67b1715ecc Fix data_eng_principals logging role. 2022-04-04 09:16:55 +02:00
Lorenzo Caggioni 3d8c9a4b52 Fix test. 2022-04-01 18:52:30 +02:00
Lorenzo Caggioni 98a9ba2c82 Fix example test 2022-04-01 18:46:51 +02:00
Ludovico Magnocavallo fa84a888c2 rename new cloud ops tests 2022-03-17 16:41:11 +01:00
Ludovico Magnocavallo fef3ed8c93
Fix missing service networking identity in project, PSA (#585)
* test

* test

* test

* fix

* tfdoc

* fix tests

* fix tests
2022-03-17 14:29:28 +01:00