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
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
9e3d8879ec
fix: PR status summary should remove Note: Objects have changed outside of Terraform ( #3010 )
...
* extract PlanSuccess.DiffSummary
* commit status updater use DiffSummary instead Summary to show only diff result
2023-01-18 20:14:58 -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
Ken Kaizu
6f28b6a8e4
fix: trim space markdown renderer ( #2947 )
...
* chore: trim space rendered templates
* regen e2e results
* revert parallel output substring check test case
* follow master branch
* follow main branch
* Update approve_policies_command_runner_test.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-01-10 23:48:20 -06:00
Leandro López
04f1d062d6
Improve plan summary performance ( #2907 )
...
* Add benchmark for *PlanSuccess.Summary
This is for taking a baseline and comparing with future
improvements. I just did a test run and got the following results:
$ go test -bench=. ./server/events/command
goos: darwin
goarch: arm64
pkg: github.com/runatlantis/atlantis/server/events/command
BenchmarkPlanSuccess_Summary/empty_summary,_no_matches-10 82564 12415 ns/op 27352 B/op 114 allocs/op
BenchmarkPlanSuccess_Summary/changes-10 167904 7148 ns/op 14309 B/op 69 allocs/op
BenchmarkPlanSuccess_Summary/no_changes-10 92410 12984 ns/op 27705 B/op 114 allocs/op
BenchmarkPlanSuccess_Summary/changes_outside_Terraform-10 89256 13505 ns/op 27882 B/op 117 allocs/op
BenchmarkPlanSuccess_Summary/changes_and_changes_outside-10 159199 7527 ns/op 14493 B/op 72 allocs/op
PASS
ok github.com/runatlantis/atlantis/server/events/command 7.536s
To have a better comparison I've ran all the benchmarks with 200,000
iterations, and got this:
$ go test -bench=. ./server/events/command -benchtime=200000x
goos: darwin
goarch: arm64
pkg: github.com/runatlantis/atlantis/server/events/command
BenchmarkPlanSuccess_Summary/changes_and_changes_outside-10 200000 7637 ns/op 14487 B/op 72 allocs/op
BenchmarkPlanSuccess_Summary/empty_summary,_no_matches-10 200000 12379 ns/op 27352 B/op 114 allocs/op
BenchmarkPlanSuccess_Summary/changes-10 200000 7134 ns/op 14312 B/op 69 allocs/op
BenchmarkPlanSuccess_Summary/no_changes-10 200000 12960 ns/op 27692 B/op 114 allocs/op
BenchmarkPlanSuccess_Summary/changes_outside_Terraform-10 200000 13731 ns/op 27862 B/op 117 allocs/op
PASS
ok github.com/runatlantis/atlantis/server/events/command 11.837s
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com >
* Compile summary regexps only once
By initializing these regexes at program first run instead of every
time the function is called we gain better resource usage and much
faster results, as shown in this results with 200,000 iterations as in
the previous commit:
$ go test -bench=. ./server/events/command -benchtime=200000x
goos: darwin
goarch: arm64
pkg: github.com/runatlantis/atlantis/server/events/command
BenchmarkPlanSuccess_Summary/empty_summary,_no_matches-10 200000 29.49 ns/op 0 B/op 0 allocs/op
BenchmarkPlanSuccess_Summary/changes-10 200000 450.4 ns/op 0 B/op 0 allocs/op
BenchmarkPlanSuccess_Summary/no_changes-10 200000 357.9 ns/op 0 B/op 0 allocs/op
BenchmarkPlanSuccess_Summary/changes_outside_Terraform-10 200000 824.1 ns/op 193 B/op 3 allocs/op
BenchmarkPlanSuccess_Summary/changes_and_changes_outside-10 200000 754.8 ns/op 177 B/op 3 allocs/op
PASS
ok github.com/runatlantis/atlantis/server/events/command 0.943s
With 200,000 iterations the results were almost immediately and I
couldn't observe the real performance, so I've removed the limitation
and got the following:
$ go test -bench=. ./server/events/command -benchtime=200000x
goos: darwin
goarch: arm64
pkg: github.com/runatlantis/atlantis/server/events/command
BenchmarkPlanSuccess_Summary/empty_summary,_no_matches-10 200000 29.49 ns/op 0 B/op 0 allocs/op
BenchmarkPlanSuccess_Summary/changes-10 200000 450.4 ns/op 0 B/op 0 allocs/op
BenchmarkPlanSuccess_Summary/no_changes-10 200000 357.9 ns/op 0 B/op 0 allocs/op
BenchmarkPlanSuccess_Summary/changes_outside_Terraform-10 200000 824.1 ns/op 193 B/op 3 allocs/op
BenchmarkPlanSuccess_Summary/changes_and_changes_outside-10 200000 754.8 ns/op 177 B/op 3 allocs/op
PASS
ok github.com/runatlantis/atlantis/server/events/command 0.943s
I've also compared the results of running the benchamrks with 200,000
iterations, 10 times each, and these are the results:
$ benchstat orig.txt improv.txt
name old time/op new time/op delta
PlanSuccess_Summary/empty_summary,_no_matches-10 12.6µs ± 2% 0.0µs ± 1% -99.90% (p=0.000 n=10+9)
PlanSuccess_Summary/changes-10 7.19µs ± 0% 0.36µs ± 2% -94.96% (p=0.000 n=8+9)
PlanSuccess_Summary/no_changes-10 13.2µs ± 2% 0.4µs ± 0% -97.27% (p=0.000 n=10+9)
PlanSuccess_Summary/changes_outside_Terraform-10 13.7µs ± 1% 0.8µs ± 0% -94.02% (p=0.000 n=9+9)
PlanSuccess_Summary/changes_and_changes_outside-10 7.71µs ± 5% 0.75µs ± 0% -90.21% (p=0.000 n=10+8)
name old alloc/op new alloc/op delta
PlanSuccess_Summary/empty_summary,_no_matches-10 27.4kB ± 0% 0.0kB -100.00% (p=0.000 n=10+10)
PlanSuccess_Summary/changes-10 14.3kB ± 0% 0.0kB -100.00% (p=0.000 n=9+10)
PlanSuccess_Summary/no_changes-10 27.7kB ± 0% 0.0kB -100.00% (p=0.000 n=10+10)
PlanSuccess_Summary/changes_outside_Terraform-10 27.9kB ± 0% 0.2kB ± 0% -99.31% (p=0.000 n=10+7)
PlanSuccess_Summary/changes_and_changes_outside-10 14.5kB ± 0% 0.2kB ± 0% -98.78% (p=0.000 n=10+8)
name old allocs/op new allocs/op delta
PlanSuccess_Summary/empty_summary,_no_matches-10 114 ± 0% 0 -100.00% (p=0.000 n=10+10)
PlanSuccess_Summary/changes-10 69.0 ± 0% 0.0 -100.00% (p=0.000 n=10+10)
PlanSuccess_Summary/no_changes-10 114 ± 0% 0 -100.00% (p=0.000 n=10+10)
PlanSuccess_Summary/changes_outside_Terraform-10 117 ± 0% 3 ± 0% -97.44% (p=0.000 n=10+10)
PlanSuccess_Summary/changes_and_changes_outside-10 72.0 ± 0% 3.0 ± 0% -95.83% (p=0.000 n=10+10)
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com >
* Remove extra allocation
There's no need for fmt.Sprintf for such a simple use.
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com >
* Add MarkdownRenderer benchmark for diff markdown format
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com >
* Compile markdown diff regexes once
This change doesn't improve performance as dramatically as the summary
regexes do, however, it does reduce the amount of resources used:
$ benchstat markdowndiff.orig.txt markdowndiff.inkel.txt
name old time/op new time/op delta
RenderProjectResultsWithEnableDiffMarkdownFormat/single_successful_plan_with_diff_markdown_formatted/verbose_true-10 727µs ± 0% 717µs ± 2% -1.31% (p=0.002 n=10+10)
RenderProjectResultsWithEnableDiffMarkdownFormat/single_successful_plan_with_diff_markdown_formatted/verbose_false-10 725µs ± 0% 715µs ± 1% -1.33% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
RenderProjectResultsWithEnableDiffMarkdownFormat/single_successful_plan_with_diff_markdown_formatted/verbose_true-10 171kB ± 0% 153kB ± 0% -10.60% (p=0.000 n=10+10)
RenderProjectResultsWithEnableDiffMarkdownFormat/single_successful_plan_with_diff_markdown_formatted/verbose_false-10 171kB ± 0% 153kB ± 0% -10.60% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
RenderProjectResultsWithEnableDiffMarkdownFormat/single_successful_plan_with_diff_markdown_formatted/verbose_true-10 364 ± 0% 214 ± 0% -41.29% (p=0.000 n=10+9)
RenderProjectResultsWithEnableDiffMarkdownFormat/single_successful_plan_with_diff_markdown_formatted/verbose_false-10 358 ± 0% 207 ± 0% -42.05% (p=0.000 n=10+10)
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com >
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com >
2023-01-04 12:28:51 -08: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
Ken Kaizu
2d29db6893
fix: Policy check summary not shown outside of "Show Output" details ( #2837 )
2022-12-20 07:28:12 -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
Thomas Lorreyte
7f75002b6b
feat: add policy check summary in wrapped messages ( #2452 )
...
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-11-12 22:45:19 -06:00
Adam Verigin
c3462f9073
Add COMMENT_ARGS to pre/post-workflow hook execution environment ( #2621 )
2022-11-07 14:50:49 -06:00
Volodymyr Stupnytskyi
4cc5cf6848
Updating diffKeywordRegex to properly handle new test case ( #2551 )
...
* new resource was added to test TestRenderProjectResultsWithEnableDiffMarkdownFormat
* Correct test case
* 1st regex change
* Adding one more pattern to regex
Co-authored-by: dyurovskykh-tivo <Dmytro.Yurovskykh@tivo.com >
2022-11-04 09:19:39 -07:00
Rui Chen
6fd8130fe1
lint: gofmt -w -s . ( #2504 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-12 18:08:46 -07:00
Paul O'Connor
4143c87559
bug: Fix GitHub Markdown for added and deleted resources ( #2418 )
...
* bug: Fix GitHub Markdown for added and deleted resources
* Fix spacing in test
2022-09-07 17:48:10 -07:00
Rémi Lapeyre
b409cb8470
Add the /plan and /apply endpoints ( #997 )
...
* Add the /plan and /apply endpoints
* Resolve conflicts
* Fix wrong merge
* Add missing methods for mocks
* Fix linting error
* Fix linting error
* Move api plan/apply into APIController
* Extract commond code into helper functions
* Implement GetCloneURL for GitHub
Co-authored-by: Li Lin <li.lin@hashicorp.com >
2022-07-27 11:36:49 -07:00
Paul O'Connor
7a6b5b85bb
Only highlight Terraform changes on GitHub ( #2337 )
2022-07-12 08:58:39 -07:00
Sarvar Muminov
90e92e3a13
chore: move CommandContext and CommandResult to models ( #193 ) ( #2093 )
...
* Moved CommandContext and CommandResult to models (#193 )
* Moved CommandContext and CommandResult to models
* move from models to command
rename CommandContext -> Context
rename CommandResult -> Result
* moved command related helpers into command package
* move ProjectCommandContext and ProjectResult to command/project package
* move project command context and project result
* revert unrelated code
* move tests
* fix left over
* fix linting
* fix tests
* remove unused import
* fix project context dependencies
* fix depenedecies
* fix typo
2022-03-21 10:36:13 -07:00
Nish Krishnan
d1d1539ced
feat: Add stats support for basic operations ( #2147 )
2022-03-18 15:18:13 -07:00
Aayush Gupta
58e9b42bbc
feat: Use UUIDs to identify log streaming jobs ( #2051 )
...
* Add UUID for Log Streaming Job ID (#167 )
* Update log handler to close buffered channels when an operation is complete (#170 )
* Add preliminary check before registering new receivers in the log handler (#173 )
* Using projectOutputBuffers to check for jobID instead of receiverBuffers (#181 )
* Refactor log handler (#175 )
* Reverting go.mod and go.sum
* Fix lint errors
* Fix linting
2022-02-09 13:15:49 -08:00
Sarvar Muminov
7a927c050b
Moving config files to core/config ( #2036 )
...
* Moving config files to core/config
* fix package names
* fix package dependencies
* linting fixes
* more linting fixes
* ran golangci-lint run --fix
2022-02-03 11:06:04 -08:00
Roman Pertsev
576f8fbf4b
Fix URL generation ( #2021 )
...
* fix org generation
* fix key generation
* fix variable name
* add normalization vars
* encapsulate vars
Co-authored-by: Roman Pertsev <roman.pertsev@nordigy.ru >
2022-01-31 12:15:16 -07:00
Aayush Gupta
7d3f3fb490
fix: broken Log Streaming URL when working directory is set to "./" ( #2015 )
...
* Replacing . with _ when generating project identifier if project name is not set
* Adding test for GenerateProjectJobURL when working dir set to .
* Replacing . with _ when generating project identifier if project name is not set
* Fixing merge conflicts
2022-01-24 12:18:50 -08:00
Tim McFadden
b859f72561
feat: post workflow hooks ( #1990 )
...
* Add post-workflow hooks
* docs: Add cost estimation as post workflow use case
Co-authored-by: Gerald Barker <geraldbarker@gmail.com >
2022-01-12 19:57:45 -05:00
Aayush Gupta
004074a29f
feat: streaming terraform logs in real-time ( #1937 )
2021-12-30 09:52:52 -05:00
Nish Krishnan
33b4d6325a
refactor: Add PullStatusFetcher interface ( #1904 )
2021-11-18 11:42:36 -08:00
Aayush Gupta
bb2c239dd9
Updating client interface and adding ApprovalStatus model ( #1827 )
2021-09-22 12:41:05 -07:00
Enoch Lo
89236d8e54
Add flag to enable markdown diff formatting ( #1751 )
2021-08-30 14:01:52 -07:00
Pat Sier
d358857e80
feat: add version command ( #1691 )
2021-07-12 11:10:15 -04:00
chroju
e0f5b83aa7
Fix plan summary when changes outside of terraform is detected ( #1593 ) ( #1594 )
...
Co-authored-by: chroju <chroju@users.noreply.github.com >
2021-06-24 08:30:31 -07:00
Nish Krishnan
79309ed39c
[ORCA-559] Fix hide previous command logic ( #37 ) ( #1549 )
2021-05-03 12:47:23 -07:00
Istvan Tapaszto
632460b20b
Delete source branch on merge ( #1357 )
...
Co-authored-by: Tapaszto, Istvan <istvan.tapaszto@msciintegration.onmicrosoft.com >
2021-04-22 09:54:18 -07:00
Wojciech Krysmann
0886b280f9
Add plan summary to unfolded part of comment ( #1518 )
2021-04-22 09:14:44 -07:00
Nish Krishnan
df106ded11
Make policy checks its own apply requirement. ( #61 ) ( #1499 )
...
* Make policy checks its own apply requirement. (#61 )
* Remove warning from docs.
2021-04-13 12:46:47 -07:00
Nish Krishnan
7ac8106f8a
Add structured logger ( #54 ) ( #1467 )
...
This is two changes:
Replacing all usages of SimpleLogger with it's interface SimpleLogging which makes it easier to swap out loggers going forward
Nukes SimpleLogger in favor of StructuredLogger which allows us to better analyze logs in our log management system we choose.
2021-04-06 12:02:25 -07:00
Sarvar Muminov
ad76385c76
Global atlantis lock new release branch ( #1473 )
...
* Orca 679 global atlantis lock new release branch (#49 )
* Adding CommandLocker to boltDB and exposing it through locker interface
* Apply lock ui and apply command lock controller
* Minor comments
* Adding more tests and refactorinng
* Linting fixes
* creating applyLockingClient variable to fix interface error
* nullsink for stats
* Addressing PR comments
* fixing e2e tests
* linting fix fml
* Update outdated function descriptions
Address PR comments
* revert stats sink changes
* remove unnecessary dependencies
2021-04-01 15:40:29 -07:00
Sarvar Muminov
af2a806870
Implement a new policy check workflow ( #1317 )
...
* Adding policy_check support into yaml config
* Added policy check model and runtime structs
* Adding BuildPolicyCheckCommand to ProjectCommandBuilder
* Return incorrectly deleted code
* Remove BuildAutoPolicyPlanCommand from ProjectCommandBuilder
* Split runAutoCommand into two functions
runAutoPlanCommand - does what originally RunAutoplancommand was doing
except now it returns CommandResult and []models.ProjectCommandContext
runAutoPolicyCheckCommand - accepts CommandContext, CommandResult, and
[]models.ProjectCommandContext as arguments and runs PolicyCheckStep runner
* Refactor RunCommentCommand
* Remove BuildPolicyCheckCommand and rename StepCmdExec back to TerraformExec
* Add policy step runner logic and conftest interfaces.
* Add show step runner to policy check stage.
* Adding models.PolicyCheckCommand to buildCtx
This also means buildPlanAllCommands call buildCtx twice once with
models.PlanCommand and once with models.PolicyCheckCommand
* Adding new project_command_builder that supports policy_check
* Refactoring PolicyCheck specific logic into a PolicyCheckProjectCommandBuilder
* Moving events.CommandContext to models.CommandContext this will allow me
to remove buildCtx method and move ProjectCommandContext creation into
models package
* Policy Owners might be different types, for that reason we are
refactoring Owners into its own struct with specific keys defining
different owner types
Co-authored-by: Nish Krishnan <nishk@lyft.com >
Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com >
2021-02-10 18:13:44 -08:00
Sarvar Muminov
3456dc934b
Add pre workflow custom hooks to run scripts before workflow execution(plan, apply, etc) ( #1255 )
...
* Updated runatlantis.io/docs to have `pre-workflow-hooks` use cases and examples
2020-12-14 15:19:52 -05:00
David McPike
0aea14a8ec
Fixes #1079
...
- NewRepo() encodes clone URLs that contain spaces
2020-07-29 23:58:15 -05:00
Luke Kysow
d3a6d18710
Merge remote-tracking branch 'origin/master' into deleted-status
2020-06-23 22:22:10 -07:00
Paris Morali
aed8d22b52
Implement atlantis unlock
...
This command is run on a pr and deletes all locks for the pr
2020-06-23 20:42:03 -07:00
Paris Morali
ab7016063a
Atlantis lock discard via VCS comment
...
This successfully deletes the atlantis lock and
allows a competing PR to plan, but doesn not delete
the actual plans, so a user can still apply after
the lock is discarded.
This will be investigated in a follow up commit
Also fixed the basic mark down rendering for the discard command
2020-06-08 15:56:58 +01:00
parmouraly
ad512f100c
Merge branch 'master' into fix-automerge-on-noapply
2020-06-04 16:32:25 +01:00
Paris Morali
ce1d577f1d
Integrate PR feedback and tests adapted
2020-05-09 11:42:48 +01:00
Marc Barlo
bebfdcaeef
Add back the parallel_plan repo cfg option
...
+ Default parallel plans breaks in a lot of autoplan scenarios i.e. with shared workspaces
+ Added a set of e2e tests to check parallel plans and applies
+ Also added an option to the Terraform client to turn off the plugin cache. This was breaking the e2e test suite (never seen this error in practice)
2020-05-07 22:14:04 -07:00
Marc Barlo
7452d6aa13
Make parallel plans the default. Add flag for parallel apply
2020-05-05 18:15:10 -07:00
Marc Barlo
d078357d65
Merge branch 'master' of github.com:runatlantis/atlantis into parallel-plans-upstream
2020-05-04 17:19:34 -07:00
Paris Morali
c5eda2742b
Refactoring model to allow NotPlanned status
...
As part of the fix the model is slightly extended
to allow for an extra PlanStatus indicating the absence
of a plan for a project. This allows us to unlock a project
and delete the plan, without having to completely remove the
project status.
That means that atlantis knows there is a project that should
normally have a plan and be accounted for, but the plan has been
deleted/unlocked.
The reason this is important is so that we can't "trick" atlantis
into thinking that the PR can be merged just because we've lost
track of a projectstatus as a result of a manual unlock.
2020-04-26 13:55:42 +01:00
CJ Ketchum
611ed55c8c
Fix parse URL tests
2020-04-10 14:36:53 -07:00
Marc Barlo
f2609fd70b
Add parallel plans via repo config
2020-02-07 14:21:53 -08:00
Luke Kysow
889d584514
Refactor branch diverged warning.
...
- only check for divergence if using checkout strategy merge
2019-11-27 10:52:39 -08:00