Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

VS code extension: Deploy To Azure, which helps set up CI/CD for deployment to Azure Resources.

License

Notifications You must be signed in to change notification settings

microsoft/vscode-deploy-azure

Repository files navigation

Build Status

Deploy to Azure from Visual Studio Code

Get it on the Visual Studio Code Marketplace!

📢 ⛔ ATTENTION!! - Deprecation notice

This extension is being deprecated and will not be supported. Please see details here.


This Visual Studio Code extension helps you set up continuous build and deployment for Azure App Service or for Azure Kubernetes Service without leaving Visual Studio Code.

Configure CI/CD Pipeline Demo

To set up a pipeline, choose Deploy to Azure: Configure CI/CD Pipeline from the command palette (Ctrl/Cmd + Shift + P) or right-click in the file explorer. The guided workflow will generate a starter YAML file defining the build and deploy process.

You can customize the pipeline using all the features offered by Azure Pipelines and GitHub Actions.

Once the setup is completed, an automatic CI/CD trigger will fire for every code push. To set this up, if you have using GitHub as the repository the extension will ask for a GitHub PAT with repo and will configure GitHub Actions.

GitHub PAT scope

You can refer to our tutorial for more details on the extension.

Telemetry

Visual Studio Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don’t wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.

Troubleshooting failures

  • Failed to determine Azure Repo details from remote url: If you're configuring a pipeline for a Git repository backed by Azure Repos, ensure that it has a remote pointing to a valid Azure Repos Git repo URL.

Contributing

See CONTRIBUTING.md if you want to jump in!

For TSLint to work in VSCode, run npm install and restart VSCode.

Testing framework

For adding test, create test files with extension .test.ts inside src/configure/test/suite.

For running all the tests, use the command npm test.