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

introduce terraform azdo workflow #1035

Merged
merged 6 commits into from
Nov 1, 2022

Conversation

HadwaAbdelhalem
Copy link
Contributor

This PR addresses #658 by:

  • Updates azdo provider to set the needed terraform remote state variables as part of azd pipeline config --provider azdo cmd.
  • Introduces an additional azdo pipeline for terraform, and update the existing azdo pipeline to remove the terraform related variables.
  • Updates all templates todo/repoman.yaml files to use the right azdo pipeline based on the infra selection.

image

Co-authored-by: Hattan Shobokshi hattan.shobokshi@microsoft.com

Co-authored-by: Hattan Shobokshi <hattan.shobokshi@microsoft.com>
HadwaAbdelhalem and others added 3 commits October 28, 2022 16:45
Co-authored-by: Hadwa Gaber <hadwaa@microsoft.com>
Co-authored-by: Hadwa Gaber <hadwaa@microsoft.com>
cli/azd/pkg/azdo/pipeline.go Outdated Show resolved Hide resolved
cli/azd/pkg/azdo/pipeline.go Show resolved Hide resolved
Co-authored-by: Hattan Shobokshi <hattan.shobokshi@microsoft.com>
@azure-sdk
Copy link
Collaborator

Repoman Generation Results

Repoman pushed changes to remotes for the following projects:

Project: todo-csharp-cosmos-sql

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1035

View Changes | Compare Changes


Project: todo-csharp-sql-swa-func

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1035

View Changes | Compare Changes


Project: todo-csharp-sql

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-csharp-sql -b pr/1035

View Changes | Compare Changes


Project: todo-java-mongo-aca

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1035

View Changes | Compare Changes


Project: todo-java-mongo

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-java-mongo -b pr/1035

View Changes | Compare Changes


Project: todo-nodejs-mongo-aca

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1035

View Changes | Compare Changes


Project: todo-nodejs-mongo-swa-func

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1035

View Changes | Compare Changes


Project: todo-nodejs-mongo

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1035

View Changes | Compare Changes


Project: todo-nodejs-mongo-terraform

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1035

View Changes | Compare Changes


Project: todo-python-mongo-aca

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1035

View Changes | Compare Changes


Project: todo-python-mongo-swa-func

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1035

View Changes | Compare Changes


Project: todo-python-mongo

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-python-mongo -b pr/1035

View Changes | Compare Changes


Project: todo-python-mongo-terraform

Remote: azure-samples-staging

Branch: pr/1035

You can initialize this project with:

azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1035

View Changes | Compare Changes


Copy link
Member

@vhvb1989 vhvb1989 left a comment

Choose a reason for hiding this comment

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

Thank you very much

@azure-sdk
Copy link
Collaborator

Azure Dev CLI Install Instructions

Install scripts

MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:

curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035 --version '' --verbose

pwsh:

Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035' -Version '' -Verbose

Windows

powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1035' -Version '' -Verbose;"

Standalone Binary

Container

docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants