Files
atlantis/runatlantis.io/docs
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
..
2018-06-22 17:27:15 +01:00
2019-01-07 16:10:21 -05:00
2021-03-04 15:15:41 -08:00
2020-10-30 14:15:55 -07:00
2022-02-04 16:12:26 -08:00
2020-01-20 12:46:00 -06:00

Atlantis Documentation

These docs are for users that are ready to get Atlantis installed and start using it.

:::tip Looking to get started? If you're new here, check out the Guide where you can try our Test Drive or Run Atlantis Locally. :::

Next Steps