Commit Graph

26 Commits

Author SHA1 Message Date
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
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
6ecb7a6f76 replace www.terraform.io doc urls (#2797) 2022-12-14 18:07:40 -06:00
gurpalw
117ce59a77 docs: update notes to clarify where the environment variables are available (#2532)
* update notes to clarify where the environment variables are available

* Update runatlantis.io/docs/custom-workflows.md

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

Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2022-10-27 09:43:44 -07:00
nitrocode
7a1b4f4ef3 cdktf docs (#2446)
* cdktf docs

* Update custom-workflows.md

* Add repo file structure

* Added optional repo atlantis.yaml

* Update custom-workflows.md
2022-08-15 10:12:11 -07:00
Aiden Scandella
9b7cb0f4c1 Update terragrunt workflow documentation (#2350)
With #2261, we now open a stdin pipe like the built-in terraform client
does. Doing so apparently caused some user's `plan`s to hang when they
had variables requiring inputs, since `terraform` saw that stdin was
open and prompted for a value.
2022-06-29 15:30:02 -07:00
Istvan Tapaszto
a491542b48 feat: MultiEnv step added (#1793)
* MultiEnv step added

* Values removed from the output

* Fixing tests

* multienv_step_runner_test added

* Documentation of new feature added

* Documentatation of new feature  modified

* multienv_step test file extension changed

* Fixed multinev_step_runner test

* Enhanced debug logging in multienv_step_runner

* Enhanced errorhandling

* Test command modified

* Test command modified

* Test command modified

* Test command modified

* Errorhandling modified

* Test command modified

* Test command modified

* Create empty map in test

* Fixing test ExpOut

* Testing, refactoring, eliminating extra debug log

* MultiEnv result modified from json to plain string

* MultiEnv step Run parameter updated

* Import added

* project_command_runner updated

* project_command_runner updated

* multienv_step_runner_test updated

* multienv doc modified

* Update runatlantis.io/docs/custom-workflows.md

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

Co-authored-by: Istvan Tapaszto <istvan.tapaszto@msci.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2022-05-13 14:30:08 -07:00
ocaisa
3dcc64209f docs: fix some typos (#2048)
* Typo

* Do some spellchecking while I'm here
2022-02-04 16:12:26 -08:00
Aayush Gupta
004074a29f feat: streaming terraform logs in real-time (#1937) 2021-12-30 09:52:52 -05:00
Marius Hennecke
aef146fba0 add run step environment variable SHOWFILE (#1611) 2021-06-22 09:32:21 -07:00
Diego Rodríguez Baquero
cdb4ebd298 docs: fix missing bracket (#1577) 2021-05-13 02:56:57 -04:00
Nish Krishnan
9b28e8e940 Add extra args support to policy check step runner. (#1543)
* Add extra args support to policy check step runner.

* Fix tests/mocks.

* Update docs.
2021-04-30 14:37:54 -07:00
myoung34
a6e5c16608 Feature: Add HEAD_COMMIT env var (#1392) 2021-02-22 21:47:00 -08:00
David Mattia
0e7beab64d Add reference to terragrunt-atlantis-config in the Terragrunt docs (#1102)
* Added pointer to terragrunt-atlantis-config

Co-authored-by: dmattia <david@transcend.io>
2020-07-09 09:12:57 -07:00
Richard Lee
0f496c867a Export ctx.RepoRelDir to run step environment. (#1063)
* Export ctx.RepoRelDir to run step environment.
2020-06-01 17:06:56 -07:00
Derek Beattie
e449628a22 Fix terragrunt extension type 2020-04-03 18:56:36 -05:00
Mark Keisler
b926e5dfff Expand on config for terragrunt custom workflow to accomodate downloaded
default-tf-version

See https://github.com/runatlantis/atlantis/issues/910
2020-01-23 13:35:27 -06:00
Luke Kysow
f68a82685d Document env step
Fixes #758
2020-01-06 10:21:03 -06:00
Jason Huling
57e7612475 update comment_args docs for escaping 2019-11-09 22:06:31 -08:00
Jesse Bye
295fa93943 Support terragrunt.hcl for autoplanning 2019-08-26 15:06:04 +02:00
Alex Rowley
dd02deaf76 Add CommentArgs to run step runner (#693)
Add CommentArgs to run step runner

This should allow the extra args passed in the comment to be used by
run steps

Fixes #670
2019-07-11 14:21:36 +01:00
Luke Kysow
4ccb6949e8 Add docs for PROJECT_NAME 2019-04-29 17:20:10 -04:00
Sergei Ryabkov
263eff7fbd fix the placement of the note 2019-04-25 11:08:57 -04:00
Sergei Ryabkov
f9e70bd759 Update custom-workflows.md 2019-04-25 10:29:06 -04:00
Luke Kysow
25fed35728 New version 3 of atlantis.yaml
This version changes how we parse custom run steps.
Previously we used the go-shlex library to parse the steps but this
caused users issues because they'd have to use weird escaping.

Now we simply pass the step directy to sh -c without any parsing. The
parsing was unnecessary.
2019-03-28 13:45:12 -05:00
Luke Kysow
d78b106cab Refactor @jjulien's server-side config work. 2019-03-27 14:47:48 -05:00