summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2021-12-21Ported website scaffolder from azurerm providerThomas Meckel
2021-12-03Initial check in of v6 API changesThomas Meckel
2021-03-22* bump go from v1.14 to v1.16xuzhang3
* support apply m1
2021-01-11remove unnecessary slashxuzhang3
2021-01-11build script updatexuzhang3
2020-11-25add provider version for useragentxuzhang3
2020-11-21add execute permissionxuzhang3
2020-11-21update GPG dearmor scriptxuzhang3
2020-11-21update GPG dearmor scriptxuzhang3
2020-11-20dearmor gpg signature filexuzhang3
2020-11-20dearmor gpg signature filexuzhang3
2020-11-19script updatexuzhang3
2020-11-19script updatexuzhang3
2020-11-19package script updatexuzhang3
2020-11-17Merge pull request #221 from xuzhang3/f/releasescriptupdatexuzhang3
release package script update
2020-11-17release package script updatexuzhang3
2020-11-17add execute permissionxuzhang3
2020-11-02ADO provider release package pipeline (#213)xuzhang3
* release pipeline * bump pipeline GO version to 1.14 Co-authored-by: xuzhang3 <Zhangxu894765>
2020-08-24Added support for TF v0.13 provider installation location (#157)Thomas Meckel
Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
2020-07-01Excluding all other folders except the acceptancetests folder while running ↵Thomas Meckel
acceptance tests in scripts/acctest.sh
2020-07-01Excluding acceptancetests folder from running unit tests in scripts/unittest.shThomas Meckel
2020-05-27Support CI with makefile (#340)xuzhang3
* pipeline makefile Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * misspell install * pipeline makefile Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * CI build with makefile Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * go version Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * Bump go version from 1.12 to 1.13 Signed-off-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com>
2020-05-25Implement min reviewer branch policy + build validation + fix docs links (#326)Nicholas M. Iodice
* Implement Min Reviewer Branch Policy This change also does the following: - Implement core components that can be shared across other policies - Fix some documentation issues * Adding support for build validation policy * making acc tests more consistent' * Update azuredevops/crud/branchpolicy/crud_branch_policy.go Co-authored-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * Update azuredevops/resource_branchpolicy_acceptance_test.go Co-authored-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> * formatting fix * docs fix Co-authored-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com>
2020-05-04PowerShell scripts (#239)Thomas Meckel
* Added initial versions of PowerShell script to build the provider * Updated Powershell build scripts * Added parameter -SkipTests to scripts\build.ps1 * Fixed trailing whitespaces for scripts\build.ps1 and scripts\unittest.ps1 * Initial check in scripts\local-install.ps1 * scripts\build.ps1 will add .exe extension on Windows * scripts\local-install.ps1 now installes provider on Windows correctly * Added parameter -Install scripts\build.ps1 * Fixed a spelling error of System namespace in scripts\local-install.ps1 * Initial check in of scripts\acctest.ps1 and added tags support in scripts\unittest.ps1 * Added same parameters to scripts\unittest.ps1 as scripts\acctest.ps1 * Added validation to -Tags parameter in scripts\acctest.ps1 * Added -DebugBuild parameter to scripts\build.ps1 * Forcing LF line ending for GO files * Added scripts\gofmtcheck.ps1 * Added missing -s flag to gofmt in scripts\gofmtcheck.ps1 * Added scripts\lint-check-go.ps1 * Added link to Gitter channel and Go Report Card back to README.md * * Added parameter -GoMod to control the -mod build flag * Added missing environment variables during build * Added cleanup process for build environment variables * Removed unsupported -Fix parameter from scripts\lint-check-go.ps1 * Added documentation for developing on Windows Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
2020-04-22Adding longer timeout to acceptance test script (#278)Nicholas M. Iodice
2020-04-14Update .sh file execution permission (#265)xuzhang3
* Update .sh file execution permission * Script update * Remove chomd operation
2020-04-06Update dev container with tooling and comments (#256)Eliise
* Add tooling and comments * Fix linter * Add linter install * Add workdir back * Fix workspace not being set I think this isssue was caused by differences between ubuntu and debian * Use newer versions * Use the new linter * Use the new way to build provider * Fix typo * Refactor install command Co-authored-by: Nicholas M. Iodice <niiodice@microsoft.com>
2020-04-06New Data Source/Resource azuredevops_user (#129)Andre Bindewald
* new ds 'azuredevops_user' * Added azuredevops\data_user_test.go * Fixed compile errors caused by rebasing to master * Revamped azuredevops/data_user.go * Corrected function call in azuredevops\provider.go after rebase * Added azuredevops_users to list of expected DataSources in azuredevops\provider_test.go * First working version * Added AllowNil to AttributeComparison in azuredevops\data_user.go * Streamlined reflection code in azuredevops\data_user.go and ensure consistent function names * Now using go-linq in azuredevops/data_user.go * Using plural form now for data source users because it might return more than one object * Implemented unit tests for data source users * Added documentation for azuredevops_users data source * Updated references to terraform-plugin-sdk, terraform and azure-devops-go-api in go.mod (go.sum) * Updated vendor folder with ahmetb/go-linq * Made scripts/gofmtcheck.sh executable Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
2020-03-31F/onboard (#252)xuzhang3
Changes requested in the following issues: Issue Number: #241 #243 #244 #245 #246 #247 #248
2020-03-28Fix variable group update and build script (#254)Nicholas M. Iodice
* Fix variable group update and build script * fixing tests to expect non empty plan due to secret * adding more acc tests
2020-02-03Add parameters to build.sh (#233)Thomas Meckel
* Added parameters to scripts/build.sh to support install, debug flags and skipping unit tests * Added documentation for parameters of scripts/build.sh Co-authored-by: Nicholas M. Iodice <niiodice@microsoft.com>
2019-12-06Improved test framework (#217)Thomas Meckel
Migrate testing boiler plate into own package; Improve build scripts to accept an argument which will be a subset of tests to run
2019-11-08Refactor and impl a GitHub service endpoint using the new design (#196)Stephen Henderson
2019-11-07Miperel/lint (#199)michaelperel
Added golint
2019-11-03Implement Import AzDo project (#156)Mikael
* add note in contribution guide * scripts : changes encoding for Linux implement the AzDo project Importer + tests + documentation Fix acceptance tests in TestAzureDevOpsProvider_SchemaIsValid method * apply gofmt * fix integration test * lintGo * add doc link for import acceptance testing * go lint
2019-10-16This change migrates to a new version of the AzDO SDK that uses interfaces. ↵Nicholas M. Iodice
(#117) * This change migrates to a new version of the SDK that uses interfaces. This change avoids the need to create new interfaces by hand whenver we need to test additional APIs in the provider. This includes the following: - Update documentation for generating mocks - Remove `mock_config.go` file that has all the generated mocks - Remove the hand-created interfaces from `config.go` - Update `./scripts/generate-mocks.sh` so that it discovers the azdo GO SDKs pulled into the project, and programatically generate mocks for those SDKs
2019-10-04Add lint check to CI; Format all files as per linting rules (#75)Nicholas M. Iodice
* Adding lint-check-go.sh script and adding it to CI * Fixing linting errors * Marked scripts as executable.
2019-10-04Implemented integ tests for project create/delete; Implemented project ↵Nicholas M. Iodice
delete (#69) * Implemented integration tests for project, as well as project::delete * Adding documentation about how to extend acceptance tests
2019-10-03Restructured and repackaged to more closely match terraform-provider-azuread ↵Megan Meyer
(#63) * Restructured and repackaged to more closely match terraform-provider-azuread * Fixed azdo_config references
2019-10-03Cleaned up Service Endpoint resource to handle flatten/expand (#56)Megan Meyer
* Cleaned up Service Endpoint resource to handle flatten/expand * Added sensitivity flag to PAT * Removed unreachable error handling * Fixes for absolute path on scripts
2019-10-03Add testing for project Create & Read APIs, as well as expand/flatten ↵Nicholas M. Iodice
project code (#57) * Adding more comprehensive tests for project create API * Adding tests for projectRead(), flattenProject() and expandProject() * Adding another test & refactoring the async wait code
2019-10-03Added documentation and script to support mock generation (#54)Megan Meyer
* Created docs directory. Added testing documentation. * Added note on ifacemaker * Added executable permissions to scripts. Updated commons paths to be absolute. * Added script to generate mocks * Set package of generated mock file * Documentation update to support generate-mocks.sh introduction * Comment: fixing spacing/tabs Co-Authored-By: Nicholas M. Iodice <niiodice@microsoft.com> * Comment: Simplify inline example * Comment: simplified current directory assignment Co-Authored-By: Nicholas M. Iodice <niiodice@microsoft.com>
2019-09-24Fixed unit tests and enabled them in buildNick Iodice
* Uncommented test command in build script * Moved build scripts into ./scripts/ * Updated README.md