Sarvar Muminov
7a927c050b
Moving config files to core/config ( #2036 )
...
* Moving config files to core/config
* fix package names
* fix package dependencies
* linting fixes
* more linting fixes
* ran golangci-lint run --fix
2022-02-03 11:06:04 -08:00
Tim McFadden
b859f72561
feat: post workflow hooks ( #1990 )
...
* Add post-workflow hooks
* docs: Add cost estimation as post workflow use case
Co-authored-by: Gerald Barker <geraldbarker@gmail.com >
2022-01-12 19:57:45 -05:00
Masayuki Morita
4b6c2f65da
build(lint): use revive instead of golint ( #1801 )
...
* Use revive instead of golint
The golint was officially deprecated.
https://github.com/golang/go/issues/38968
We have been using golint via golangci-lint and golangci-lint now
recommends using revive instead of golint.
https://golangci-lint.run/usage/linters/
> golint: The repository of the linter has been archived by the owner.
> Replaced by revive.
The revive is a drop-in replacement of golint. I think switching to
revive is a reasonable choice to check the same rules for free.
https://github.com/mgechev/revive
* Fix lint errors reported by revive
The revive is almost the same as golint, but there seems to be a bit
different results.
https://app.circleci.com/pipelines/github/runatlantis/atlantis/1519/workflows/75fd7da5-1532-4ed7-ac8a-4884902818a4/jobs/8314
https://github.com/runatlantis/atlantis/runs/3565887247?check_suite_focus=true
2021-09-10 09:14:56 -07:00
Nish Krishnan
d914eafd2a
Move core workflow packages under core. ( #1684 )
...
* Move core workflow packages under core.
* lint.
2021-07-01 12:54:44 -07:00
Nish Krishnan
7ac8106f8a
Add structured logger ( #54 ) ( #1467 )
...
This is two changes:
Replacing all usages of SimpleLogger with it's interface SimpleLogging which makes it easier to swap out loggers going forward
Nukes SimpleLogger in favor of StructuredLogger which allows us to better analyze logs in our log management system we choose.
2021-04-06 12:02:25 -07:00
Nish Krishnan
8598c37671
Support pre-workflow hooks on all comment/auto triggered commands. ( #43 ) ( #1418 )
...
Fixes pre-workflow-hooks not logging errors #1371
Prevents pre-workflow-hook from locking and cloning the dir if there are no hooks registered. #1342
2021-02-22 08:34:26 -08:00
Sarvar Muminov
3456dc934b
Add pre workflow custom hooks to run scripts before workflow execution(plan, apply, etc) ( #1255 )
...
* Updated runatlantis.io/docs to have `pre-workflow-hooks` use cases and examples
2020-12-14 15:19:52 -05:00