# sample-azure-pipelines.yml
trigger:
- master
steps:
- template: sample-template-step.yml
- template: sample-template-step.yml
- template: sample-template-step.yml
Video with explanantion on youtube is available here: https://youtu.be/US_e31hZiWk
This project shows how to use YAML templates in Azure DevOps Pipelines.
Home Page: https://www.youtube.com/houssemdellai/
# sample-azure-pipelines.yml
trigger:
- master
steps:
- template: sample-template-step.yml
- template: sample-template-step.yml
- template: sample-template-step.yml
Video with explanantion on youtube is available here: https://youtu.be/US_e31hZiWk
Hi, I want to pass o/p one step to another step.for example,i need to call small first and output of small should be captured and passed as input variable to medium.check_status is runtime variable and it will set based on the exit code of each task or step.Could you please let me know the possible solution to use output of small as input to Medium?
below is the snippet of template
template: windows-tests.yml
parameters: integration_tests: [“Small”, “Medium”]
check_status: “$(Powershell1.var)”
code inside small test
if (“$error_Code” -eq “True” -and “$(Powershell2.check_status)” -eq “true”)
{
Write-Host “##vso[task.setvariable variable=check_status;isOutput=true]true”
}
else { Write-Host “##vso[task.setvariable variable=check_status;isOutput=true]false”
}
Would you be able to make a template (similar to the remote storage backend template) but for setting up a dedicated Terraform Service Principal, or AD Application, to authenticate to Terraform before attempting to run Terraform.
For example, to run terraform in CI/CD you need to have a way to authenticate without user credentials on from your local azure-cli configuration. Therefore, as a pre-requisite to these templates, you could have a separate pipeline that uses azure-cli or resource manager service connection to create that RBSP and retrieve the credentials, stash then (keyvaul / devops variable group) and then proceed to the terraform IaC pipelines.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.