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

Deploy.sh will have the option to choose deployment type #1049

Open
wants to merge 9 commits into
base: e2e/databricks/parking-sensors-V1
Choose a base branch
from

Conversation

LiliamLeme
Copy link
Contributor

@LiliamLeme LiliamLeme commented Jan 20, 2025

Code and Documentation changes to make it user to choose the environment to deploy.

Type of PR

Code, Documentation

Purpose

  • Deploy.sh will have the option to deploy as:

    1. dev
    2. Dev and Stage
    3. Dev, Stage and Prod
  • Common.sh will hold the function for this changes

  • envtemplate the new environment variable for the deployment options

  • deploy_azdo_pipelines.sh will deploy the release pipeline if option 2 or 3 are chosen which implies the deploy of At least 2 environments.

  • ...

Does this introduce a breaking change? If yes, details on what can break. Yes. The deploy could break

Author pre-publish checklist

  • [ X] Added test to prove my fix is effective or new feature works
  • [ X] No PII in logs
  • [ X] Made corresponding changes to the documentation

Validation steps

image

Issues Closed or Referenced

1) dev
2) Dev and Stage
3) Dev, Stage and Prod

Common.sh will heold the function for this changes
envtemplate the new environmnent variable for the
deployment options
deploy_azdo_pipelines.sh will deploy the release
pipeline if option 2 or 3 are choosen which
implies the deploy of t least 2 environmnents

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • e2e_samples/parking_sensors/.devcontainer/.envtemplate: Language not supported
  • e2e_samples/parking_sensors/deploy.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/common.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/deploy_azdo_pipelines.sh: Language not supported
Comments suppressed due to low confidence (2)

e2e_samples/parking_sensors/README.md:7

  • The word 'heold' should be 'hold'.
Common.sh will heold the function for this changes

e2e_samples/parking_sensors/README.md:11

  • The word 'ould' should be 'could'.
Yes. The deploy ould break
@LiliamLeme LiliamLeme changed the title Deploy.sh will have the option to deploy as: Deploy.sh will have the option to choose deployment type Jan 20, 2025
**Workaround - Manually Deleting Federated Credentials:**
@LiliamLeme LiliamLeme requested a review from Copilot January 21, 2025 08:41
Copy link

@Copilot 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.

Copilot reviewed 1 out of 5 changed files in this pull request and generated 1 comment.

Files not reviewed (4)
  • e2e_samples/parking_sensors/.devcontainer/.envtemplate: Language not supported
  • e2e_samples/parking_sensors/deploy.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/common.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/deploy_azdo_pipelines.sh: Language not supported

e2e_samples/parking_sensors/README.md Show resolved Hide resolved
@LiliamLeme LiliamLeme requested a review from Copilot January 21, 2025 08:54

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • e2e_samples/parking_sensors/.devcontainer/.envtemplate: Language not supported
  • e2e_samples/parking_sensors/deploy.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/common.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/deploy_azdo_pipelines.sh: Language not supported
Comments suppressed due to low confidence (1)

e2e_samples/parking_sensors/README.md:310

  • The phrase 'During deployment, you will be presented with three options' is repeated. It should be removed from line 310 to avoid redundancy.
During deployment, you will be presented with three options. Note that deployments are standalone and cannot be used as incremental deployments:
@LiliamLeme LiliamLeme requested a review from bsherwin January 22, 2025 09:02
the enviromnent variable

Initialize env variable in the init_environment
@LiliamLeme LiliamLeme requested a review from Copilot January 22, 2025 14:49

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 6 changed files in this pull request and generated no comments.

Files not reviewed (5)
  • e2e_samples/parking_sensors/.devcontainer/.envtemplate: Language not supported
  • e2e_samples/parking_sensors/deploy.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/common.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/deploy_azdo_pipelines.sh: Language not supported
  • e2e_samples/parking_sensors/scripts/init_environment.sh: Language not supported
Copy link
Collaborator

@ydaponte ydaponte left a comment

Choose a reason for hiding this comment

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

Just small suggestions for clarity. Thanks!

e2e_samples/parking_sensors/.devcontainer/.envtemplate Outdated Show resolved Hide resolved
e2e_samples/parking_sensors/README.md Outdated Show resolved Hide resolved
e2e_samples/parking_sensors/deploy.sh Show resolved Hide resolved
Adjusting explanations about env variable in the readme and envtemplate
@LiliamLeme LiliamLeme requested a review from ydaponte January 24, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants