Commit Graph

29 Commits

Author SHA1 Message Date
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
rui
90c4a83d3e docs: update devops PR link (#2033)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-02 17:56:44 -05: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
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
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
Nish Krishnan
32255d7f33 Fix link checker. (#1680) 2021-06-30 15:25:46 -07:00
Paul Calley
6b50e84ab9 Add undiverged apply requirement (#1587)
* ORCA-731 Force PR authors to rebase if master has diverged (#70)

* initial commit for undiverge apply req

* Update documentation

* Fix existing unit tests

* HasDiverged unit test

* project command runner unit test

* Global config tests cases

* update parser unit tests

* Update project_test unit tests

* Fix linting

* fix test case with logging output

* add space on readme markdown

* Remove unused variable

* remove deprecated flag option

* Use global args struct instead of passing in args

* Fix merge issue
2021-06-03 14:35:30 -07:00
John Reese
26467c7b66 Update approved requirement documentation to be consistent 2020-04-15 20:44:32 -07:00
Luke Kysow
dd87e669c4 Update apply-requirements.md 2020-02-08 21:40:42 -07:00
Josh Soref
2cf5b0a42a Spelling (#902)
Spelling fixes
2020-01-20 12:46:00 -06:00
Luke Kysow
07ffe179e7 Small refactoring to azure devops support 2019-10-25 18:07:18 -07:00
David McPike
a31afcb7a4 Merge tag 'v0.9.0' into azure-devops 2019-08-29 17:52:36 -05:00
David McPike
acef89adc4 Azure Devops PR minor cleanup, fix tests, checks
- Re-write tests for azuredevops_client
- CircleCI checks should pass
- NewAzureDevopsClient() now takes a hostname like NewGithubClient()
- Docs include comment about default merge strategy requirements
2019-07-28 10:37:45 -05:00
Florent Monbillard
b95d74dfd0 Fix typo 2019-07-23 10:49:29 -04:00
David McPike
9f51aadf95 First draft of Azure Devops documentation updates 2019-07-20 11:47:48 -05:00
Luke Kysow
97592fd3c0 Fix broken link 2019-07-15 10:49:48 +01: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
John Julien
1fcdaba719 Added new --repo-config option and deprecated --allow-repo-config
This enables atlantis.yaml in all repos, but by default restricts
certain sensitive keys from being used.

The keys apply_requirements, workflow, and workflows can only be
specified in an atlantis.yaml file if explicitly allowed by a
server side repo config.

The repo config file provides the ability to specify a default set of
workflows, and default values for apply_requirements and workflow to use
use on a per repo basis.  It also supports applying to a collection of
repos by using regex to match a repo name.

If more than one repo name matches, the values from last repo matched
are used.

This deprecates the --allow-repo-config option
2019-03-27 14:47:48 -05:00
chrisob
bf55f1f458 Add mergeable GitHub warning to docs
Describe that the Atlantis user may need write/push permissions to the base branch before it considers a PR mergeable
2019-03-21 17:06:34 +01:00
Luke Kysow
aab2211270 Fix broken link 2019-03-08 12:27:57 -05:00
Luke Kysow
b6d821326d Update docs about mergeability 2018-12-12 14:26:46 -06:00
Brenden Matthews
e001353ae9 Add mergeable requirement.
Introduce new `mergeable` requirement, in similar vein to the `approved`
requirement. Ran `make go-generate` to update mocks accordingly.

This addresses issue #43.
2018-12-11 16:00:04 -05:00
Luke Kysow
ff85cbef70 Require approval from someone other than PR author
In Bitbucket cloud, the pull request author can approve their own pull
request. Ignore this approval.

Fixes #201
2018-07-28 06:57:49 -07:00
Luke Kysow
506b817acd Add bitbucket json events. Docs. 2018-07-21 21:30:10 +02:00
Luke Kysow
394a5c9740 Update docs 2018-07-20 20:02:03 +02:00
Luke Kysow
7c927a437f Update docs with changes from README 2018-06-27 12:07:04 +02:00
Luke Kysow
0e71ccc6ad Finish docs 2018-06-25 17:12:57 +01:00