Ken Kaizu
f09a9d4c01
feat: --allow-commands restricts available atlantis commands ( #2877 )
...
* feat: --allow-command configuration restricts available atlantis commands
* add version and approve_policies into allow commands defaults
* allow-commands accept all keyword which allows all commands
* remove redundant nest
* more detail abount allow-commands all keyword
* Update server/events/comment_parser.go
2022-12-27 22:52:39 -06:00
Ken Kaizu
4e0d4ecc40
feat: atlantis import ( #2783 )
...
* feat: atlantis import
* feat: atlantis import
* regenerate mock comment builder
* remove duplicate err check
* instrumented import command runner/builder
* atlantis import subcommand accept args before hyphen
* fix link checker
* docs: review feedback
* fix atlantis import options order
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/comment_parser.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/comment_parser.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/server-side-repo-config.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/command_requirement_handler.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/command_requirement_handler_test.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* fix test import usage
* fix e2e expected txt
* fix doc link
* docs: workflow import stage/step
* docs fixup
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-22 18:37:29 -06:00
Adam Verigin
faa027acbd
feat: Add flag to disable downloading tf for airgapped environments ( #2843 )
...
* Move terraform version listing into Terraform client
* Add flag to disable Terraform downloads
* Fallback to exact version matching if unable to list TF versions
* Add new config option to documentation
* Fix and update tests
* Fix check-lint errors
* Change option name
* Remove obsolete commented code
* Migrate version detection logic into terraform client
* Improve consistency in new function signatures & log statements
* Test requests before calling terraform-switch, to prevent unnecessary crashes
* Fix broken tests
* Silence gosec error
* Close response body
2022-12-22 13:37:35 -06:00
Ken Kaizu
8d74878f9d
feat: customize vcs comment command executable name ( #2805 )
2022-12-16 19:16:36 -08:00
nitrocode
585ce1e888
docs: Mention --enable-regexp-cmd requires the project name key ( #2796 )
...
* docs: mention the name key for regexp cmd
* docs: add name key to auto-generation
2022-12-15 13:51:53 -08:00
Ken Kaizu
6ecb7a6f76
replace www.terraform.io doc urls ( #2797 )
2022-12-14 18:07:40 -06:00
Fabiano Soares Honorato
66dc30e755
feat: prevent planning and applying directories outside PR scope using --restrict-file-list ( #2440 )
...
* Add --strict-plan-file-list config
* Update server.go
* Update server-configuration.md
* Update server_test.go
* Run gofmt -w
* Add --strict-plan-file-list for projects
* Add --strict-plan-file-list tests
* Change --strict-plan-file-list to --restrict-file-list
* Update --restrict-file-list documentation
* Update --restrict-file-list and --enable-regexp-cmd documentation
Co-authored-by: Fabiano Honorato <fabiano.honorato@ifood.com.br >
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2022-12-09 09:33:40 -06:00
noah
61bcfbab2b
feat: auto-plan projects when modules change ( #2507 )
...
* feat: auto-plan projects when modules change
Fixes #920
* rename Downstream->Dependent; docs cleanup
* chore: gofmt -s
2022-11-28 14:12:29 -08:00
nitrocode
629e688b0c
Allow --gh-team-allowlist to work with team names and slugs ( #2719 )
...
* Add team slugs
* Expand test to include both names and slugs
* docs: add version document of flag before/after
* docs: this will be merged for next release
2022-11-25 12:47:49 -06:00
nitrocode
ad79d0708b
docs: Small updates 🦃 ( #2711 )
...
* Add missing pages
* Update server-configuration.md
* Update test.yml
* Update lint.yml
* Update test.yml
* Update lint.yml
* Update server-configuration.md
* Update server-configuration.md
* Update server-configuration.md
* Update server-configuration.md
* Update server-configuration.md
* Update server-configuration.md
* Update server-configuration.md
* Update server-configuration.md
2022-11-23 19:59:50 -06:00
nitrocode
c7f230bd8a
Fix website link checker due to branch rename ( #2682 )
...
* Use main
* Use docsBranch: main
2022-11-14 12:19:36 -06:00
Daniel Versoza
74e522a80a
docs: updates docs on gh-team-allowlist ( #2664 )
...
To better describe the flag about using the team name and not the slug, with practical examples.
2022-11-11 11:18:11 -06:00
Ross Strickland
d620d5de98
Add custom templating support ( #2647 )
...
* added custom templates support
* made default templates DRY
* Change init to anonymous function.
* Initialize anonymous function inside var
* - Add flag/cfg param for custom template dir
- Add test for custom template
* Add documentation.
* Address PR comments.
Co-authored-by: Ricard Bejarano <ribejara@thousandeyes.com >
2022-11-11 09:56:33 -06:00
Eirik Nygaard
5e3f1a9f90
Add argument for enabling same origin check for websocket connections ( #2659 )
...
* Add argument for enabling same origin check for websocket connections
* Remove else clause and outdent return
* Add unit test for websocket origin check
2022-11-11 09:50:15 -06:00
Marc Barlo
3bfd769211
feat: add a flag to silence policy checks comments when there's no error ( #2405 )
...
* Add a flag to silence policy checks comments when there's no error
* Add e2e test cases for the quiet policy checks flag
* add documentation for quiet-policy-checks flag
* Update user_config.go
Fix indentation
* Update user_config.go
* fmt
2022-10-26 23:35:49 -07:00
chroju
9758a2103d
docs: fill all command line flags not in the document, and more. ( #2568 )
...
* docs: All command line flags are filled in the doc
* docs: about --gh-allow-mergeable-bypass-apply flag
* docs: replace Github with GitHub
* docs: remove an incorrect bullet
Co-authored-by: chroju <chroju@users.noreply.github.com >
2022-10-08 10:26:23 -07:00
Philipp Erbelding
23158f0b9d
Add missing newline ( #2567 )
2022-10-07 09:28:05 -07:00
Brian Zoetewey
1bcf938644
Adding Redis DB option ( #2527 )
...
* Adding Redis DB option
This allows selecting something other than the default database of 0.
* Add missing db argument to fix failing tests.
2022-09-20 21:27:16 -07:00
Daniel Thompson
d5d8e38117
Adding Redis TLS Option ( #2510 )
...
* Adding Redis TLS option
* Test fixes and allow for tls skip verify
* Test fixes and allow for tls skip verify
2022-09-09 20:02:26 -07:00
Daniel Thompson
ab2cdb833a
External Locking DB: Redis ( #2491 )
...
* Initial build out of redis backend
* Regenerate locking mocks and matchers
* More test cleanup
* More test fixes
* Added tests for redis
* Test fix
* Linting fix
* Dcos update
* Update redis.go
* Update server.go
* Adding nolint to RedisDB struct
2022-09-07 16:57:06 -07:00
Ray Terrill
89d33a0737
Make required atlantis/apply status check work with mergeable ( #2436 )
...
* Make required apply work with mergeable
* Fix lint hint
* Migrate mergeable approval check to graphql, update tests
* Adding support for check suites
* Adding feature flag protection for new functionality
* Fix linting falsepos
* Adjusted logic to handle required check runs, added doc
2022-08-18 09:46:50 -07:00
Li Lin
e3019581a9
Disable activeHeaderLinks for VuePress ( #2449 )
2022-08-15 15:35:43 -07:00
Casper Biering
abb9e41787
fix: Log streaming broken with TFE local execution mode ( #2364 )
2022-07-12 08:53:55 -07:00
Li Lin
6b0fe76f4e
Add --var-file-allowlist in server configuration ( #2362 )
2022-07-07 10:32:18 -07:00
Yahya
42321707be
docs: fix security warning inconsistent formatting ( #2302 )
2022-06-07 11:46:59 -07:00
Rui Chen
b1fb97047b
links(github): replace help.github.com with docs.github.com links ( #2227 )
...
* links(github): replace help.github.com with docs.github.com links
* fix another link
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-04-29 17:35:42 -04:00
Nish Krishnan
d1d1539ced
feat: Add stats support for basic operations ( #2147 )
2022-03-18 15:18:13 -07:00
Keita Kitamura
d28ae20595
docs: fix incorrect wildcard and more precise instruction to --gh-team-allowlist option. ( #2005 )
...
* docs: fix incorrect wildcard.
Signed-off-by: keita <keitap@gmail.com >
* docs: add more precise instruction to --gh-team-allowlist option.
Signed-off-by: keita <keitap@gmail.com >
2022-01-17 21:21:12 -08:00
Gerald Barker
8f98558f54
Fix autoplan when .terraform.lock.hcl is modifed ( #1991 )
2022-01-12 11:17:43 -08:00
rui
c0ed560c45
docs: update website links ( #1964 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-12-30 07:59:01 -05:00
Mark Iannucci
01d79dfa03
docs: clarify example for --azuredevops-token flag ( #1712 )
2021-12-30 07:58:40 -05:00
Paul Erickson
bc368465a0
feat: add GitHub team allowlist configuration option ( #1694 )
...
* Add GitHub team allowlist configuration option
Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com >
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com >
Co-authored-by: Ted Roby <troby+github@sonatype.com >
Co-authored-by: Paul Erickson <perickson@sonatype.com >
* Check team allowlist in command runner, rather than event controller
* Remove unneeded trimming
* Test wildcard groups and commands
* Improve error logging
Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com >
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com >
Co-authored-by: Ted Roby <troby+github@sonatype.com >
2021-12-21 16:08:43 -08:00
Frank Bagherzadeh
c3050285e4
docs: Add missing --silence-vcs-status-no-plans flag ( #1803 )
...
`The Silence VCS Status` feature has been implemented in #954 . However there is no reference to it in the server side repo config.
Add missing `The Silence VCS Status` `--silence-vcs-status-no-plans` in the reference for server side repo config.
2021-09-09 11:37:15 -07:00
Enoch Lo
89236d8e54
Add flag to enable markdown diff formatting ( #1751 )
2021-08-30 14:01:52 -07:00
David Haven
01b8718509
allow user to pass gh-app-key directly instead of filename ( #1706 )
...
* allow user to pass gh-app-key directly instead of filename
* start fixing tests
* fix make test
* update website with info about new flag
* Apply suggestions from code review
Co-authored-by: Roberto Hidalgo <un@rob.mx >
Co-authored-by: Roberto Hidalgo <un@rob.mx >
2021-08-17 22:02:01 -07:00
Brian Zoetewey
f290780b61
feat: Add --autoplan-file-list server flag. ( #1475 )
...
* Add `--autoplan-file-list` server flag to allow modifying the list of files that trigger planning.
* Set default value for `--autoplan-file-list` and add `terragrunt.hcl` to the list.
* Default is handled in server now. No need for it here.
* Fix syntax error test.
* Fix e2e tests
2021-04-22 09:48:40 -07:00
Dylan Page
25103d72f4
feat: add new flag --silence-no-projects ( #1469 )
...
* feat: add new flag --silence-no-projects
* refactor: add tests, clean up command_runner logic
* fix: attempt at fixing PolicyCheck e2e test
* docs: add silence-no-projects flag to server-configuration.md
* docs: fix grammar
* fix: requested changes: commit status resets, misc fixes
* fix: status check comments to actually reflect their commands
* fix: logic bug in autoplan commit reset
* fix: tests make check-lint errors
2021-04-19 14:52:56 -07:00
Phillip Nielsen
7d5cd4ab55
Add Missing allow-draft-pr Server Flag Docs ( #1457 )
...
This was added in #1053 but is not documented.
2021-03-16 09:35:08 -07:00
laurent apollis
d2ef2775c8
Support regexp in command builder on the project name ( #1419 )
2021-03-05 16:13:23 -08:00
Nish Krishnan
76b8e357c5
Add policy checking configuration docs ( #1423 )
...
* Update server-configuration.md
* Update server-side-repo-config.md
* Update server-configuration.md
* Update server-side-repo-config.md
2021-02-23 09:45:11 -08:00
Gerald Barker
1137a82c60
Add the ability to disable Atlantis locking a repo ( #1340 )
...
* Add the ability to disable Atlantis locking a repo
* Fix incorrect logic when creating locking Client
Co-authored-by: kbaldyga <kbaldyga@gmail.com >
* Add tests for noOpLocker to improve coverage
Co-authored-by: Gerald Barker <geraldbarker@mail.com >
Co-authored-by: kbaldyga <kbaldyga@gmail.com >
2021-01-14 10:20:27 -05:00
Nish Krishnan
129b7b2f57
Update link. ( #1335 )
2021-01-05 14:17:56 -08:00
Quan Hoang
90495bbaf4
docs: add 'skip-clone-no-changes' server configuration flag ( #1252 )
...
Co-authored-by: Quan Hoang <quan.hoang@smarkets.com >
2020-12-12 21:16:39 -05:00
Gerald Barker
d2610a78af
Add Option to globally disable apply ( #1230 )
...
* Add Option to globally disable apply
Co-authored-by: Gerald Barker <geraldbarker@mail.com >
2020-10-27 21:01:39 -07:00
Luke Kysow
c789e1a787
Merge pull request #1177 from dmattia/dmattia/concurrency_flag
...
Added configurable parallelism pool size
2020-10-26 17:31:12 -07:00
Charles Guertin
8523096fe3
Fixed typo in docs gitlab server config.
2020-10-07 12:51:09 -04:00
dmattia
d1fe029438
Added configurable parallelism pool size
2020-09-03 10:51:40 -05:00
Luke Kysow
1b374fa3e6
Small refactor to disable-autoplan
2020-08-18 15:55:22 -07:00
ValdirGuerra
34f9f3f348
Add support for disable autoplan from server config
2020-08-18 15:55:22 -07:00
Luke Kysow
8ac19e4017
Deprecate --repo-whitelist for --repo-allowlist
2020-07-25 23:50:09 -07:00