Commit Graph

394 Commits

Author SHA1 Message Date
Christian Winther
6fe0303279 fix(docs): add markdownlint and apply rules (#4557) 2024-05-14 16:30:14 -04:00
Christian Winther
4794bc0a44 fix(docs): move TOC to the right nav bar to free up vertical space (#4552) 2024-05-14 15:24:44 -04:00
Christian Winther
5fafbb1061 fix(docs): fix left navbar menu items (#4551) 2024-05-14 15:06:33 -04:00
Rui Chen
50cd3d3ac6 feat: migrate off vuepress to vitepress (#4515)
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-14 18:22:13 +00:00
Neil
c4a2a2c760 fix(slack-hooks): updated example for atlantis configuration (#4525) 2024-05-09 14:52:32 +00:00
Subin Choi
43c943748b docs: typo in server-configuration.md (#4524) 2024-05-08 21:05:28 -07:00
Bruno Schaatsbergen
0ec441e6b8 docs: change ref to runatlantis registry (#4391) 2024-04-04 15:21:11 -07:00
Koen van Zuijlen
c8e49bb4aa docs: Fix docs website build (#4303) 2024-03-28 18:29:52 +00:00
Martijn van der Kleijn
722c4a9372 feat: Add Gitea support (#4229)
* Add initial Gitea client structure

* Add various missing config flags

* initial gitea support added

* Fix some post-merge issues

* Replace HidePrevCommandComments by version from @florianbeisel

* Update mocks

* feat: add Webhook Signature Verification

This changes adds support for Gitea Webhook Signatures by wrapping the
function from the Gitea SDK and calling it from `handleGiteaPost()`.

* fix: use release version in go.mod

1.22 as in the previous go.mod is a development version. When referencing
a minimum release version the correct format is 1.22.0

* Set default Gitea url to cloud.gitea.com

* Fix and Add tests for Gitea

* Fix missing copyright header

* Changed comment to reflect no max comment length

Apparently there's no max comment length in Gitea at this point in time.

* Implement GetCloneURL()

* Decode Base64 before passing on downloaded file content

* Enable Gitea client as API Client

* Remove unneded comments

* Remove old redundant file

* fix: invalid version number in go.mod

* fix: remove unnecessary type conversions

* fix: removed unused function

* fix: remove unnecessary type conversion of decodedData

* fix: fixes some tests

* Correct gitea.com URL

* Add Gitea to website docs

* fix: TestPost_UnsupportedGiteaEvent

* revert version downgrades

* docs: add Gitea documentation to Guide section

* docs: fix copy paste mistake

* Update cmd/server_test.go

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

* Clarify usage msg for --gitea-base-url

* Apply suggestions from code review

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

* Turn ebreak number into const with comments

* Add --gitea-page-size server argument

Defaults to 30 based on https://docs.gitea.com/1.18/advanced/config-cheat-sheet#api-api

* Fix broken test

* Fix event parser and comment parser

* Add missing app permission to docs

* Make Gitea client conform to updated interface

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

Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>

* Remove no longer needed logger

* Add extra logging statements for Gitea client

* Add debug statements

---------

Co-authored-by: Florian Beisel <florian@pacey.me>
Co-authored-by: Florian Beisel <florian@beisel.it>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2024-03-18 14:21:45 +00:00
Rui Chen
1bf058d317 docs: update atlantis ref link on infracost.io (#4289)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-26 13:13:48 -05:00
Dimitris Moraitidis
0c99a3dbba Update automerging.md (#4281)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-02-26 09:56:29 -08:00
Rasmus Mikkelsen
fc81a00c8b fix(docs): Minor spelling of webhooks (#4238) 2024-02-15 01:08:46 -06:00
Luke Massa
25d800e740 chore: Add flag for SilenceVCSStatusNoProjects (#4179)
* chore: Add flag for SilenceVCSStatusNoProjects

* Add docs

* Fix desc
2024-01-28 17:08:23 +00:00
Xing Yahao
8f8c4d048b feat(docs): Update docs for --hide-prev-plan-comments and UnDiverged (#4105)
* Update runatlantis.io/docs/server-configuration.md

* runatlantis.io/docs/command-requirements.md

* Update server-configuration.md
2023-12-28 14:30:01 -05:00
Luke Massa
6cad7e6482 chore: Remove settings for require approval, mergeable, undiverged (#4047)
* Remove settings for require approval, mergeable, undiverged

* Fix
2023-12-27 16:11:45 +00:00
Peerakit Champ Somsuk
6452a3c6cd docs: Update Document for server-side-repo-config.md (#4052)
* Update server-side-repo-config.md

Update document for Metric on repo config

* docs(server-side-repo-config): fix case

Co-authored-by: Luke Massa <lukefrederickmassa@gmail.com>

---------

Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Luke Massa <lukefrederickmassa@gmail.com>
2023-12-27 10:13:33 -05:00
PePe Amengual
a8bd38fe10 docs: Custom container doc update (#4054)
* Updating curl

* Updating docs for custom image

* Updating docs for custom image

* fixing note

* some style change

* Update runatlantis.io/docs/deployment.md

Co-authored-by: Rui Chen <rui@chenrui.dev>

---------

Co-authored-by: Rui Chen <rui@chenrui.dev>
2023-12-13 21:45:20 -05:00
Byron Morales
070fd3e925 docs: Update using-atlantis.md (#4003)
* Update using-atlantis.md

I was having problems with `atlantis apply` when I wanted to apply all pending plans.

The problem was that every time I tried to execute this action, I got "Ran Apply for 0 projects:" because atlantis, for the apply action, did not know where the tfstates were. 

I think this is something that we can add in the documentation, because I did not find this clarification
The problem was that every time I tried to execute this action, I was getting "Ran Apply for 0 projects:" due to atlantis, for the apply action, didn’t know where the tfstates were located. 

I think it's something we can add in the documentation, because I didn’t find this aclaration

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

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-12-11 21:30:38 -05:00
Luay-Sol
f79ece8243 feat: Add project depends on functionality (#3292)
* feat: implemented the code for the depends on functionality

Co-authored-by: Vincent <106497818+vincentgna@users.noreply.github.com>
2023-12-11 12:43:34 -08:00
dependabot[bot]
3ecd457f90 chore(deps): bump vite from 4.4.9 to 4.4.12 (#4016)
* chore(deps): bump vite from 4.4.9 to 4.4.12

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.9 to 4.4.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.4.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix gitlab approvals links

Signed-off-by: Rui Chen <rui@chenrui.dev>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2023-12-08 20:59:29 -05:00
jskrill
00aae565b2 feat: add autodiscover enabled feature (#3895)
* add flag to allow the user disable the autodiscover

* add global config and doc

* feat: Implement autodiscover.mode

* fix: Minor doc fixes

* fix: Small fixes to docs/indent/tests

* fix: Line length, quoting, function comments

* fix: Add a few more tests and remove newlines

* fix: Always camel case never snake

---------

Co-authored-by: Marcelo Medeiros <m.medeiros@carepay.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-11-29 15:43:53 -08:00
snorlaX-sleeps
5f1f580a90 docs: Update the GitHub app installation instructions to include a section on manually creating a GitHub app and using it with Atlantis. Add notes on differences with the app created by Atlantis (#3882)
Signed-off-by: snorlaX-sleeps <21spock@gmail.com>

Committer: snorlaX-sleeps <21spock@gmail.com>
2023-10-20 15:26:24 -07:00
Koen van Zuijlen
786e57c1d6 feat: Added disable-unlock-label config option (#3799)
* Added disable-unlock-label config option

* Fixed tests

* Wrote tests + fixed mistakes

* Added docs

* added defaults to docs

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-10-10 11:02:26 -04:00
Simon Heather
2263d5fd91 Sort the Server Configuration flags into alphabetical order (#3837)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-10-09 18:12:52 -07:00
Simon Heather
5c37634a99 Fix repo-level-atlantis-yaml table (#3836)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-10-09 18:10:04 -07:00
Brett Galkowski
6d43214dcf fix: Removing typo in documentation (#3827)
* Adding new flag everywhere relevant, implementing policy result workaround

* Fixing unit test str matching, adding custom policy conditional to step_runner

* Adding documentation steps for custom policy tools

* Refactoring ConftestOutput attribute to PolicyOutput

* Adding new flag everywhere relevant, implementing policy result workaround

* Fixing unit test str matching, adding custom policy conditional to step_runner

* Adding documentation steps for custom policy tools

* Refactoring ConftestOutput attribute to PolicyOutput

* Fixing custom policy docs typo

* End spacing
2023-10-06 11:15:24 -07:00
PePe Amengual
d083aa119f Revert "feat: Add project depends on functionality (#3821)" (#3825)
This reverts commit cf2b7911f4.
2023-10-06 11:35:38 -04:00
Brett Galkowski
22060fe5d2 feat: Add option allowing usage of custom policy check tools (#3765)
* Adding new flag everywhere relevant, implementing policy result workaround

* Fixing unit test str matching, adding custom policy conditional to step_runner

* Adding documentation steps for custom policy tools

* Refactoring ConftestOutput attribute to PolicyOutput
2023-10-06 10:57:29 -04:00
Vincent
cf2b7911f4 feat: Add project depends on functionality (#3821)
* feat: implemented the code for the depends on functionnality

* chore: Address PR comments

---------

Co-authored-by: Luay-Sol <luay.grira@solace.com>
2023-10-06 10:10:40 -04:00
Simon Heather
64f7d2e1a1 feat: Add Targeted Execution to the Pre/Post Workflow Hooks (#3708)
* Add Workflow hook target filter

* Fix post workflow hook example

* Update WokrflowHook in global_cfg

* Fix linting

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-10-06 09:37:07 -04:00
Ghais Zaher
80ecc38273 feat: disable autoplan label (#3649)
* feat: disable autoplan label

* documentation

* revert unrelated change

* fix property

* gitlab and github

* dd more test

* small fixes

* add tests for github and gitlab clients

* fix: remove unrelated comments

* fmt

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-09-25 13:43:35 -04:00
wolmi
c35ba0d69f feat: Add use plugin cache flag (#3720)
* feat: Add use plugin cache bool flag

* feat: Added use-plugin-cache doc

* feat: refactor to reflect terrafrom in plugin cache flag

Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>

* fix: missing closing in bash block documentation

* fix: typo in flag example

* feat: improve docs

* feat: performance implications documented

* feat: increase terraform minor version to 1.3.10

---------

Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2023-09-22 14:42:58 -07:00
Alex-Mussell
5ff99510d0 docs: Update Terragrunt custom workflows docs to implement target plans, imports, and state removals (#3776) 2023-09-18 12:49:53 -07:00
Mulail Mohamed (Muley)
ca5aa85676 docs(using-atlantis): add usage for -destroy flag in atlantis plan (#3755)
* docs(using-atlantis): add usage for -destroy flag in atlantis plan

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>

* docs(using-atlantis): add closing to caution note

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>

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

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>

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

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>

* chore(atlantis): add example

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>

---------

Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-09-11 11:19:52 -04:00
Simon Heather
cd7ae114eb feat: add ability to track git untracked files (#3724) 2023-09-11 10:57:50 -04:00
Simon Heather
1ee108b4c0 Update Docs for fail-on-pre-workflow-hook-error (#3731) 2023-09-02 09:39:38 -07:00
Tomasz Napierala
e792d4c37b docs: updated server-configuration.md on GirhubApp slug (#3728)
Added information how to obtain `--gh-app-slug` value form installed app
2023-09-01 10:26:45 -07:00
Simon Heather
dc644937cf feat: Add A Server Config Flag to Enable Failure on Pre Workflow Hook Errors (#3729)
* FailOnPreWorkflowHookError

* Fix linting issues
2023-09-01 10:17:10 -07:00
lowid
d85255e4dd Fix server side repo config document typo (#3711) 2023-08-28 09:38:50 -07:00
Gaston Festari
2b3075687c docs: fix typo (#3709)
* docs: fix typo

precidence -> precedence

* docs: markdown fmt pass
2023-08-28 09:38:02 -07:00
smstone
b8bb6df40a feat: Slack notifications matched on base branch name (#3644)
* Add ability to send slack notification matched on base branch name

* Update BranchRegex usage doc

* Add test with invalid branch and workspace regex
2023-08-22 15:13:00 +00:00
Artur Rodrigues
049c146b2c fix(github): prevent null pointer dereferencing when using AllowMergeableBypassApply with no required checks on branch protection (#3672)
* Implement test for allow mergeable bypass apply with no branch protection checks

* Report true combined status if no branch protection required status checks

* Remove warning on feature flag utilization
2023-08-15 10:11:37 -07:00
Shouichi Kamiya
2bd778b01e fix: auto plan when .terraform.lock.hcl changed (#3473)
Problem

When `projects` are specified and `when_modified` is not specified via
the config file, changing `.terraform.lock.hcl` file won't trigger auto
plan. This is because the default `raw.WhenModified` does not include
`.terraform.lock.hcl`.

Note that when projects are auto detected, changing
`.terraform.lock.hcl` triggers auto plan. This is because the
`cmd.DefaultAutoplanFileList` includes `.terraform.lock.hcl`.

Solution

Include `.terraform.lock.hcl` to the default `raw.WhenModified`.
2023-07-31 11:29:33 -04:00
Luke Massa
cbb86c248e feat: Allow for negations in repo allowlist (#3414)
* feat: Omit repos from allowlist

* Add quote in comment

* Better comment

* Remove test
2023-07-31 13:46:11 +00:00
Almenon
78632beb20 fix(bitbucket): avoid extra plans using a local LRU (#3402) 2023-07-07 18:35:22 -04:00
Simon Heather
b8994190be feat: Add Support for Customising the Shell for Pre and Post Workflow Hooks (#3451) 2023-07-07 18:34:01 -04:00
Ross Strickland
76c482b83a feat: global repo params (#3379) 2023-07-07 18:33:21 -04:00
Simon Heather
847cab74c4 feat: Add Command Name Environment Variable to Pre/Post Workflow Executions (#3571)
* Add Workflow Command Name env var

* Update tests

* Update command runner

---------

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2023-07-07 16:21:32 -04:00
Andre Ziviani
974eed3803 feat: Disable policy check on some repositories (#3503)
* feat: Allow enabling policy check per repository

* chore: Tests

* chore: Docs

* chore: Improve tests

* chore: E2E tests
2023-07-06 16:39:36 -04:00
Yunchi Luo
a6161c9926 feat: Add an output option to filter output for custom run steps (#3518)
* feat: Add an `output` option to filter output for custom run steps
2023-06-30 10:00:31 -04:00