Commit Graph

277 Commits

Author SHA1 Message Date
Rui Chen
173dfdc8c5 docs: update links for bitbucket-cloud create-an-app-password (#2340)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-06-27 23:21:17 -04:00
alex bezek
a3b9f7c9df Update streaming-logs.md docs (#2313)
Hello, I was reading through these docs and this section seemed incorrect. I assume the 2 commands it supports are atlantis plan/apply and not the underlying 3 terraform commands. Let me know if I'm misinterpreting this. Thanks!

Co-authored-by: Rui Chen <rui@chenrui.dev>
2022-06-13 15:08:03 -07:00
giuli007
82ac706273 fix: Delete locks and workdirs with potentially stale previous plans which fixes 1624 (#1704)
* Delete previous plans on autoplan or atlantis plan

When using non-default workspaces, plans are stored
in pr-and-workspace-specific directories.
If a PR is subsequently updated it might happen that
some of the plans are no longer relevant with regards
to the latest changes.
This change ensures that plans are always deleted
when a generic plan is triggered either by autoplan
or by a "atlantis plan" command.
NB Plans are not cleaned up when specific projects are
planned explicitly with "atlantis plan -p/-d/-w".

* Use DeleteLockCommand to delete locks and workdirs
containing previous plans

Co-authored-by: giuli007 <giuglioz@gmail.com>
2022-06-10 21:18:01 -07:00
Yahya
42321707be docs: fix security warning inconsistent formatting (#2302) 2022-06-07 11:46:59 -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
Paul O'Connor
c6700c4ad0 docs: Add unlock command (#2183) 2022-05-13 14:17:19 -07:00
Rui Chen
b1fb97047b links(github): replace help.github.com with docs.github.com links (#2227)
* links(github): replace help.github.com with docs.github.com links

* fix another link

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-04-29 17:35:42 -04:00
Ed Laur
f8811e60ed docs: fix apply requirements list (#2170) 2022-04-08 11:49:24 -07:00
KevinSnyderCodes
5288389897 fix: allow projects in separate directories to run in parallel (#2131)
* fix: add path to DefaultWorkingDirLocker.TryLock()

In the release notes for v0.13.0: https://github.com/runatlantis/atlantis/blob/master/CHANGELOG.md#features-4

> Running in parallel is only supported if you're using workspaces to separate your projects. Projects in separate directories can not be run in parallel currently.

This commit adds `path` as an argument to `DefaultWorkingDirLocker.TryLock()` and includes `path` in the `workspaceKey` used to check if a project is locked. This should allow projects in separate directories to run in parallel.

To my knowledge, there is no functional reason that projects in separate directories cannot run in parallel.

All calls to `DefaultWorkingDirLocker.TryLock()` have been updated. A new unit test `TestTryLockWithDifferentPaths` has been added to test the behavior of locking two separate directories with the same workspace name.

* Add documntation for parallel_plan and parallel_apply options

Co-authored-by: Kevin Snyder <kevinsnyder@ip-192-168-4-61.ec2.internal>
Co-authored-by: Kevin Snyder <kevinsnyder@ip-10-60-10-94.ec2.internal>
2022-03-21 16:08:52 -07:00
Nish Krishnan
d1d1539ced feat: Add stats support for basic operations (#2147) 2022-03-18 15:18:13 -07:00
MB
fee3a4a292 docs: update docker registry link to ghcr (#2130)
Issue #2103
2022-03-11 08:29:17 -05:00
Aayush Gupta
a752a6bd22 docs: moving streaming logs section from top-level navigation to docs (#2066)
* Moving logs tab from top navigation bar to docs

* fixing link error

* Update runatlantis.io/.vuepress/config.js

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>
2022-03-03 13:47:03 -05:00
Aayush Gupta
bbd539b66a docs: add user facing documentation for real-time logs (#1963)
* Added user facing documentation

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Adding top level navigation

* Adding content

* Removing unnecessary artifacts

* Remooving package-loc

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Addressed comments

* Fixing website link error

* Noop commit

* Noop

* Removing link

* Added user facing documentation

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Adding top level navigation

* Adding content

* Removing unnecessary artifacts

* Remooving package-loc

* Apply suggestions from code review

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>

* Addressed comments

* Fixing website link error

* Noop commit

* Noop

* Removing link

* Adding link

* Remove unused assets

Co-authored-by: Nish Krishnan <nishkrishnan@users.noreply.github.com>
2022-02-09 10:44:40 -08:00
ocaisa
3dcc64209f docs: fix some typos (#2048)
* Typo

* Do some spellchecking while I'm here
2022-02-04 16:12:26 -08:00
Alistair Scott
8f3fcc05f7 docs: fix policy example with custom workflow (#2049)
* Specify the workflow for the repo under the `repos` key.
* Fix indentation
* Fix typo `seperate` -> `separate`
2022-02-04 12:50:35 -08:00
rui
90c4a83d3e docs: update devops PR link (#2033)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-02 17:56:44 -05:00
Keita Kitamura
d28ae20595 docs: fix incorrect wildcard and more precise instruction to --gh-team-allowlist option. (#2005)
* docs: fix incorrect wildcard.

Signed-off-by: keita <keitap@gmail.com>

* docs: add more precise instruction to --gh-team-allowlist option.

Signed-off-by: keita <keitap@gmail.com>
2022-01-17 21:21:12 -08:00
Mihail Kuzmich
69d6fb25b1 fix(docs): update screenshot for Bitbucket server webhook configuration | increase image size to make it readable (#1995) 2022-01-14 12:55:43 -08:00
ilamtap
9a8e93b2ad docs: include infracost ref in post-workflow-hooks (#1997)
Added link to infracost Docs
2022-01-13 12:53:20 -05:00
William Lord
4e28d72930 docs: add colon to policy checking yaml (#1996) 2022-01-13 12:51:54 -05: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
Gerald Barker
8f98558f54 Fix autoplan when .terraform.lock.hcl is modifed (#1991) 2022-01-12 11:17:43 -08:00
Logan Stuart
a6677bda85 Document undiverged apply requirement in more places (#1992)
Co-authored-by: Logan Stuart <fishpen0@users.noreply.github.com>
2022-01-11 15:36:18 -08:00
Frank
a65c6058ab docs: documentation for slack integration (#1972)
* docs: add docs for slack integration

* add menu
2022-01-04 17:08:39 -08:00
Nish Krishnan
b7b28b807a fix: default permissions for gh-team-allowlist. (#1974)
* Fix default permissions for gh-team-allowlist.

* Fix broken links.
2022-01-04 11:20:29 -08:00
Aayush Gupta
004074a29f feat: streaming terraform logs in real-time (#1937) 2021-12-30 09:52:52 -05:00
rui
c0ed560c45 docs: update website links (#1964)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-30 07:59:01 -05:00
Mark Iannucci
01d79dfa03 docs: clarify example for --azuredevops-token flag (#1712) 2021-12-30 07:58:40 -05:00
Maarten Hoogendoorn
e6ed1027ff docs: typo in heading level (#1960)
Co-authored-by: Maarten Hoogendoorn <maarten.hoogendoorn@navara.nl>
2021-12-30 07:56:27 -05:00
Paul Erickson
bc368465a0 feat: add GitHub team allowlist configuration option (#1694)
* Add GitHub team allowlist configuration option

Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com>
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com>
Co-authored-by: Ted Roby <troby+github@sonatype.com>
Co-authored-by: Paul Erickson <perickson@sonatype.com>

* Check team allowlist in command runner, rather than event controller

* Remove unneeded trimming

* Test wildcard groups and commands

* Improve error logging

Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com>
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com>
Co-authored-by: Ted Roby <troby+github@sonatype.com>
2021-12-21 16:08:43 -08:00
David Heward
9e849f7e66 docs: fix policy check documentation examples (#1945) 2021-12-16 09:43:12 -05:00
David Heward
4370dc67db docs: add clarity and further policy_check examples (#1925)
* Add clarity + further policy_check examples to docs

* Fix broken link to Atlantis on AWS Fargate Terraform module

Co-authored-by: Dave Heward <74298782+davidh-unmind@users.noreply.github.com>
2021-12-08 15:28:27 -05:00
dependabot[bot]
c875b6b861 build(deps): bump github.com/urfave/negroni from 0.3.0 to 1.0.0 (#1922)
* build(deps): bump github.com/urfave/negroni from 0.3.0 to 1.0.0

Bumps [github.com/urfave/negroni](https://github.com/urfave/negroni) from 0.3.0 to 1.0.0.
- [Release notes](https://github.com/urfave/negroni/releases)
- [Changelog](https://github.com/urfave/negroni/blob/master/CHANGELOG.md)
- [Commits](https://github.com/urfave/negroni/compare/v0.3.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/urfave/negroni
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix broken link

```
$ curl -I https://tf-registry.herokuapp.com/modules/terraform-aws-modules/atlantis/aws/latest
HTTP/1.1 503 Service Unavailable
```

ref, https://app.circleci.com/pipelines/github/runatlantis/atlantis/1694/workflows/35fa6a93-77e2-4b48-8d0c-e4e9425908cc/jobs/8747

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2021-12-03 22:16:39 -05:00
Bruno Ferreira
79af92458a feat: adds allowed_regexp_prefixes parameter to use with the --enable-regexp-cmd flag (#1884)
* adds AllowedRegexpPrefixes config and use it on the FindProjectsByName method

* adds tests for the new AllowedRegexpPrefixes config

* update documentation with the new AllowedRegexpPrefixes config
2021-11-17 17:25:48 -05:00
rui
09b8e7a93a Revert "docs: revert to use docker hub page as 404 on github pkg registry (#1897)" (#1900)
This reverts commit 24001aa830.
2021-11-17 09:39:08 -05:00
rui
24001aa830 docs: revert to use docker hub page as 404 on github pkg registry (#1897)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-11-12 15:18:05 -05:00
Tom Harrison
d310e2f170 docs: clarify maximum version limit (#1894)
* Clarify maximum version limit

When latest Docker image still had terraform 1.0.0, for example, any method of specifying a higher version failed to build.  This note clarifies the dependency.

* update the docker image reference

Co-authored-by: rui <rui@chenrui.dev>
2021-11-12 14:36:24 -05:00
FBLGit
cbf35ca0ed feat: add BasicAuth Support to Atlantis ServeHTTP (#1777)
* Add BasicAuth Support to Atlantis ServeHTTP

* Added Security notes

Co-authored-by: xmurias <xmurias@gmail.com>
2021-10-21 14:58:30 -07:00
Alexander Dupuy
bd66c1f99b docs: document --auto-merge-disabled option (#1838)
This flag was added in #1533 but was not documented.
2021-10-01 09:59:39 -04:00
Xiao Zhang
aa8cfb5d0d Fix title level (#1822)
It generated confusing ToC/menu
2021-09-24 13:09:57 -07:00
Masayuki Morita
289cab0804 Add the branch key in the reference for server side repo config (#1784)
Fixes #1695

The branch matcher feature has been implemented in #1383 and #1768.
There is only an example for it, but not in the reference.

https://github.com/runatlantis/atlantis/pull/1383/files#diff-5dd8dd3b7c37191b78109efaaa1bb73184ff7a1690632d687fed7cd748847f5eR31-R34

Add missing the `branch` key in the reference for server side repo config.

I also add a warning for `mergeable` requirement to check the `branch`
setting because I think a typical branch protection rule only restricts
a default branch. We should let users know that someone can potentially
bypass it without the `branch` restriction in atlantis.
2021-09-14 15:31:45 -07:00
Frank Bagherzadeh
c3050285e4 docs: Add missing --silence-vcs-status-no-plans flag (#1803)
`The Silence VCS Status` feature has been implemented in #954. However there is no reference to it in the server side repo config.

Add missing `The Silence VCS Status` `--silence-vcs-status-no-plans` in the reference for server side repo config.
2021-09-09 11:37:15 -07:00
Muhammad Kamran Azeem
c0faa16f6e Fixed instructions for adding Webhook under Gitlab (#1737)
The instructions incorrectly asked to visit "Settings->Integrations" , whereas the correct instruction is to visit "Settings->Webhooks".

This PR fixes the error.
2021-08-30 14:40:16 -07:00
Enoch Lo
89236d8e54 Add flag to enable markdown diff formatting (#1751) 2021-08-30 14:01:52 -07:00
David Haven
01b8718509 allow user to pass gh-app-key directly instead of filename (#1706)
* allow user to pass gh-app-key directly instead of filename

* start fixing tests

* fix make test

* update website with info about new flag

* Apply suggestions from code review

Co-authored-by: Roberto Hidalgo <un@rob.mx>

Co-authored-by: Roberto Hidalgo <un@rob.mx>
2021-08-17 22:02:01 -07:00
Lucas C
cbef84fe09 feat: improving apply requirements for mergeable on Gitlab (#1675)
* Improving apply requirements for mergeable on Gitlab

* Fixing end of line

* Renaming variables

* Renaming variables

* Fixing variable assignment

* Fixing variable assignment
2021-08-02 13:34:11 -07:00
Bruno Ferreira
5e52a0860a fix: urls on webhooks documentation (#1713)
Some links were broken because they had `.html` instead of `.md`
2021-07-22 20:36:08 -07:00
Nish Krishnan
32255d7f33 Fix link checker. (#1680) 2021-06-30 15:25:46 -07:00
Marius Hennecke
aef146fba0 add run step environment variable SHOWFILE (#1611) 2021-06-22 09:32:21 -07:00
Luke Kysow
6c33cf2061 Increase buffer size for website link check (#1638)
* Increase buffer size for website link check

Should fix
> error when reading response headers: small read buffer. Increase ReadBufferSize.
errors

* Bump link checker image

* Fix https://app.terraform.io/ url
2021-06-16 22:20:41 -07:00