Root Cause:
Storage project generates coverage files in a different location (sdk/*/*cov_xml.xml) from where Core and Template (sdk/*/*/*cov_xml.xml). Basically one level up.
When I added the coverage for Storage, I didn’t know we were also running live tests for Core and Template pipelines. It failed on them because the xml files were not found.
In the PR, I add a new parameter to pipelines to change the default path, and also I am disabling LiveTests from Core and Template, since it only runs the same thing that we run on CI pipelines (We can enable it if we ever have some live tests)
fix: #1001
* Cache created service principal for iteration
Useful when testing changes over and over again without passing your own -TestApplicationId and -TestApplicationSecret.
* Restore initial AzContext for New-TestResources
* Make sure PSBoundParameters is correct
Fixes#1177
Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Add debugging link on resource deployment failures to log output
* Update aka link for live test help docs. Use here string and empty throw.
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* Add debug flag to arm deployment command
* Only set debug preference when $CI is true
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* Update subscription configuration schema to include new parameters
* Support platform specific arm template parameters and legacy hashtable format
* Update arm template parameter comment to include top level key
* Restore AdditionalParameters. Merge ArmTemplateParameters from stringified hash literal
* Handle duplicate keys more explicitly for arm and env vars
* Regenerate New-TestResources.ps1 markdown
* revert variable name to environmentVariables to fix post-scripts
* Handle empty arm template parameters better
* Remove arm template parameter merge logic from deploy template
* Add merge hashes function to New-TestResources.ps1
* Add merge hashes function to New-TestResources.ps1
* Add env variable overwrite warning. Use ContainsKey checks
* Temporarily manually fix invalid generated markdown links
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This also adds previously-required parameters back into
@PSBoundParameters to pass down to pre- and post-scripts.
Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Remove resource group asynchronously and do not wait for completion
* Verify resource group has reached Deleting state before exiting script
* Use $_ instead of $Error[0] for resource group removal handling
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Adding CMake module to enable/disable transport adapters
TRANSPORT ADAPTER BUILD
Default: If no option is explicitly added, curl will be used for POSIX and WIN HTTP for WIndows
Windows: Both CURL and WIN_HTTP can be build to be used.
POSIX: Only CURL is acceptable. If WIN_HTTP is set, generate step will fail for user
Defines `BUILD_WIN_HTTP_TRANSPORT_ADAPTER` and `BUILD_CURL_HTTP_TRANSPORT_ADAPTER` for source code
Fixes#350
* Simplify Net-TestResources usage
* docs and windows check
* Update eng/common/TestResources/New-TestResources.ps1
Co-authored-by: Heath Stewart <heaths@outlook.com>
* update markdown
* make service directory the default parameter
* Fix links
* Doc change
Co-authored-by: Pavel Krymets <pavel@krymets.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
* Update cache-control for newly created blobs
* remove extra
* remove extra space
* Added the cache control for existing blobs as well
* Update copy-docs-to-blobstorage.ps1
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
* Update location of patch files
* Add some changes in eng/common to test things
* Switch to pushing to upstream
* Change workflow to use upstream branches
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
* Generate doc index
* Remove template from doc index. This is used to validate that listing and linking works (it does)
* add template back into excludes
* exclude 'performance-stress'
* Add version.txt
* Add doc generation for template
* Add version.hpp parsing and update capabilities to cmake and engsys
* Get-SdkVersion -> Get-PkgVersion
* Move Update-PkgVersion.ps1 under eng/scripts
* Get-PackageVersion -> Get-PkgVersion
* Update paths, params, verbosity
* Couple fixes to output and make use of new SemVer version
* Add fallback support for verison.txt in cases where we still use it to unblock release artifact generation
* Use version information in release pipeline
* Add workaround to generate storage pipeline artifacts
* eng/scripts/
* Write warning
* Haven't released storage-file-shares yet according to releases on GitHub
* Set release date on changelog.md
* Update CHANGELOG.md to indicate this is a test release
* Add docs.microsoft.com artifact generation
* Add arguments
* newline
* d->s
* publish docs.ms artifact
* Consolidate archetype-sdk-client.yml docs.ms generation steps
* publish not the docs.ms for we publish it as part of packages
* Better folder structure
* Add version.txt
* Add doc generation for template
* Add version.hpp parsing and update capabilities to cmake and engsys
* Get-SdkVersion -> Get-PkgVersion
* Move Update-PkgVersion.ps1 under eng/scripts
* Get-PackageVersion -> Get-PkgVersion
* Update paths, params, verbosity
* Couple fixes to output and make use of new SemVer version
* Add fallback support for verison.txt in cases where we still use it to unblock release artifact generation
* Use version information in release pipeline
* Add workaround to generate storage pipeline artifacts
* eng/scripts/
* Write warning
* Haven't released storage-file-shares yet according to releases on GitHub
* Set release date on changelog.md
* Update CHANGELOG.md to indicate this is a test release
* Remove fallback exception for storage
* Re-add Rick's suggestions
* Revert "Remove fallback exception for storage"
* Restructure azure storage directory
* Add tests and sample
* reformat with clang-format
* Reorder files in CMake
* load versions from version.txt
* fix crash
* Update README.md
* Use relative links
* fix CI
* Fix CI
* Try to fix CI
* Move option to the top of the file
* Add CHANGELOG enforcement to release process
* Test: validate test failure if no changelog entry present
* Disable release and use an echo instead. Revert before publishing
* add entry for 1.0.0-dev.1 with no release date (expect failure)
* Add date but no content (expect failure)
* adding content, expect validation to pass
* Revert changes used for testing
* Revert "Test: validate test failure if no changelog entry present"
This reverts commit a702f0053bb60839ff722a5656d90c75568b7ca9.
* Use Powershell@2 task instead of pwsh for better debugging
* Update version and disable actual release tagging for validation of Powershell@2 task changes
* Revert "Update version and disable actual release tagging for validation of Powershell@2 task changes"
This reverts commit 53bfd04746cc9d0060fa8dd29b4acfcacd015add.
* update version to dev.1 for test release
* Update release date in CHANGELOG.md
* Add checkout step
* Faster matrix
* Add Skip.Test to improve inner loop
* Show more info for tagging
* Revert "Faster matrix"
This reverts commit 713afd3d64743cbc1841e1ee965e936c049f7cf7.
* Add correct folder
* Add fixes for tagging repo
* Use Invoke-WebRequest for GetExistingTags
* Use -Uri
* return empty list
* Add vcpkg caching
* Set contents to copy
* Add doc uploads for C++
* Revert "Update release date in CHANGELOG.md"
This reverts commit 6fb302701381758cbb3d3828c2ce8d29d6b77950.
* Revert "update version to dev.1 for test release"
This reverts commit 4e188e4da99cb1246f195a5362e47d6ff80c3219.
* Revert "Add vcpkg caching"
This reverts commit 1f5f4d95e21d07d5ade1df470f39ceb478849f06.
* Add ci.yml for storage
* OSVmImage
* Use correct name for storage
* Update ci.ymls
* Documentation generation
* Fix tabbing
* More tabbing
* Use correct service directory for storage ci.yml
* Add docs assets
* Use cpp for dropdown generation
* Use cmake to generate documentation
* Use CMake to generate doxygen docs
* BuildArgs -> GenerateArgs
* Correct template path
* More CURL options
* Install curl to satisfy minimum build requirements
* use dependency variable name
* Add VCPKG_DEFAULT_TRIPLET
* Always generate documentaion when -DBUILD_DOCUMENTATION=YES
* Build docs at top level
* Change variable names, simplify cmake-build.yml
* -DBUILD_DOCUMENTATION
* Try using MathJax for formula rendering instead of Latex
* Add version.txt for storage
* artifact.Name -> artifact.Path
* Build docs by target
* Remove Doxyfile
* Remove Doxyfile.template
* Remove generate_docs.py, we are using cmake
* Pass CtestRegex to archetype-sdk-client job template)
* Remove Date in request options, assign x-ms-version a default value
* reformat files with clang-format
* Add shared key policy and basic request policy
* Add openssl dependency for linux and macOS
* add some comments, some slight fixes
* Rename CommonRequestPolicy -> CommonHeaderRequestPolicy
* add blob service auto generated protocol layer
* Add storage uri builder
* integrate with pipeline
* Add libxml2 dependency
* Fix variables name
* Rename variable and function name
* Move xxx_options.hpp out of internal directory
* Rename FromConnectionString -> CreateFromConnectionString
* Replicate C pipeline files to CPP
* Adjust to build CPP
* Remove pipeline pieces copied from C that are not needed for C++ build.
* Remove extraneous debugging step.