Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Support --repo-config flag #8

Closed
wants to merge 4 commits into from
Closed

Support --repo-config flag #8

wants to merge 4 commits into from

Conversation

osterman
Copy link

@osterman osterman commented Oct 13, 2018

what

  • Import PR by @darrylb-github
  • Support multiple atlantis build manifests per repo

why

  • Allows setting different configs for different instances of atlantis, which is useful when wanting to run different servers for production and staging.

use-case

Have separate production and staging Atlantis servers. This enables that by using multiple atlantis.yaml config files in the same repo and setting the --repo-config flag on each server. This allows you to launch a staging Atlantis server pointing at a staging atlantis.yaml file (e.g. --repo-config atlantis-staging.yaml) and a production Atlantis server pointing at a production atlantis.yaml file in the same repo (e.g. --repo-config atlantis-production.yaml).

This way you can use different credentials for staging and production and maintain cleaner separation between environments.

why

  • Allow a given atlantis server to watch a specific manifest
  • Better multi-account strategy

references

…atlantis.yaml config file to use. This means multiple Atlantis servers can point at the same repo (e.g. for prod and staging).
@osterman osterman requested a review from aknysh October 13, 2018 03:28
@osterman osterman changed the title Repo config Support --repo-config flag Oct 13, 2018
@aknysh
Copy link

aknysh commented Oct 16, 2018

superseded by #12

@aknysh aknysh closed this Oct 16, 2018
@aknysh aknysh deleted the repo-config branch October 17, 2018 00:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Support for --repo-config
3 participants