...
Edit the pipeline az-pipeline-cicd (Build Pipeline Definition name) and add the below yaml.
...
Note: When the ARM template is created by default it is named as TemplateForWorkspace.json and the parameters file as TemplateParametersForWorkspace.json. The same are being provided here without any modifications.
...
Project scoped workflow properties are added as: FEED_NAME, PROJECT_NAME, ARTIFACTS_PACKAGE_NAME, PACKAGE_VERSION, VARIABLES_LIST, BUILD_DEFINITION_NAME, PACKAGE_NAME.
Explanation
...
Step 1: It clones the code from the az-synapse-cicd repository.
Step 2: It uses FlexagonAzurePlugin’s publishArtifacts operation to upload the checked out code base as package to Azure DevOps feed (Synapsefeed).
...
Step 3: This step initiates the Build Pipeline that we created in Azure DevOps. Operation buildPipeline is used for this.
The expression for Variables List input is:
...
Project scoped workflow property RELEASE_DEFINITION_ID and Target scoped ENVIRONMENT_VARIABLES_LIST are added.
Variables
...
Explanation
...