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

Support plan mode deployment #4047

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Support plan mode deployment #4047

wants to merge 5 commits into from

Commits on Jul 30, 2024

  1. Add DEPLOY_MODE variable to deployment scripts and documentation

    * **.github/workflows/deploy_tre.yml**
      - Add an input for `DEPLOY_MODE` in the workflow
      - Pass the `DEPLOY_MODE` input to the deployment script
    
    * **docs/tre-admins/setup-instructions/workflows.md**
      - Add instructions on using the `DEPLOY_MODE` variable for 'plan' mode deployments via the GitHub UI
    
    * **devops/scripts/terraform_wrapper.sh**
      - Add a check for the `DEPLOY_MODE` variable
      - Execute `terraform plan` without applying if `DEPLOY_MODE` is set to 'plan'
      - Log the plan output to a file
    
    * **docs/tre-admins/setup-instructions/manual-deployment.md**
      - Add instructions on using the `DEPLOY_MODE` variable for 'plan' mode deployments
      - Include examples of setting the `DEPLOY_MODE` variable to 'plan' and 'apply'
    marrobi committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    cc494be View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Support plan mode deployment

    Related to #4029
    
    Add support for 'plan' mode deployments to evaluate the terraform plan before applying it.
    
    * **devops/scripts/terraform_wrapper.sh**
      - Add a check for the `DEPLOY_MODE` variable.
      - Execute `terraform plan` without applying if `DEPLOY_MODE` is set to 'plan'.
      - Log the plan output to a file.
    
    * **docs/tre-admins/setup-instructions/manual-deployment.md**
      - Add instructions on using the `DEPLOY_MODE` variable for 'plan' mode deployments.
      - Include examples of setting the `DEPLOY_MODE` variable to 'plan' and 'apply'.
    
    * **.github/workflows/deploy_tre.yml**
      - Add an input for `DEPLOY_MODE` in the workflow.
      - Pass the `DEPLOY_MODE` input to the deployment script.
    
    * **docs/tre-admins/setup-instructions/workflows.md**
      - Add instructions on using the `DEPLOY_MODE` variable for 'plan' mode deployments via the GitHub UI.
      - Include examples of setting the `DEPLOY_MODE` variable to 'plan' and 'apply'.
    
    ---
    
    For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/AzureTRE/issues/4029?shareId=XXXX-XXXX-XXXX-XXXX).
    marrobi committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    e226c0d View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Merge branch 'main' of https://github.com/microsoft/AzureTRE into mar…

    …robi/marrobi/issue4029
    marrobi committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    66545cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0f567c View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    a8e14a1 View commit details
    Browse the repository at this point in the history