1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
from azure_functions_devops_build.constants import LINUX_CONSUMPTION, LINUX_DEDICATED, WINDOWS, NODE, PYTHON, JAVA, DOTNET
"""This file contains the configs needed for the tests"""
# You need to fill in the variables with names of the resources you already have
# When you are finished setting the configs then you can run test.cmd
# The create devops objects setting sets whether the test will run create commands. The default is true as false requires that you
# have already created the devops objects
CREATE_DEVOPS_OBJECTS = True
# Specify the name of the devops objects you want to create/have already created (in the case of create devops objects being false)
ORGANIZATION_NAME = '{Azure Devops Organization Name}' # To run the full test suite, the organization must exist
PROJECT_NAME = '{Azure Devops Project Name}' # To run the full test suite, the project must exist
REPOSITORY_NAME = '{Azure Devops Repository Name}' # To run the full test suite, the repository must exist
# Specify the details of your azure functions resource
FUNCTIONAPP_NAME = '{Functionapp Name}'
STORAGE_NAME = '{Storage Account Name}'
RESOURCE_GROUP_NAME = '{Resource Group Name}'
FUNCTIONAPP_TYPE = '{Functionapp Type}' # choose from LINUX_CONSUMPTION, LINUX_DEDICATED, WINDOWS
FUNCTIONAPP_LANGUAGE = '{Functionapp Language}' # choose from NODE, PYTHON, JAVA, DOTNET
|