Marcos Diez
ce95f8ee05
feat: Jobs now shown in a table in the main page ( #3784 )
...
* feat: better logging for UpdateStatus
* feat: jobs now shown in a table in the main page
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-12-11 21:34:33 -05:00
Luke Massa
fb484ad8eb
feat: Remove flag for disable apply ( #3912 )
...
* Add code for disabling apply flag
* Better comment
2023-12-11 20:29:21 -05:00
Ghais Zaher
379efd2d08
fix: clone repository before getting working dir ( #3867 )
...
* fix: clone repository before getting working dir
* unrelated change
* move TryLock up
* fix workspace and add e2e tests
* fix description
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-12-11 19:29:21 -05:00
renovate[bot]
d93f85a0c3
fix(deps): update module github.com/google/go-github/v54 to v57 in go.mod (main) ( #4032 )
...
* fix(deps): update module github.com/google/go-github/v54 to v57 in go.mod
* fix(deps): go-github v57 in server/events/vcs/testdata/fixtures.go
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-12-12 00:21:42 +00:00
Gabriel Martinez
56e38b4151
chore(atlantis): fix linter errors ( #3690 )
...
* chore(atlantis): fix linter errors
* fix superfluous-else
* revert gitlab check
* ignore stub funcs on azuredevops_client
* remove fetch-depth
* remove fail_on_error
* fix plan_step_runner_test.go
* more lint fixes
---------
Co-authored-by: Dylan Page <dylan.page@autodesk.com >
2023-12-11 19:02:16 +00: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
Marcos Diez
57fdc5a641
feat: full window sized terminal ( #3781 )
...
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-11-14 23:03:23 -08:00
Henry Muru Paenga
ce2b99223a
fix: Check user permissions on autoplan ( #3742 )
...
* Check user permissions on autoplan
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-11-14 22:21:11 -08:00
Luke Massa
8a87d2ef09
fix: Better determine number of expected comments and webhooks in e2e test ( #3907 )
...
* fix: Better determine number of expected comments and webhooks in e2e test
* Cleanup
2023-10-31 23:16:34 -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
b459645d03
fix: Running 'atlantis unlock' on a PR Causes The Whole Working Directory to be Deleted ( #3751 )
...
* Running 'atlantis unlock' on a PR Causes The Whole Working Directory to be Deleted
* Update events controller tests
* Fix events controller tests
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-09-11 11:00:12 -04:00
Simon Heather
cd7ae114eb
feat: add ability to track git untracked files ( #3724 )
2023-09-11 10:57:50 -04:00
Luke Massa
70c9f17007
Revert "fix(deps): update module github.com/google/go-github/v54 to v55 in go.mod ( #3743 )" ( #3748 )
...
This reverts commit 3a2a244272 .
2023-09-06 21:15:56 -07:00
renovate[bot]
3a2a244272
fix(deps): update module github.com/google/go-github/v54 to v55 in go.mod ( #3743 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 21:12:07 +00:00
renovate[bot]
55e24fbbf5
fix(deps): update module github.com/google/go-github/v53 to v54 in go.mod ( #3676 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 00:41:13 +00:00
Simon Heather
b024cef470
chore: Update server/events/working_dir Logging Configuration ( #3636 )
...
* Update server/events/working_dir logging
* Add e2e FileWorkspace logger
* Fix github app working dir test logger
* Update working_dir_test
---------
Co-authored-by: Dylan Page <dylan.page@autodesk.com >
2023-07-31 22:10:03 -04:00
Tom Baker
a791fbfff6
feat: Add username to main lock screen ( #3597 )
...
* Add username to lock screen
2023-07-17 16:18:52 +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
91593b647b
fix: Discarding a Plan Causes the Whole Working Directory to be Deleted ( #3553 )
2023-07-07 11:12:06 -04:00
Simon Heather
79a42ee90c
Plan Discarded Fix ( #3550 )
2023-07-07 10:26:22 -04:00
Andre Ziviani
b6466bdfd2
fix: Tests broken by #3503 ( #3583 )
2023-07-06 22:22:47 +00: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
Simon Heather
8552607c2b
Web Console Scrollbar Fix ( #3574 )
...
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-07-05 21:33:14 +00:00
Simon Heather
c6801990db
feat: update the lock detail web page to use a modern grid layout ( #3552 )
...
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-06-27 23:14:38 -04:00
Ken Kaizu
3954955e13
fix(deps): update module github.com/petergtz/pegomock/v3 to v4 ( #3534 )
...
* fix(deps): update module github.com/petergtz/pegomock/v3 to v4 in go.mod
* remove pegomock generate m option, which is not support after v4
* make regen-mocks
* replace pegomock v4 primitive eq/matchers
* convert pegomock v4 Eq/Any matchers
* remove custom models.Repo matcher
* pegomock v4 cannot use result method args
ref https://github.com/petergtz/pegomock/issues/123
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 15:05:23 -04:00
Ross Strickland
7545296741
fix: parse custom run step output in policy_check ( #3502 )
...
* parse custom run output in policy_check
* error if no conftest output
* e2e test
* Adding other policy template.
* update markdown renderer test
2023-06-20 14:55:37 -04:00
nitrocode
e505817a7d
chore(deps): bump pegomock v3.0.1 ( #3515 )
2023-06-13 11:36:09 -07:00
Simon Heather
86607d8aeb
feat: Add GitLab Reaction Emojis on MR Comments ( #3456 )
...
* Add GitLab Reaction Emoji
* Update docs
* update docs
* Update event_parser_test
2023-06-12 22:27:42 -05:00
Simon Heather
c5d03edd1a
feat: Update Lock Index Page to Use a CSS Grid Layout ( #3509 )
...
* Update Lock Index Page to Use a CSS Grid Layout
* Update styles
* Modify css
2023-06-11 22:45:13 -05:00
Simon Heather
7fa9b9c925
fix: Remove the 'Plan Discarded' Message from the Enable/Disable Apply Commands ( #3511 )
...
* Remove `/?discard=true`
* Restore forward slash
2023-06-11 09:01:08 -05:00
Simon Heather
fa6a77a6ea
Add xterm-addon-search-bar ( #3507 )
2023-06-11 01:22:09 -05:00
nitrocode
79500182db
chore(deps): bump tally to v4 ( #3498 )
2023-06-08 21:57:46 -04:00
renovate[bot]
1d91dfb083
fix(deps): update module github.com/google/go-github/v52 to v53 in go.mod ( #3495 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 03:41:38 +00:00
Marcus Ramberg
4ed44d906c
feat(reaction): disable reactions by setting an empty string ( #3360 )
...
* fix: Previous implementation tried to do comment parsing inside github, and only worked for 'atlantis' command.
This commit improves on that to make it possible to implement reactions in other VCS providers and also reuse the existing comment parsing.
* test: Add negative test to confirm reactions are not added for invalid comments
* test: Add a negative test to confirm invalid commands do not get a reaction
2023-05-05 23:00:25 -05:00
Ross Strickland
434bab5c70
[Feature] - Add clear policy approval functionality. ( #3351 )
...
* Add clear policy approval functionality.
* Fix param name, update doc.
* fix test, add e2e test
* empty commit to re-trigger tests.
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-05-02 11:02:04 -04:00
renovate[bot]
cc2d0c16e3
fix(deps): update module github.com/google/go-github/v51 to v52 in go.mod ( #3346 )
...
* fix(deps): update module github.com/google/go-github/v51 to v52 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 >
2023-04-30 03:07:33 +00:00
Marcus Ramberg
f8b293ada0
feat: Github reaction emojis on PR comments ( #2706 )
...
* feat: Basic implementation of github reactions on PRs
Adds eyes whenever it detects an `atlantis` command.
* feat: Make the emoji reaction configurable
* tests: Add a mocked test for EmojiReaction being called in github
* ci: Disable revive linter for stubs
2023-04-25 17:22:51 -04:00
Ross Strickland
684f2fa7e0
feat(policies): Add granular policy_sets ( #3086 )
...
* Initial work.
* Periodic push.
* Fmt and start adding args to approve_policies cmd.
* keep funcs for now.
* Periodic push.
* Periodic push.
* fmt.
* Move approve policies logic to project_command_runner.
* update some tests
* More test fixes.
* update more tests. fix som logic.
* more tests. add additional info to common data for custom templates.
* fix apply with policies bug. update more tests/fmt
* file perms
* fix error parsing for conftest results.
* Update more tests and linting.
* update documentation.
* Address no-fail case. Address comments.
* Forgot changes.
* fix markdown renderer
* Fix policy fail logic. remove uneeded tmpl var
* targeted policy approvals fix
* Address PR comments.
* empty commit to trigger build
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
Co-authored-by: rkstrickland <ross.strickland@instacart.com >
Co-authored-by: Dylan Page <dylan.page@autodesk.com >
2023-04-20 21:53:46 -04:00
renovate[bot]
763f017169
fix(deps): update module github.com/google/go-github/v50 to v51 in go.mod ( #3316 )
...
* fix(deps): update module github.com/google/go-github/v50 to v51 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 >
2023-04-11 00:36:40 -05:00
nitrocode
8374e570b6
fix(website): rm redundant v prefix ( #3229 )
...
* fix(website): rm redundant v prefix
* fix(footer): scroll should maintain version position
* fix(test): Use ~> 1.3 for 1.3.9 match
2023-03-15 14:31:34 -05: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
SSKLCP
50de813677
fix(azure-devops): add check for test webhook URL ( #2809 )
...
* Adding check for Azure DevOps Test Webhook URL so they aren't processed like real events
* feat: customize vcs comment command executable name
* Altering case on isAzureDevOpsTestRepoURL function
* Altering case on URL parameter
* Altering checks to ensure all Azure DevOps Ignore tests pass
* Extending setup method to support Azure DevOps
* Fixing issue from merge conflict error
* gofmt
* Adding null checks to Test URL checks
* moving azuredevopsTestUrl to const
* Changing azuredevopsTestUrl to azuredevopsTestURL
* Cleaning up return statement
Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com >
---------
Co-authored-by: Ken Kaizu <k.kaizu38@gmail.com >
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-02-21 18:44:32 -06:00
Ken Kaizu
fdcb1adfb0
feat: suppress log package logging ( #3076 )
...
To suppress uber-go/tally logs which are not structured logs.
2023-01-30 23:55:01 -06:00
Ken Kaizu
acc8ef6abc
fix(deps): update module github.com/google/go-github/v49 to v50 ( #3074 )
2023-01-30 22:25:56 -06: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
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
Ken Kaizu
da48fb515d
chore(test): add no test dir tests, rename testdata dir ( #2986 )
...
* add web_templates render tests
* add ansic strip tests
* move fixtures into testdata dir which is golang specific test dir name
* add server/metrics tests
* add recovery test
* add runtime stats test
2023-01-15 23:14:23 -06:00