Commit Graph

178 Commits

Author SHA1 Message Date
Dalton Hubble
00a5bc0fc0 Add a branch regex matcher to the server side repo config (#1383)
* Add a branch regex to the repo.yaml config to allow Atlantis to
accept only pull requests with a given base branch (the branch
a PR would merge _into_).
* `branch` is optional. By default its unset and Atlantis will match
webhooks for pull requests for any branch (no change)

Match any PR,

```
repos:
  - id: /.*/
    branch: /.*/
```

Match only PRs with master or main base branch.

```
repos:
  - id: /.*/
    branch: /(main|master)/
```

Some repos have special pull request branching practices. For example,
plan/apply from feature branches merging into master, but separate flows
for merging master into a release branch (where Atlantis isn't used).
Adding a regex allows for flexible workflow options. For example, you
could have Atlantis ignore "release" branches.
2021-02-24 12:52:30 -08:00
Nish Krishnan
76b8e357c5 Add policy checking configuration docs (#1423)
* Update server-configuration.md

* Update server-side-repo-config.md

* Update server-configuration.md

* Update server-side-repo-config.md
2021-02-23 09:45:11 -08:00
myoung34
a6e5c16608 Feature: Add HEAD_COMMIT env var (#1392) 2021-02-22 21:47:00 -08:00
Gerald Barker
1137a82c60 Add the ability to disable Atlantis locking a repo (#1340)
* Add the ability to disable Atlantis locking a repo

* Fix incorrect logic when creating locking Client

Co-authored-by: kbaldyga <kbaldyga@gmail.com>

* Add tests for noOpLocker to improve coverage

Co-authored-by: Gerald Barker <geraldbarker@mail.com>
Co-authored-by: kbaldyga <kbaldyga@gmail.com>
2021-01-14 10:20:27 -05:00
ollliegits
cf9dd4ea65 docs: Note added on when exactly pre workflow hooks run. (#1346)
Co-authored-by: Oliver <oliver.stache@t-systems.com>
2021-01-14 10:19:54 -05:00
Istvan Tapaszto
68e20b1dc1 Fixing AutoMerge issue with Azure DevOps (#1289)
* Getting Azure DevOps user id on the fly

* mcdafydd/go-azuredevops module version increased

* Additional errorhandling

* Additional errorhandling Part2

* Doc update:  Access permission requirement

* Fixing modules.txt

* Fixing modules.txt

* Modules.txt fixed

* AzureDevops dependencies committed to vendor

* Fixing AzureDevOpsClient tests

* Fixing invalid bitbucket references in docs

* Fixing modules.txt

* Fixing go.mod

Co-authored-by: Tapaszto, Istvan <istvan.tapaszto@msciintegration.onmicrosoft.com>
2021-01-13 09:01:06 -05:00
Nish Krishnan
129b7b2f57 Update link. (#1335) 2021-01-05 14:17:56 -08:00
Toby Jackson
1a66b6e761 Update configuring-webhooks.md (#1254)
Remove duplicated (and incomplete) gitlab configuration section on webhooks readme.
2020-12-23 15:56:59 -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
Marc Goujon
5a1e19155d Added support for restricting workflows usage repo-side (#1099)
* Added the ability to restrict server-side workflows on a per repo basis

* Fixed documentation broken links

* Removed unneeded
2020-12-14 10:37:37 -08:00
Quan Hoang
90495bbaf4 docs: add 'skip-clone-no-changes' server configuration flag (#1252)
Co-authored-by: Quan Hoang <quan.hoang@smarkets.com>
2020-12-12 21:16:39 -05:00
Nish Krishnan
5edac18d6f Fix broken links (#1279)
* Fix broken links

https://app.circleci.com/pipelines/github/runatlantis/atlantis/484/workflows/b88e1ab2-3be7-4967-b821-f7867b78ce2f/jobs/5487
2020-12-02 16:58:50 -05:00
Luke Kysow
057711bafa Fix broken link 2020-10-30 14:15:55 -07:00
Gerald Barker
d2610a78af Add Option to globally disable apply (#1230)
* Add Option to globally disable apply

Co-authored-by: Gerald Barker <geraldbarker@mail.com>
2020-10-27 21:01:39 -07:00
Luke Kysow
c789e1a787 Merge pull request #1177 from dmattia/dmattia/concurrency_flag
Added configurable parallelism pool size
2020-10-26 17:31:12 -07:00
Gerald Barker
6d2a8a6935 GitLab have moved Webhooks into their own menu Item 2020-10-11 18:07:53 +01:00
Gerald Barker
5d44ac8f2c Update helm deployment instructions for the new Helm repo 2020-10-08 00:01:12 +01:00
Charles Guertin
8523096fe3 Fixed typo in docs gitlab server config. 2020-10-07 12:51:09 -04:00
Luke Kysow
24c60b2fd3 Fix broken link 2020-09-11 16:47:58 -07:00
dmattia
d1fe029438 Added configurable parallelism pool size 2020-09-03 10:51:40 -05:00
Roberto Hidalgo
54d914c373 Fix github app docs
Mostly a revert of #1095, which while working, is too convoluted and can be sidestepped by using the documented --gh-org flag included in the original PR.
2020-08-19 10:27:26 -04:00
Luke Kysow
1b374fa3e6 Small refactor to disable-autoplan 2020-08-18 15:55:22 -07:00
ValdirGuerra
34f9f3f348 Add support for disable autoplan from server config 2020-08-18 15:55:22 -07:00
Luke Kysow
8ac19e4017 Deprecate --repo-whitelist for --repo-allowlist 2020-07-25 23:50:09 -07:00
Luke Kysow
675aaddbf3 Update doc links 2020-07-25 23:45:03 -07: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
Roberto Hidalgo
50a414cc2d Ignore .tflint.hcl (#1075)
* Ignore .tflint.hcl
2020-07-07 11:06:52 -07:00
Nicolaj Figaw
94e25926a3 UPDATE docs clarify github app 2020-07-06 09:09:18 +02:00
Luke Kysow
e0b07ac11e Use another website for random strings 2020-06-24 13:57:05 -07:00
Luke Kysow
875abf1362 Refactoring to github app code
- rename gh-app-key to gh-app-key-file for clarity
- change git credentials writer to append a line if there is an existing
.git-credentials file and in the case of the github app to replace the
old github app line
- removed automatically setting --write-git-creds to true when using a
github app and instead requiring this is set specifically
2020-06-19 11:41:44 -07:00
rob
2b74dc9a59 make fragments lowercase 2020-06-16 21:30:40 -04:00
rob
2509240b9a listen to pull_request_review*, docs on webhooks 2020-06-16 21:04:09 -04:00
rob
011d3f8229 Test against a live repo, fix accordingly
more docs, add installation step
2020-06-03 20:25:11 -04:00
Roberto Hidalgo
199cdfe192 Play around with github app credentials 2020-06-03 20:16:24 -04: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
Wagner Narde
d6831a4cd5 Add instructions for Terraform Cloud token permissions 2020-05-11 20:11:36 -03:00
Michael Warkentin
4e00d82b95 Add note about how to set boolean flags
See discussion in https://github.com/runatlantis/atlantis/pull/994#discussion_r416914804
2020-04-30 09:21:10 -04:00
Luke Kysow
80347f4c1d Merge remote-tracking branch 'origin/master' into hide-comments 2020-04-15 21:47:58 -07:00
Luke Kysow
6e8b4eed16 Small refactor 2020-04-15 21:44:34 -07:00
John Reese
26467c7b66 Update approved requirement documentation to be consistent 2020-04-15 20:44:32 -07:00
Derek Beattie
e449628a22 Fix terragrunt extension type 2020-04-03 18:56:36 -05:00
Martin Mosegaard Amdisen
a2b8841e8e Fix docs for server-side repo config allow_custom_workflows
It was a copy-paste of allowed_overrides.
Please verify that I got the default value and description right.
2020-03-13 12:15:09 +01:00
Luke Kysow
a1e2d84281 Update broken links for TFC 2020-03-06 11:03:14 -05:00
Luke Kysow
7a98f93427 Merge pull request #927 from kennethtxytqw/patch-1
Update terraform-versions.md
2020-02-08 21:40:54 -07:00
Luke Kysow
dd87e669c4 Update apply-requirements.md 2020-02-08 21:40:42 -07:00
Kenneth Tan Xin You
3ce88ebce6 Update terraform-versions.md
Updates for https://github.com/runatlantis/atlantis/pull/789#issuecomment-581976747
2020-02-08 18:09:42 +08:00
Luke Kysow
661cc67af4 Update deployment.md 2020-02-07 11:15:45 -07:00
Dinesh Patra
50cc11e3bf udpate helm install instruction for helm v3.0.0 2020-02-06 12:35:14 -06:00
Sam Park
782501b8e9 Add a flag to control hiding behavior 2020-01-24 22:09:29 -08: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