Commit c312639d authored by Hema Vishnu Pola [Microsoft]'s avatar Hema Vishnu Pola [Microsoft]
Browse files

updated the pipelines to take parameterized repo resource else fallback to self.

parent b9e597e7
......@@ -18,6 +18,7 @@ parameters:
forceRun: true
aksAgentSshPublicKeyFilename: 'azure-aks-node-ssh-key.pub'
aksGitOpsSshPrivateKeyFilename: 'azure-aks-gitops-ssh-key'
checkoutRepo: self
stages:
......@@ -25,6 +26,8 @@ stages:
displayName: 'Prepare'
jobs:
- template: infra-validate-job.yml
parameters:
checkoutRepo: ${{ parameters.checkoutRepo }}
- ${{ each environment in parameters.environments }}:
......
......@@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
parameters:
checkoutRepo: self
jobs:
- job: validate_job
displayName: Code Validation
......@@ -22,9 +25,8 @@ jobs:
steps:
# - checkout: InfraRepo
# persistCredentials: true
# condition: ne(variables.INFRA_REPO, '')
- checkout: ${{ parameters.checkoutRepo }}
persistCredentials: true
- task: GoTool@0
displayName: 'Ensure Golang'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment