swellaby / azure-pipelines-templates Goto Github PK
View Code? Open in Web Editor NEWBuild and Release templates for Azure Pipelines
License: MIT License
Build and Release templates for Azure Pipelines
License: MIT License
AZP has changed the way code coverage results are published, which is now resulting in our step template causing warnings. Let's update the coverage upload step to exclude the extra directory param
Create a combo template driven off of invoke steps for basic setup, dependency installation, lint, format check, and to run tests and publish results
Add step template for running cargo audit
(https://github.com/RustSec/cargo-audit) to scan for security vulnerabilities
Create Azure Pipelines job to run a CI job on the master branch when there are changes under the /templates
directory to create and publish a tag and release in the repo
- script: |
export PACKAGE_VERSION=$(node -e "console.log(require('./package.json').version);")
echo "##vso[task.setvariable variable=packageVersion]$PACKAGE_VERSION"
Sonar is flagging the tests for the test result and code coverage publish steps as duplicates between the two node combo templates.
Probably worth investigating the feasibility of encapsulating this somewhere and/or trying to have Sonar ignore since this isn't really "duplicated" code:
The combo templates utilize many of the same step templates so there's a lot of commonality in the tests for those combo templates.
This is a false positive in Sonar IMO, so I'm inclined to update our Sonar config accordingly
https://docs.sonarqube.org/7.7/analysis/analysis-parameters/
sonar.cpd.exclusions
sonar.cpd.${language}.minimumtokens
sonar.cpd.${language}.minimumLines
Steps
Combo
Should be self-explanatory
Create root/landing documentation to explain contents, links out to specific docs for various language templates, etc.
Add step template for running cargo license
(https://github.com/onur/cargo-license) to generate license data for dependencies
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.