Commit Graph

108 Commits

Author SHA1 Message Date
Ludovico Magnocavallo af447e34e6
Improve handling of tf plugin cache in tests (#885)
* disable tf cache in CI

* re-enable cache

* try a different approach
2022-10-14 19:14:47 +02: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 78d1a09aeb
Enable FAST 00-cicd provider test (#865)
* enable fast 00-cicd provider test

* don't overwrite version files in CI

* change provider pinning for all tests in CI file
2022-10-07 13:20:56 +02:00
Ludovico Magnocavallo a0171b2c49
Bump terraform required version (#864)
* bump terraform required version

* fix test

* debug test

* debug test

* disable test

* fix CI file, bump terraform action version
2022-10-07 12:51:56 +02:00
Ludovico Magnocavallo e66340c4db
Refactor compute-vm for Terraform 1.3 (#860)
* refactor compute-vm for Terraform 1.3

* bump Terraform version in CI tests config

* fix optional null handling (ht jccb)

* tfdoc

* update blueprints

* align fast

* align README examples
2022-10-07 10:53:53 +02:00
Julio Castillo 040c9284e6 Fix tf version in pipelines 2022-09-28 11:50:23 +02:00
Ludovico Magnocavallo 834c5d53c9 point tests to new folders
Co-authored-by: Julio Castillo <juliocc@users.noreply.github.com>
2022-09-09 16:39:01 +02:00
Ludovico Magnocavallo 7a2b769312
Delete merge-pr.yml 2022-09-07 11:14:19 +02:00
Roberto Jung Drebes 4174f2a048 and linting too 2022-08-31 15:31:30 +02:00
Roberto Jung Drebes e1eea481b4 some more yaml quoting 2022-08-31 15:28:47 +02:00
Roberto Jung Drebes 97fc5517b2 fix yaml quotes for merge-pr workflow 2022-08-31 14:39:17 +02:00
Ludovico Magnocavallo 0a58611792
Changelog generator (#763)
* first test

* test signing

* changelog load/dump

* changelog tool

* changelog generator

* lint
2022-08-02 11:45:05 +02:00
Ludovico Magnocavallo b5162162ec remove changelog workflow 2022-07-31 14:45:11 +02:00
Ludovico Magnocavallo 6efce68b1d fix merge workflow 2022-07-30 19:37:19 +02:00
Ludovico Magnocavallo d075e67425 workflow permissions 2022-07-30 19:29:50 +02:00
Ludovico Magnocavallo fab0566b9d change merge workflow 2022-07-30 19:19:16 +02:00
Ludovico Magnocavallo 79253f3ec2 allow running pr merge workflow 2022-07-30 19:08:08 +02:00
Ludovico Magnocavallo a2b87b4560 fix merge workflow 2022-07-30 19:05:22 +02:00
Ludovico Magnocavallo 3776120ba0
first test (#762) 2022-07-30 19:04:00 +02:00
Julio Castillo 07b00c34fe Bump providers versions and pin versions for tests 2022-06-28 10:20:40 +02:00
Taneli Leppä b28b379a7b Added a tool to update provider_meta/module_name, Terraform version and provider versions on batch basis.
Also includes a pipeline to manually release new versions and update all module names.
2022-06-09 12:40:51 +02:00
Ludovico Magnocavallo ab646f38ed
Bump provider versions to >= 4.17.0, terraform to >= 1.1.0 (#634)
* bump provider versions to >= 4.17.0, terraform to >= 1.1.0

* bump teraform version in lint check, edit CHANGELOG
2022-04-17 13:55:40 +02:00
Julio Castillo 0ea0fa622b Move FAST tests to main tests workflow 2022-04-12 21:03:20 +02:00
Ludovico Magnocavallo 5be8bba6a8 comment branch filter 2022-03-16 14:09:18 +01:00
Julio Castillo 14b7996feb Enable FAST tests 2022-02-24 12:05:48 +01:00
Julio Castillo e7dd12fa29 Reformat all code using yapf 2022-02-14 12:27:42 +01:00
Ludovico Magnocavallo fbf4d29c88
Fix FAST names (#539)
* name checker, initial names fix

* fix name parser

* sdbx -> sbox

* explicit names

* show total name length

* check names in linting action

* validate prefix length

* fix typo
2022-02-12 13:29:22 +01:00
Julio Castillo d9a96b54cd Fix typo 2022-02-05 20:22:24 +01:00
Julio Castillo 06c3fb3757 Activate GHA for fast-dev-gke branch 2022-02-05 20:22:24 +01:00
Ludovico Magnocavallo 02e8a3927d
CI link checker (#494)
* CI link checker

* fix link errors

* fix ci

* wildcard on *.md
2022-02-04 13:28:07 +01:00
Ludovico Magnocavallo 9a533180a0
Refactor project module, support per-file tags in tfdoc (#450)
* add support for in-doc tfdoc options overrides

* clean up project module

* add file description tags

* only output module and resource columns in tfdoc file table if they exist

* update fast READMEs

* fix check docs
2022-01-22 11:34:18 +01:00
Julio Castillo 3f798d3032
Fix failing tests (#442)
* Fix failing tests

* useless try

* try using job dependencies

* retry

* revert

* disable concurrency, try general config/env

* use in-job config

* don't use home var

* individual configs

* remove multiline

* useless tests

* one more try to figure it out

* use the right home path

* multiline

* fix typo

* remove unused files, revert conftest changes

* Move plugin init to separate action

* Remove parallel tests

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-01-21 17:25:16 +01:00
Ludovico Magnocavallo e866db2c88 Merge Fabric FAST (#435)
Co-authored-by: Simone Ruffilli <sruffilli@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-01-19 14:19:39 +01:00
Julio Castillo b2bf27ffec Fix linting config 2022-01-11 11:55:03 +01:00
Julio Castillo 4345579d1a Fix typos and update link-checker config 2022-01-11 11:54:59 +01:00
Julio Castillo 78102b2acf Add linter step to check mardown links 2022-01-11 11:53:19 +01:00
Julio Castillo f84957270f Rename ci test jobs 2022-01-11 11:53:19 +01:00
Julio Castillo 144e841ce4 Allow tftest fixtures to run tests in parallel 2022-01-11 11:53:19 +01:00
Julio Castillo 8df9ef9035 New folder structure 2022-01-11 11:53:19 +01:00
Simone Ruffilli ee25965c89
Copyright bump (#410) 2022-01-01 15:52:31 +01:00
Ludovico Magnocavallo 1ac3fe4460
New tfdoc version (#396)
* update tfdoc

* rewrite check docs, refactor tfdoc replace, regenerate modules READMEs

* remove dead code from check docs

* do not fail on missing variable files in check docs

* fix typos
2021-12-21 08:51:51 +01:00
Taneli Leppä c263525177
Run tests nightly 2021-11-03 12:28:16 +01:00
Julio Castillo c11031a377 add colors to pytest output 2021-10-27 16:08:29 +02:00
caiotavaresdito d6ce44636e Fixed name convention for all actions 2021-10-27 08:28:51 -04:00
Julio Castillo 63fd88dee3 fix fake key path 2021-10-27 08:31:41 +02:00
Julio Castillo 1974f7c84d Remove env block 2021-10-27 08:28:10 +02:00
Julio Castillo be43421fdd Use setup-terraform action 2021-10-27 08:24:45 +02:00
caiotavaresdito f0df3a9e75 Added tests env and examples 2021-10-26 22:31:15 -04:00
caiotavaresdito a05ccc7319 Added tests modules 2021-10-26 22:23:33 -04:00
caiotavaresdito 7396036a65 Tags indentation 2021-10-26 22:13:05 -04:00
caiotavaresdito 97970c1a1e fixed tags indentation 2021-10-26 22:12:26 -04:00
caiotavaresdito d896b12e93 Added tests-env workflow 2021-10-26 22:11:34 -04:00
caiotavaresdito 3722ac2b03 Added boilerplate GA 2021-10-26 20:17:22 -04:00
caiotavaresdito a835b2360d Testing 2021-10-26 20:15:54 -04:00
caiotavaresdito 78544a8f60 Fixed path github workspace 2021-10-26 20:13:26 -04:00
caiotavaresdito ac728fe8f6 fixed boilerplate path 2021-10-26 20:07:57 -04:00
caiotavaresdito bdd6ca9d6d Added linting github actions 2021-10-26 20:03:38 -04:00
Taneli Leppä eab9835949 Added daily tagging action (only if there were changes in the last 24 hours). 2021-10-21 10:48:25 +02:00