Commit Graph

493 Commits

Author SHA1 Message Date
Julio Castillo b2232e4f00 Remove service account fixture 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 0faf8ae1f1 Fix net-vpc tests 2022-12-18 14:00:19 +01:00
Julio Castillo 8598816980 Remove organization fixture 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 b5ca8932dc Migrate organization to example-based tests 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
Ludovico Magnocavallo 46f694be08
Refactor net-glb module for Terraform 1.3 (#1044)
* wip

* urlmaps

* wip

* tested

* fix managed certificate names

* simple HTTP and HTTPS examples

* gce and hybrid neg examples

* internet NEG example

* serverless NEG and backend bucket examples

* certificate example

* fix example tests

* remove stale test module

* module test

* adfs blueprint

* add support for non-classic GLB and PSC NEGs

* apigee blueprint

* glb and cloud armor blueprint

* deprecate non-working nginx reverse cluster

* api gateway blueprint

* tfdoc

* fix top-level READMEs

* switch to new tests

* only/at most
2022-12-08 17:35:44 +01:00
Julio Castillo 51594c1413 Fix tests 2022-12-06 16:12:38 +01:00
Julio Castillo 8b664fc5e3 Simplify test spec structure 2022-12-06 15:50:39 +01:00
Julio Castillo 1981647595 Custom context manager to create temp directory 2022-12-06 15:09:08 +01:00
Julio Castillo a017fef121 Removed refresh=True from plan() call 2022-12-06 14:44:18 +01:00
Julio Castillo f8d5f43c05 Use ignore instead of copy+delete in plan_summary() 2022-12-06 10:08:36 +01:00
Julio Castillo be0e807435 Bring back `tests` key in test yaml spec 2022-12-06 00:06:29 +01:00
Julio Castillo fded49cc67 Remove unneeded imports from tests/conftest.py and use pytest_plugins 2022-12-06 00:06:29 +01:00
Julio Castillo 284f8ff106 Basic error handling 2022-12-06 00:06:29 +01:00
Julio Castillo 589f7a5c2f Simplify yaml test spec 2022-12-06 00:06:29 +01:00
Julio Castillo 34f01762c3 Simplify fast bootstrap test 2022-12-06 00:06:29 +01:00
Julio Castillo 2af4a826fa Initial FAST bootstrap fixture 2022-12-06 00:06:29 +01:00
Julio Castillo 0a6285fd4e Reorder code 2022-12-06 00:06:29 +01:00
Julio Castillo f5461056cf Fix boilerplate 2022-12-06 00:06:29 +01:00
Julio Castillo b4d3aa2055 Migrate organizations tests 2022-12-06 00:06:29 +01:00
Julio Castillo 188ad23035 Add tests for subnet factory 2022-12-06 00:06:29 +01:00
Julio Castillo 553ca3fcdf Allow defining tests via yaml
(yes, more yaml)
2022-12-06 00:06:29 +01:00
Julio Castillo 8631d698cb Reorder fixture parameters 2022-12-06 00:06:29 +01:00
Julio Castillo 354ab110f8 Simplify path handling 2022-12-06 00:06:29 +01:00
Julio Castillo 181533786b remove key from fast values inventory 2022-12-06 00:06:29 +01:00
Julio Castillo 25a3f8687c If copying fixture, remove any auto vars files read by terraform 2022-12-06 00:06:29 +01:00
Julio Castillo 0619b35ae6 Fix fast test 2022-12-06 00:06:29 +01:00
Julio Castillo ace43b75c5 Update requirements for tests 2022-12-06 00:06:29 +01:00
Julio Castillo b88f0cf8de Bring back parallel tests 2022-12-06 00:06:29 +01:00
Julio Castillo 61d5758f06 New test example for a module 2022-12-06 00:06:29 +01:00
Julio Castillo dc1fda0fd8 First tests using fast 2022-12-06 00:06:29 +01:00
Julio Castillo cc1b9fb00b New fixtures 2022-12-06 00:06:29 +01:00
Julio Castillo 8c43b72dd4 Remove stale xmark from parellel testing attempt 2022-12-06 00:06:29 +01:00
Julio Castillo 798d3a4136 Update VPN-HA module to tf1.3 (wip) 2022-11-30 10:52:24 +01:00
g-greatdevaks 1e72599986 Add test fixture for Apigee PAYG Env Node Config
Added test fixture for Apigee PAYG Environment
Node Config.

Changes committed:
- modified:   `tests/modules/apigee/fixture/test.env_only.tfvars`
2022-11-29 22:41:14 +05:30
g-greatdevaks 3037a4f519 FIX APIGEE PAYG ENVIRONMENT NODE CONFIG
Fixed the Node Configuration for Apigee PAYG
specific Environments.

Removed current_aggregate_node_count as it
is a read-only field and cannot be taken
as an input for the Apigee Environment Terraform
resource.

Changes committed:
modified:   blueprints/cloud-operations/apigee/README.md
modified:   blueprints/cloud-operations/apigee/variables.tf
modified:   modules/apigee/README.md
modified:   modules/apigee/main.tf
modified:   modules/apigee/variables.tf
modified:   tests/blueprints/cloud_operations/apigee/fixture/variables.tf
modified:   tests/modules/apigee/fixture/variables.tf
2022-11-29 17:02:24 +05:30
Miren Esnaola 8d827b692c Added endpoint attachments to Apigee module 2022-11-28 17:27:00 +01:00
apichick 48c6733615
Merge branch 'master' into adfs-fixes 2022-11-28 13:30:12 +01:00
apichick 1c1f3b714e
Merge branch 'master' into adfs-fixes 2022-11-28 12:40:07 +01:00
apichick ba17e10ebd
Merge branch 'master' into binauthz-fixes 2022-11-28 12:33:34 +01:00
Daniel Strebel 158df4c873 fix(apigee): Apigee instance doc examples 2022-11-28 09:55:51 +01:00
lcaggio d1cc0519d8
Merge branch 'master' into lcaggio/fix-20221123 2022-11-24 16:07:33 +01:00