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