Commit Graph

331 Commits

Author SHA1 Message Date
Shouichi Kamiya
f8d6aac067 fix(kustomize): Use k8s recommended name label (#3261)
See https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels.
2023-03-29 21:46:47 -05:00
Isaac Gaskin
6e3a9eba65 docs: updating api-endpoints.md doc to include PR parameter (#3255)
documents the optional PR parameter for the plan/apply endpoints
2023-03-21 12:26:07 -07:00
nitrocode
4ff0718051 docs(typo): show --tf-download in server-configurations page (#3240) 2023-03-17 11:47:21 -07:00
Andre Krueger
5a7f0207ad typo (#3206) 2023-03-13 22:55:19 +00:00
dreid
ba7b67a42c Use -p project1 in docs about how to target a specific project. (#3198) 2023-03-08 20:42:41 +00:00
Pardeep Bhatt
ace0cd0fb8 docs(metrics): available metrics, metrics enablement (#3171)
* docs: documentation for available metrics/stats

* docs: refactored as per comments

* docs: update metrics description

* docs: add empty lines between blocks

* docs: add note section

* docs: add missing dot

* Apply suggestions from code review

---------

Co-authored-by: Pardeep Bhatt <pardeep.bhatt@gojek.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-03-01 11:31:29 -06:00
nitrocode
0db96c6361 chore: remove deprecated flags from docs (#3165)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-02-25 23:31:26 +00:00
nitrocode
37e5793281 chore: add note of autoplan modules limitation (#3166) 2023-02-25 17:30:15 -06:00
Andrei Vydrin
f7f35ceb29 feat: add hide-unchanged-plan-comments option (#3158)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-02-25 15:50:33 -06:00
nitrocode
ad2274f114 feat: shallow repo clone in merge checkout strategy (#2758)
* Implement shallow repo clone in merge checkout strategy

---------

Co-authored-by: Ilya Lukyanov <il@joom.com>
Co-authored-by: Nikolai Røed Kristiansen <nikolaik@gmail.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com>
2023-02-22 13:29:29 -08:00
Matthieu Simon
3023ef96c5 fix repo level atlantis doc (#3099)
Co-authored-by: Matthieu Simon <matthieu.simon-ext@kering.com>
2023-02-05 18:32:04 -06:00
Will Yardley
32c4b2093c docs: add env var variants for autoplan config options (#3073) 2023-01-30 22:26:20 -06:00
markleary
59620037ea fix(docs): add bitbucket to delete_source_branch_on_merge (#3063)
* Fix delete_source_branch_on_merge docs to include Bitbucket

* delete_source_branch_on_merge now supports all VCSs
2023-01-27 17:04:36 -06:00
ryanfarisco
0352406016 Update using-slack-hooks.md (#3048)
- fix typo
- add context for Bot Token Scopes specifically
- reorder copy token as token is generated after installing app to workspace
2023-01-25 16:38:04 -06:00
Li Lin
677fa8f198 docs: /api/plan and /api/apply endpoints (#3013)
* Add API doc for api endpoints

* Fix broken link

* Link api-endpoint in --api-secret section

* Apply suggestions from code review

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

* Add /status and /healthz endpoint

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-01-24 13:32:53 -08:00
Adam Zahumenský
953de00f80 feat: --silence-no-projects to comments with -d and -p (#2969)
* Expand --silence-no-projects to targeted commands

* Cover other commands, test+docs

* Add more tests, refactor doc

* fix tests

* fix dangling pending VCS statuses

* fix: codeql yaml

* fix: lint
2023-01-24 08:26:24 -06:00
Hans Kristian
db116515c2 docs: fix table formating for multienv (#3032) 2023-01-23 13:43:02 -05:00
Luke Young
5d47eeb63b feat: add plan_requirements capability (#2979)
* Add plan_requirements

* Pass pull request fetcher down to plan runner

* Adding tests

* Replace sliceContainsF with slice.Contains

* Remove policy check for plan

Co-authored-by: Casey Miller <camiller@confluent.io>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Casey Miller <47993553+camillsir@users.noreply.github.com>
2023-01-21 00:20:04 -06:00
Ken Kaizu
cb0aadf571 feat: state rm (#2880)
* feat: state rm

* review feedback

* fix conflict for pegomock generation code

* adopt state command into allow-commands

* fix conflicts

* fix: state rm works on workspace

* notify import/state rm discard plan file

* fix lint

* use repeat instead warning for re-plan

* perl -pi -e 's!\* 🔁 plan file was discarded. to!🚮 A plan file was discarded. Re-plan would be required before applying.\n\n\* 🔁 To!g' server/**/*

* follow main branch
2023-01-18 22:02:18 -06:00
nitrocode
b248299e8d chore(deps): website: upgrade vuepress 1.x to 2.x (#2980)
* Upgrade vuepress to 2.x

* Add i18n support

* Apply suggestions from code review

* Update runatlantis.io/.vuepress/config.js

* Update runatlantis.io/es/README.md

* Delete README.md

* Delete README.md

* Delete README.md

* Update runatlantis.io/.vuepress/config.js

* Update runatlantis.io/.vuepress/config.js

* Update config.js

* Use Overview name for specific children

* Add comment for algolia API key

* Register Home.vue

* Convert Home.vue stylus to SCSS

* Regenerate yarn.lock

* Regenerate yarn.lock

* Regenerate yarn.lock

* Regenerate yarn.lock

* Regenerate yarn.lock
2023-01-18 16:07:59 -06:00
PePe Amengual
30a7aa6cc3 docs: Add clarification to enable-regex-cmp flag (#2995)
* Adding clarification to regexcmp flag

* Update runatlantis.io/docs/server-configuration.md

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-01-17 22:46:27 -06:00
Darren Worrall
7746655eb1 Support team owners for policies (#2953) 2023-01-10 16:53:05 -06:00
Tomás Mota
87f9f9a6f4 Fix docs wording (#2957) 2023-01-09 23:20:17 -08:00
PePe Amengual
9d4e2b5b1f Adding api-secret flag to docs (#2940) 2023-01-06 16:45:38 -06:00
Bruno Schaatsbergen
c3ad56306a docs: add Google Cloud module to deployment (#2938)
* feature the Google Cloud Compute Engine module in the deployment documentation.

* Change `runs` to `deploys`

* Rephrase the text related to the Terraform module

* Update runatlantis.io/docs/deployment.md

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

* Change ref to Terraform registry

* Add a space before the registry link

* Update runatlantis.io/docs/deployment.md

* Update runatlantis.io/docs/deployment.md

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2023-01-06 09:00:36 -06:00
Rui Chen
27ac7a8daa deps: tf 1.3.7 (#2925)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-01-04 14:47:09 -08:00
Bruno Schaatsbergen
673c4f142f docs: Explicit restrictions of atlantis user apply to the --data-dir flag (#2915)
* Change the directory mentioned in the `--data-dir` flag description

* Be more explicit on how restrictions of the atlantis user may apply to the `--data-dir` flag

* wrap flag in quotes

* `Please note` -> `Note`

* revert back to `~/atlantis`

* Update server-configuration.md
2023-01-04 14:46:52 -08:00
Demetrius Moro
9595b230e8 fix: syncing doc variable name with current code (#2902)
Current code with correct name (2022-12-30): https://github.com/demetriusmoro/atlantis/blob/main/cmd/server.go#L178
2022-12-30 13:29:07 -06:00
nitrocode
a714a6059d docs: add yaml anchors (#2898) 2022-12-29 20:46:46 -06:00
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
Fabiano Soares Honorato
cb485f11ee feat: Add pre and post workflow hook status (#2441)
* Add pre and post workflow hook status

* fix missing mocks

* fix pre/post workflow hooks tests

* add cmd output to file

* fix typo

* add cmd output to file on pre workflow hooks

* Add hooks output to web UI

* Remove unnecessary dependencies

* Clean the code and make tests work again

* Make lint happy

* Small fixes, create dedicated UUID generator and docs

* Add missing commentary

* Use matchers instead of mocking for tests and fix e2e tests

* Change 'OUTPUT_FILE' to 'OUTPUT_STATUS_FILE'

* Reduce SendWorkflowHook calls on hooks

* Apply suggestions from code review

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-12-19 14:20:34 -06:00
Ken Kaizu
08e9c5a17e feat: customize atlantis.yaml file name in server side config (#2798)
* feat: customize atlantis.yaml file name in server side config

* Update server/events/vcs/bitbucketcloud/client.go

* Update server/events/vcs/bitbucketserver/client.go

* Update server/events/vcs/not_configured_vcs_client.go

* Update server/events/vcs/azuredevops_client.go

* docs: repo_config_file multiple atlantis servers usecase example

* docs: multiple atlantis server usage which show how to call one atlantis server

* Update runatlantis.io/docs/server-side-repo-config.md

* Apply suggestions from code review

* Update runatlantis.io/docs/server-side-repo-config.md

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-12-18 23:02:38 -06:00
Ken Kaizu
ab327a2238 docs: add more commands in using-atlantis.md (#2808)
* docs: add more commands in using-atlantis.md

* docs: add how-atlantis-works child page links

* docs: using-atlantis shows available executable names

* Update runatlantis.io/docs/using-atlantis.md

* remove run help doc, because this feature might be deprecated

* Apply suggestions from code review

* Update runatlantis.io/docs/using-atlantis.md

* revert run help command usage
2022-12-18 09:42:19 -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
Jon Gilmore
f974fb5113 docs(ha): wording update when using redis (#2771)
* docs(ha): wording update when using redis

Because it is now possible to use redis as a backend locking DB for Atlantis, this FAQ should be updated.

* Update runatlantis.io/docs/faq.md

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-12-12 09:23:20 -06:00
Darren Worrall
a56258435b Document the --quiet-policy-checks in the policy check doc (#2777)
* Document the `--quiet-policy-checks` in the policy check doc

* Update runatlantis.io/docs/policy-checking.md

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-12-12 09:16:14 -06:00
Mark Keisler
855717271f docs: terraform version usage after allowing additional required_version specifiers (#2760)
* Clarify the docs about setting the terraform version, especially since
v0.21.0

* Address comments about adding further detail and examples

Also updated versions mentioned to be more recent.
2022-12-11 11:14:08 -06:00
Ken Kaizu
4d957836ad Enable or disable repo_locking per repo in repos.yaml and atlantis.yaml (#2700)
* disable repo locking repos.yaml and atlantis.yaml with allow override

* rename disable_repo_locking into repo_locking

* add both enable/disable repo_locking test

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-12-09 16:13:31 -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
Christoffer Nicklasson
b6e1c61127 Update using-slack-hooks.md (#2759) 2022-12-07 09:47:38 -06:00
Jakub Igła
494a63f8cb docs: Add a new Azure deployment method (#2741)
* docs: Add a new Azure deployment method

* docs: Revert the old ACI link while keeping the new one

* docs: Improve wording for Azure deployment
2022-12-06 21:57:46 -06:00
Aiman Ismail
fe207ae32d docs: add example how to customize the conftest command (#2727)
* docs: add example how to customize the conftest command

* fixed PR review comments

* rerun CI

* remove problematic url

Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2022-12-06 21:56:51 -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