You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* initialize code
* cleansing comments
* psdupdates
* changed path
* added actual details to build / release defition when lisitng
* also added .value property to release definitions
* adding checks to prevent unneeded calls
* adding functionality to include previews in deciding highestversion
* enabled searching for a specific version for TG ID Search
* taking into account nested tg version drafts and preview
* gitignore
* adding refName to excluded
* readability
* adding empty placeholder for build
* adding BuildNumber format from BD
* adding a first iteration of readme
* updated docs
* added more documentation
* adding schedules for Build Definition conversion (#1)
* adding priv function get-cronfromschedule
* add caller, cleanup comments, DST corrections & debugging dayshift
* adding prot from empty properties and added schedules
* updated documentation
* cleansing
* empty placegolder to identify folder in git
* added schedules assumption
* modding verbose msg for secrets
* small additions to readme
* Adding Set-AzDOAPIToolsConfig function and changes to existing files to make it work
* returning profile after creating one
* PSScriptanalyzer errors
* adding possibility to overwrite existing profile
* single out-file command
* splitting configfilepath and filename for custom out-file function
* Revert "splitting configfilepath and filename for custom out-file function"
This reverts commit 2c49401.
* fixed bug jobcount = 1 & custom pool no output
* adding separate function to output as YAML
* renaming functions and adding outputting as file optional
* moving functions to private
* renaming functions
* rename Get-AzDOAPIToolsDefinitionsTaskGroupsByID
* fixing caps
* rename convert function
* casing
* renaming
* renaming
* renaming
* renaming var function
* proper renaming internal function Convert-TaskIDToYAMLTaskIdentifier
* renaming internalfunction Convert-TaskStepsToYAMLSteps
* forgot to rename function itself
* renaming internal function Convert-TGInputsToYamlTemplateInputs
* renaming internal function Get-DefinitionInputIncludeExclude
* renaming internal functions Get-AzdoAPIURL
* renaming internal functions Get-Confirmation
* renaming internal functions Use-AzDoAPI
* fixing MD Markup problems
* adding badges
* names
* docs update
* adding skeletons for unit tests and markdown files
* added summarized explanation for each public function
* ignoring local VSCode settings
* updating main readme
* expanding on main functionality
* moar info
* tags
* adding documentation on build definitions
* updating local PSD files with new function names to export
* updating project names
* documentation on seperate functions
* Finishing documentation on conversion
* pester part
* updated title
* started adding example conversions
* finishing examples
* fixing images
* fixing the rest of the image links
* image captions
* captions
* test
* formatting
* formatting
* updating task group examples
* generated help Markdown files with PlatyPS
* Added first PlatyPS file with content
* updated specific function documentation
* update re-added aliasses
* typo in functionname
* missed a function
* adding new experimental build & deploy files
* finishing Build Scripts
* adding doc generation to build script
* build scripts overhaul
* pipeline
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* updating module dependancies
* pester v5
* renamed test files, update pipeline for using win2016 and adding testroot
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* Update azure-pipelines.yml for Azure Pipelines
* test publish to psgallery
* updating paths
* status badge
* nugetapikey
* mapping apikey and reverting apikeyname
* changes to docs
* updating triggers
* fixing path
* paths
Co-authored-by: Tobi Steenbakkers <tobi.steenbakkers@rabobank.com>
AzDoAPITools is a project which was born when doing a migration from classical pipelines to YAML pipelines for a customer. Which is the current function of the published module. The module will convert Task Groups and classical build pipelines to usable all in one YAML pipelines / step templates.
12
+
13
+
In the future you can expect other automations which i have done for customers such as automatic branching / mass policy application etc. to be bundled in this module.
14
+
15
+
## Requirements
16
+
17
+
- Powershell 5.1
18
+
19
+
## Module Dependancies
20
+
21
+
[Powershell-YAML](https://www.powershellgallery.com/packages/powershell-yaml) is required if you want to create \*.yml files with this Module. The module is capable of delivering a PSObject with all YAML components inside found in your Task Group / Definition if you wish to use a different convert to YAML tool.
22
+
23
+
## installation
24
+
25
+
Install this module from the [Powershell Gallery](https://www.powershellgallery.com/packages/AzdoAPITools) or by performing `Install-Module -Name AzdoAPITools`
26
+
27
+
## First Time use
28
+
29
+
Run Set-AzDOAPIToolsConfig to create a config.json file which is stored inside the %APPData%\AzDoAPITools folder. Don't sweat if you forget this step. The module will prompt you if it does not find a configfile.
30
+
31
+
## Documentation
32
+
33
+
You can find generic documentation [here](/docs/README.md) or check specific functionality documentation below.
34
+
35
+
## Functionality
36
+
37
+
-[Convert Classical (GUI) Pipelines to YAML Pipelines](/docs/classic-to-yaml-conversion.md)
38
+
-[Convert Task Groups to YAML Templates](/docs/classic-to-yaml-conversion.md)
39
+
- Retrieve a list of names of Build / Release Definitions & Task Groups
40
+
- Retrieve details of Build / Release Definitions & Task Groups based of (a list of) names
41
+
- Filter Task Groups API to return highest / draft / preview of a Task Group
42
+
43
+
## How to Build local
44
+
45
+
- Download Source code / Clone repo
46
+
- Run Invoke-Build from the modules root directory
47
+
- You will need the following modules in order to use Invoke-Build:
48
+
- InvokeBuild
49
+
- Buildhelpers
50
+
- PSScriptAnalyzer
51
+
- Pester
52
+
- PSDeploy
53
+
- PlatyPS
54
+
- Load the module from the BuildOutput folder
55
+
56
+
## Pester Tests
57
+
58
+
Currently only placeholders have been made for each function. Tests were done on my personal Azure DevOps Instance and verified by using the actual converted pipelines to see how they work.
59
+
60
+
I need to gain more knowledge on Pester Tests and especially on how to mock the REST API calls. Tests will be added when I have this knowledged and time to create tests.
61
+
62
+
## License
63
+
64
+
This project is licensed under the [MIT License](https://github.com/tsteenbakkers/AzDoAPITools/blob/master/LICENSE.md)
0 commit comments