Skip to content

Commit

Permalink
Check that Portal UI form outputs map to template parameter inputs on…
Browse files Browse the repository at this point in the history
… pull requests (#620)
  • Loading branch information
glennmusa committed Feb 2, 2022
1 parent 4181681 commit 69a4a15
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .azure-devops/validate-declarative-form.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# disable CI per:
# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#disabling-the-ci-trigger
trigger: none

pr:
branches:
include:
- main

pool:
vmImage: ubuntu-latest

jobs:
- job: ValidateDeclarativeForm
displayName: 'Validate Declarative Form'
steps:
- bash: |
curl -s -o validate_declarative_form.py -L https://raw.githubusercontent.com/glennmusa/validate-declarative-form/main/validate_declarative_form.py
python3 validate_declarative_form.py src/bicep/form/mlz.portal.json src/bicep/mlz.json
displayName: 'Execute validation script'
failOnStderr: true

0 comments on commit 69a4a15

Please sign in to comment.