Commit Graph

73 Commits

Author SHA1 Message Date
Ludovico Magnocavallo 3cca689792
Check linting for Python dashboard files (#1107)
* enable Python lint check for network dashboard

* fix linting for network dashboard
2023-01-21 17:17:51 +01:00
Ludovico Magnocavallo cb87f3efa5
Document new testing approach (#1048)
* document new testing approach

* remove unused workflow branches

* remove stale folder

* fix link

* document new testing approach

* remove unused workflow branches

* fix link

* Extend tests details in contributing guide

* Typos

Co-authored-by: Julio Castillo <jccb@google.com>
2022-12-12 19:59:46 +00:00
Sebastian Kunze 1287b7ca0a
Replace `set-output` with env variable and remove single quotes on labels (#1022) 2022-11-29 08:57:43 +00:00
Sebastian Kunze ceb544833a
Add OpenContainers annotations to published container images (#1021) 2022-11-29 08:11:53 +00:00
Ludovico Magnocavallo cce25f4406
Fix auto-labeling (#1017)
* labeler changes

* test labeler

* change rules

* Only add documentation label for non-README md files

* Revert "test labeler"

This reverts commit d26249886293064ea45f6ab39c30924749d39e79.

Co-authored-by: Julio Castillo <jccb@google.com>
2022-11-28 15:00:31 +01:00
Ludovico Magnocavallo 7461d9b445
Update labeler.yml 2022-11-25 15:58:25 +01:00
Ludovico Magnocavallo 8fba135a64
Update labeler.yml (#1013) 2022-11-25 13:27:46 +00:00
Sebastian Kunze 948b61fdce
Use `actions/labeler` to automatically label pull requests (#1004) 2022-11-22 15:42:47 +01:00
Sebastian Kunze ad7a0bb857
Add missing `write_package` permission (#998) 2022-11-22 08:32:42 +00:00
Sebastian Kunze 6400111ad5
Fix `repository name must be lowercase` on docker build (#996) 2022-11-21 16:04:56 +00:00
Sebastian Kunze b6249bc52e
Push container images to GitHub instead of Google Container Registry (#995) 2022-11-21 14:53:51 +00:00
Julio Castillo 577db1d50b Extend linting to blueprints 2022-10-28 17:49:44 +02:00
Julio Castillo 15d21eba39 Rename workflow names 2022-10-25 16:58:37 +02:00
Ludovico Magnocavallo 680eb656cb
disable parallel execution of tests and plugin cache (#887) 2022-10-14 19:52:38 +02:00
Ludovico Magnocavallo b39abd2389
Revert "Improve handling of tf plugin cache in tests (#885)" (#886)
This reverts commit af447e34e6.
2022-10-14 19:35:30 +02:00
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