Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Some of the configuration of eGIS, including post-install site configuration and TC Smart Maps configuration, is achieved through the use of Python scripts. This page describes how to create a development pipeline for a Python script.

...

  1. In the Azure portal, search for Function App. Click the Function App result.

    Image Modified

  2. Click Add.

  3. Specify an App name, Subscription, and Resource Group for the Function App. Choose Linux for OS, Code for Publish, Consumption Plan for Hosting Plan, East US for Location, Pythonfor Runtime Stack, and, optionally, use an existing Storage account.

  4. Click Create.

  5. In the Azure Dashboard, click Refresh, then click the name of the function app that you just created.

...

  1. Follow the instructions in Development Pipeline to create a service connection.

  2. In the Azure DevOps portal, click Pipelines.

  3. Click the context menu next to the most recent successful build, and click Release.

  4. In the Select a template panel, type Function in the Search box.

  5. Click Deploy a function app to Azure Functions.

  6. In the Stage 1 box, click 1 job, 1 task.

  7. Choose the target Azure service connection from the Azure subscription dropdown list.

    Image Modified

  8. Choose Function App on Linux from the App type dropdown list (Python Function Apps are only supported on Linux).

  9. Choose the Function App that you created in the previous section from the App Service name dropdown list.

  10. Click Save.

  11. Optionally, specify a folder in which to store the pipeline, and add a comment, then click OK.

  12. Click Create release.

  13. Click Create. Azure DevOps will run the release pipeline, which will deploy the Python Function App.

...