Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fill all command line flags not in the document, and more. #2568

Merged
merged 4 commits into from
Oct 8, 2022

Conversation

chroju
Copy link
Contributor

@chroju chroju commented Oct 7, 2022

@chroju chroju requested a review from a team as a code owner October 7, 2022 12:18
@@ -114,6 +114,10 @@ the Atlantis user needs to be part of that list in order for it to consider
a pull request mergeable.
:::

::: warning
If you set `atlantis/apply` to the mergeable requirement, use `--gh-allow-mergeable-bypass-apply` flag. This flag allows the mergeable check before `apply` to skip checking the status of `atlantis/apply`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also document the ATLANTIS_GH_MERGEABLE_BYPASS_APPLY=true env var too ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the flag is documented here https://www.runatlantis.io/docs/server-configuration.html#gh-allow-mergeable-bypass-apply but it doesnt show the env var.

It also shows a bullet where there shouldn't be a bullet.

https://github.com/runatlantis/atlantis/blame/master/runatlantis.io/docs/server-configuration.md#L372

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nitrocode Thanks for your comment!

I have fixed a wrong bullet and documented the env var to apply-requirements.md. On the other hand, I have not appended the env var to server-configuration.md because there is no mention of env vars in the other flags (Excluding a few. Lack uniformity...).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I had a small typo #2583

@jamengual
Copy link
Contributor

@chroju Thanks for the contribution

@jamengual jamengual merged commit 9758a21 into runatlantis:master Oct 8, 2022
@chroju chroju deleted the satisfy_docs branch October 9, 2022 09:02
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
…atlantis#2568)

* docs: All command line flags are filled in the doc

* docs: about --gh-allow-mergeable-bypass-apply flag

* docs: replace Github with GitHub

* docs: remove an incorrect bullet

Co-authored-by: chroju <chroju@users.noreply.github.com>
@nitrocode nitrocode modified the milestones: 0.21.0, v0.21.0, v0.20.1 Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants