Skip to content

removing unused env var, adjusting postdeploy logic to no longer await for user inpu#7

Open
JinLee794 wants to merge 4 commits intomainfrom
hotfix/main-deploy-updates
Open

removing unused env var, adjusting postdeploy logic to no longer await for user inpu#7
JinLee794 wants to merge 4 commits intomainfrom
hotfix/main-deploy-updates

Conversation

@JinLee794
Copy link
Contributor

Ths user input at the postdeploy script did not behave interactively as intended. It waits and hangs without displaying the prompt. Due to this, removing the user input for RUN_EVALS and relying on environment variable declaration by skipping if RUN_EVALS is not set.

This pull request includes changes to the workflow configuration, documentation updates, and the removal of an unused environment variable. The most important changes are summarized below:

Workflow Configuration:

  • Added a new run_evals input parameter to the GitHub Actions workflow to control whether model evaluations are run. (.github/workflows/azd_deploy.yml) [1] [2]

Documentation Updates:

  • Updated deployment links in the README.md to point to the new GitHub Pages URL for the AutoAuth solution accelerator. (README.md) [1] [2] [3] [4] [5]

Environment Variable Removal:

  • Removed the AZURE_OPENAI_API_VERSION_O1 environment variable from various infrastructure and utility scripts as it is no longer needed. (infra/README.md, infra/main.json, infra/resources.bicep, infra/resources.json, utils/azd/hooks/postdeploy.sh, utils/azd/hooks/postprovision.ps1, utils/azd/hooks/postprovision.sh) [1] [2] [3] [4] [5] [6] [7]# Project Enhancement Request

@JinLee794 JinLee794 requested a review from Copilot March 24, 2025 01:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request updates the GitHub Actions workflow and documentation to remove an unused environment variable and to improve the post-deployment behavior by eliminating the non-interactive user input. Key changes include:

  • Adding a new run_evals input parameter in the workflow configuration.
  • Updating URLs in the README.md to reflect the new GitHub Pages location.
  • Removing the unused AZURE_OPENAI_API_VERSION_O1 environment variable from the infrastructure documentation.

Reviewed Changes

Copilot reviewed 3 out of 9 changed files in this pull request and generated no comments.

File Description
.github/workflows/azd_deploy.yml Adds a new run_evals input and updates the RUN_EVALS environment variable assignment
README.md Updates multiple hyperlinks to point to the new GitHub Pages URL
infra/README.md Removes a no-longer-needed environment variable
Files not reviewed (6)
  • infra/main.json: Language not supported
  • infra/resources.bicep: Language not supported
  • infra/resources.json: Language not supported
  • utils/azd/hooks/postdeploy.sh: Language not supported
  • utils/azd/hooks/postprovision.ps1: Language not supported
  • utils/azd/hooks/postprovision.sh: Language not supported

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.

2 participants