Commit Graph

1127 Commits

Author SHA1 Message Date
Henrik Lundström
5f1e53ed8c fix: Permission for GitHub app to support mergeable minus apply check (#4902) 2024-09-06 08:13:39 -07:00
Henrik Lundström
ed7b744695 fix: GitHub mergeability bypassing apply (#4193) 2024-09-04 19:36:24 -07:00
Jaden Lee
d18e9bba44 fix: set yaml to prevent_self_approve (#4893) 2024-09-03 19:13:57 -04:00
Nick King
9a0c648748 feat: add ability to delegate authorization to external sources (#4864) 2024-09-03 15:39:04 -07:00
dorian-tsorfy
41cd9c2083 fix: Resolve Rendering Issue in the Policy Check Results Template (#4870) 2024-09-03 14:33:03 +01:00
Rui Chen
37580ba79e chore: bump to use go 1.23.0 (#4843)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-08-15 11:55:48 -04:00
Jaden Lee
df0003197d feat: selfapprove flag for approving policies (#4794)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-08-08 09:11:06 -07:00
Andrew Fitzpatrick
ed03d35d59 fix: send pipelineID in gitlabs SetCommitStatus if the mr gets found, fallback to branch ref (#4785) 2024-08-07 23:54:24 -07:00
Rui Chen
dd424ff34e chore: revert "fix: added a space line" (#4814) 2024-08-06 16:55:19 -04:00
dorian-tsorfy
dac9141cd5 fix: added a space line (#4787)
Co-authored-by: Dorian Tsorfy <dorian.tsorfy@similarweb.com@similarweb.com>
2024-07-25 11:07:01 -07:00
PePe Amengual
b3d45d6929 revert: "fix: Preventing merging without running atlantis apply on Gitlab" (#4721) 2024-07-03 11:04:47 -07:00
David Glasser
5a918e382c feat: Add --max-comments-per-command configuration (#3905)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Benoit Toulme <benoit.toulme@gmail.com>
2024-06-26 23:13:09 -04:00
renovate[bot]
f2f439d4de chore(deps): update terraform random to v3.6.2 in server/controllers/events/testdata/test-repos/state-rm-workspace/dir1/versions.tf (main) (#4686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 20:01:06 -07:00
Rui Chen
8dccb2beb4 chore(lint): linting the codebase (#4668)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-06-17 11:22:30 -04:00
James Brookes
a6a3b21787 refactor: use hc-install for TF downloads + constraints (#4494)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-06-16 01:54:45 +00:00
shurkus
e28669064b fix: Preventing merging without running atlantis apply on Gitlab (#4651)
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-06-14 22:50:11 -04:00
Brett Delle Grazie
854c287986 fix: add app to the github app installation id (#4650)
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-06-13 00:02:21 +00:00
renovate[bot]
1b5ad2c1d2 chore(deps): bump tf to 1.8.5 and fix tests (#4653)
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-06-12 19:34:38 -04:00
Luke Massa
a1f7e980cb chore: pin terraform versions in CI (#4645) 2024-06-10 14:24:10 -04:00
Andrej Svenke
78373f690e feat: add silence_pr_comments on plan and apply (#4543) 2024-05-31 21:52:22 -04:00
Andrej Svenke
ded89a3e1c feat: optionally hide multienv output (#4422)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-05-29 15:27:46 -04:00
Caio Augusto
388bbfdd90 feat: do not react with emoji if "EmojiReaction" flag is empty (#4378)
Co-authored-by: caio.rocha <caio.rocha@ifood.com.br>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-05-22 14:36:10 -04:00
john-tipper
82cd0746ee fix: support gh-installation-id flag and fix #4578 #1229 #3545 (#4579)
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-05-22 14:35:39 -04:00
Ross Strickland
821de05ddd fix: apply strip_refreshing to output for errors (#4443)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-21 16:32:20 -04:00
Christian Winther
633ca09fce fix: implement tests for gitlab client 409 Conflict handling (#4548) 2024-05-19 16:58:35 -04:00
Pierre Guinoiseau
82bec78dff feat: Add option to lock on apply instead of plan (#3879)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-16 22:27:27 -07:00
Rui Chen
a4d89255fc fix: update hero img loc (#4554)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-14 19:47:53 +00: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
Rui Chen
a630646b8f chore(deps): terraform 1.8.3, opentofu 1.7.1, conftest 0.52.0 (#4534)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-14 10:38:50 -07:00
Christian Winther
e766e14e89 fix: implement backoff + retry when GitLab SetCommitStatus returns 409 (#4503)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-09 18:18:25 -04:00
Christian Winther
f35b8c69aa fix: os.Remove should ignore non existing errors (#4502) 2024-05-04 14:59:22 -05:00
Xing Yahao
267b2f133b feat: make api plan apply support workflow hooks (#4482)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-01 09:06:35 -07:00
Joseph Mulloy
93578d86b3 fix: Use ISO 8601 date format (#4141)
Co-authored-by: Luke Massa <lmassa@tripadvisor.com>
2024-05-01 00:24:56 -04:00
lvyaoting
5e25c00e17 chore: fix function names in comment (#4412)
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-04-26 09:46:07 -07:00
Christian Winther
2c6abc44fb fix: logger nil pointer in instrumented_project_command_builder (#4461) 2024-04-25 09:09:12 -04:00
Stas Ostrovskyi
cf9137b512 fix: Prevent download terraform with version 1.8.2 or higher (#4474) 2024-04-24 20:09:27 +00:00
Christian Winther
287add4086 fix: GitHub tests emitting unexpected keepers = {} (#4462) 2024-04-24 12:50:07 -07:00
Simon Heather
6824af5922 fix: Atlantis Apply Fails on GitLab v16.10 When the Merge Request Branch Needs Rebasing (#4402) 2024-04-05 15:08:58 +01:00
Simon Heather
f0312e38ca chore: Move Web Templates to External Files (#4384) 2024-04-01 10:37:00 +00:00
Simon Heather
890df73588 chore: Markdown Renderer Test Fix (#4389) 2024-03-28 13:40:59 +00:00
Simon Heather
b221fdc0af feat: Refine the logging in the Working Dir Package (#4294)
Co-authored-by: Dylan Page <dylan.page@autodesk.com>
2024-03-27 16:20:45 +00:00
Sourav Agrawal
49d1430eef fix: Make PolicyCheckSummary rendering optional (#4382) 2024-03-27 12:07:40 -04:00
Simon Heather
fb69965fd7 chore: Rename templates package to web_templates (#4383) 2024-03-27 12:05:52 -04:00
Luke Massa
e846d90d1a fix: Sort results in command builder before comparing (#4385) 2024-03-26 12:09:29 -07:00
Simon Heather
566b15f356 feat: Refine the Atlantis VCS Pull Request Comments (#4254) 2024-03-23 11:58:30 -04: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
Marco Ceppi
f214105f48 fix: detect workspaces when in subdirectories (#4363) 2024-03-16 16:32:23 -04:00
mmokijewski
d5b63d2ee7 improve error log and add unit test (needed to force push to change committing user) (#4177) 2024-03-05 10:33:31 -05:00
Hans Arnholm
d40b762ac0 revert: regression: remote ops detection TF v1.1 (#4169)
Reverts linter change from #3690 which breaks TF v1.1 detection
2024-03-05 10:31:40 -05:00
renovate[bot]
6884238cd1 fix(deps): update module github.com/google/go-github/v58 to v59 in go.mod (main) (#4241)
* fix(deps): update module github.com/google/go-github/v58 to v59 in go.mod

* Update fixtures.go

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2024-02-27 23:47:57 -06:00