Commit Graph

284 Commits

Author SHA1 Message Date
Daniel Jurek
20349daf11
Live test framework (#608)
- Add live test framework
- Enable storage live tests
2020-11-05 14:59:05 -08:00
Sima Zhu
202fc466fc
Centralize the docindex scripts and regenerate Github IO landing page. (#892)
* Centralize the docindex scripts and regenerate Github IO landing page.
2020-11-02 21:19:46 -08:00
Victor Vazquez
c764052e7c
Add Code coverage (#830)
* Add code coverage scripts
2020-10-27 15:35:15 -07:00
Mitch Denny
64ddc30abd
Add prepare pipelines. (#831)
* Add prepare pipelines.

* Add training blank line.
2020-10-22 12:24:23 +11:00
Sima Zhu
2d8694a8f4
Scan the entire repo to cover root path (#818) 2020-10-21 09:41:08 -07:00
Victor Vazquez
d79d95e5b7
Add prefix for Azure Core Tests - Fix CI test run (#801)
* Add prefix for Azure Core Tests
2020-10-16 17:39:02 -07:00
Victor Vazquez
cd2a8a3812
cmake updates for building transport adapters (#706)
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
2020-10-10 00:08:57 +00:00
Sima Zhu
8fed524b96
Replaced relative link with absolute links and remove locale (#668) 2020-09-17 22:28:36 -07:00
Daniel Jurek
5ddeaabab9
Use vcpkg cache (#646) 2020-09-17 21:16:09 -07:00
Sima Zhu
caf9fbc7d6
Enable master link replacement feature for cpp (#632) 2020-09-17 17:51:27 -07:00
Daniel Jurek
39e8dfd6e7
Vcpkg publish framework (#645)
* Add vcpkg artifact creation and port template copying
* Skip staging if vcpkg port directory doesn't exist
2020-09-17 15:45:43 -07:00
Sima Zhu
9d83f2c7bd
Allow skip publish DocMS or Github IO for each artifact (#648) 2020-09-15 13:31:00 -07:00
Daniel Jurek
21214f9e38
Add support for g++ 8 and 9 (#502)
* Add support for g++ 8 and 9

* Close parentheses

* Not equal empty string

* Use sudo

* Remove apt install step, compilers are already present
2020-09-11 15:19:38 -07:00
Daniel Jurek
48e06b6e4c
Fix C++ multi-package UP release (#633) 2020-09-09 20:18:47 -07:00
Daniel Jurek
3e4fa18377
Add docs.microsoft.com artifact generation (#576)
* 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
2020-09-03 21:08:30 -07:00
Daniel Jurek
919610f429
Use version.hpp for package versions (#572)
* 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"
2020-09-02 18:53:46 -07:00
JinmingHu
3a4e1f3b49
Restructure storage directory (#536)
* 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
2020-08-27 16:16:08 +08:00
Victor Vazquez
1f0da6fcc4
Clean routine (#530)
* adding cleaner routine
2020-08-26 16:51:24 -07:00
Daniel Jurek
455cf134b3
Add CHANGELOG enforcement to release process (#413)
* 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.
2020-08-07 12:07:14 -07:00
KarishmaGhiya
3060f7341c
clean up links and add link verification (#410) 2020-08-07 11:55:11 -07:00
Daniel Jurek
c7d994f08f
Use vcpkg caching (#361)
* Use vcpkg caching

* fetch tags

* Supply OSVmImage to doc generation so vcpkg.yml can include/exclude the correct set of steps
2020-07-31 15:10:09 -07:00
Daniel Jurek
d96413b950
Engineering changes required to publish tags and docs (#260)
* 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.
2020-07-28 10:27:42 -07:00
JinmingHu
95aa6361ef
Concurrent upload block blob from file, concurrent download blob to file (#247)
* concurrent download to file

* concurrent upload block blob from file

* update sample

* Change default download chunk size from 8MB to 4MB

* fix CI
2020-07-08 13:26:22 +08:00
Chidozie Ononiwu
c22e4f8386
Clean up azure-sdk-tools and reduce dependency on external resources (#228) 2020-07-02 14:20:12 -07:00
Daniel Jurek
0cfcdca725
Unified Pipelines for storage (#184)
* 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)
2020-06-26 10:42:48 -07:00
Daniel Jurek
f604a1dd00
Replace CMake steps with script steps (#156)
* Replace CMake steps with script steps
* Remove comment, use script tasks to invoke cmake going forward
2020-06-11 11:20:52 -07:00
JinmingHu
401298577e
Shared Key Authentication Policy (#160)
* 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
2020-06-09 03:38:35 -07:00
JinmingHu
5fc6fea9f4
Auto-generated protocol layer of Container and BlockBlob (#144)
* 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
2020-06-04 13:21:08 +08:00
Rick Winter
602f75744a
HttpPipeline and HttpPolicies (#63)
* HttpPipeline
2020-05-29 10:57:10 -07:00
Danny Amirault
a6bb11ed01
Remove dependancy on azure-sdk-build-tools (#58) 2020-04-01 09:01:40 -07:00
Danny Amirault
00b8ba52b3
Auto update package versions upon release generation (#52)
* Auto update package versions upon release generation
- Adapted from .Net package incrementing
 - https://github.com/Azure/azure-sdk-for-net/blob/master/eng/Update-PkgVersion.ps1
- Seed Changelog file to allow updates to happen

* Spelling fix
2020-03-31 09:58:06 -07:00
Victor Vazquez
9f1493af27
Adding http request (#41)
* adding gtest framework

* http request
2020-03-26 11:38:07 -07:00
Danny Amirault
2708ca8f11
Specify artifact path in YML to locate artifact files correctly (#45)
* Specify artifact path in YML to locate artifact files correctly

* Remove doc generation for now
2020-03-25 12:41:15 -07:00
Danny Amirault
5dff0dad92
Initial CI pipeline work (#36)
* 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.
2020-03-18 13:32:30 -07:00