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

Always use the default workspace directory when building commands context #13

Merged

Commits on Jun 7, 2021

  1. Always use the default workspace directory when building commands con…

    …text
    
    When pre_workflow_hooks is being used to generate atlantis.yaml
    and projects are set with specific workspaces different than "default",
    a different directory is created for each project-workspace pair,
    but all those that are not on the "default" workspace will
    not have an atlantis.yaml file at their root.
    
    This change ensures that when atlantis is building the projects commands
    for either:
    - a project-specific plan, triggered via (atlantis plan -d foo -w bar)
    - a project-specific apply, triggered vi (atlantis apply -d foo -w bar)
    - or applies for all the plans it can find (atlantis apply)
    it uses the default workspace to find the atlantis.yaml config.
    giuli007 committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    31ebd50 View commit details
    Browse the repository at this point in the history