Граф коммитов

68 Коммитов

Автор SHA1 Сообщение Дата
Louis DeJardin 40fabb5b2b
Operation foreach (#98)
* Any operation may have a wrapping foreach loop
* foreach.values which are arrays cause the operation to
be executed multiple times
* foreach.output which are arrays are concatinated to produce
final results

Resolves #71
2018-11-08 16:18:59 -08:00
Louis DeJardin de71269f07
Adding org name to private registry repository (#97) 2018-11-07 15:17:45 -08:00
Louis DeJardin ef06307bc6
Change global tool package name to atlas-cli (#96)
* Change global tool package name to atlas-cli

* Also removes chocolatey packaging

* The name of a task changed
2018-11-07 13:04:00 -08:00
Louis DeJardin d4dd6f93ec
Build docker image (#94)
* moves many steps from build-ci.yaml into dockerfile
* updates build agent arm template to include docker extension
* all publish artifacts now build through dockerfile
* tests are run in container
* a docker image is created for executing the atlas command without installing it
2018-10-31 15:54:57 -07:00
Louis DeJardin 471078a048
Fixing bug loading workflows (#93)
If there was a readme.md file with no yaml code blocks
then the workflow's info object ended up being null
2018-10-30 12:11:51 -07:00
Louis DeJardin faece37f35
First fix didn't work (#88) 2018-10-29 17:38:04 -07:00
Louis DeJardin 342b41959c
Location of deployment outputs entity changed (#87) 2018-10-29 16:04:29 -07:00
Louis DeJardin d57beb9333
Adding quick fix for duplicate operationId in a swagger file (#86) 2018-10-29 15:32:06 -07:00
Louis DeJardin 6b09cac1bb
Support workflow metadata and swagger references (#85)
* Blueprint contains yaml information in readme.md
* Swagger documents are imported based on that information
* A request.yaml is generated for each operation in the swagger files
* Adding support for $ref across document boundaries
* Removing unnecessary request yaml files from examples
* Adjusting swagger generation for Azure DevOps APIs
* Assuming the schema.type property defaults to object
* Adding support for allOf schema recursion for top-level body properties
* Fixes for stylecop rules
2018-10-29 14:33:55 -07:00
Louis DeJardin d0abe1729c
Removing an unintentional submodule (#83) 2018-10-22 15:57:50 -07:00
Louis DeJardin 093d3df4e1
Updating looping example (#75)
* show looping by a counter index
* show accumulating data into an array
* show looping foreach object in an array
2018-10-20 12:39:26 -07:00
Louis DeJardin 9c10edd0d5
Found one case where Newtonsoft.Json deserializes more correctly (#80)
* an operation is returning a special escape "\/Date(int)\/"
2018-10-18 00:30:53 -07:00
Louis DeJardin 9dddefbf1f
Adding selection of subscription details to end of output (#78)
* Also writes details to _output/selection.yaml file
* Intended to be helpful looking up tenant and subscription
id when making a values.yaml file
2018-10-16 14:54:18 -07:00
Louis DeJardin 750a91e542
Fix bug with https blueprint provider (#79)
* Fix bug with https blueprint provider
* System.IO.Path methods would encode `/` characters
* Also re-order to try shorter paths first, to reduce
the number of NotFound responses
* Need dot in extension
2018-10-16 14:44:21 -07:00
Marcus Farkas c7e218e6e4 Change program path in launch.json from netcoreapp2.0 to netcoreapp2.1 (#77)
* Updated to match TargetFramework
2018-10-13 17:41:27 -07:00
Marcus Farkas 0bc2677d26 Add {{ yaml }} helper to template engine (#76)
Resolves Microsoft/Atlas#40
2018-10-13 17:31:32 -07:00
Louis DeJardin 76d4f45775
Missed two files in the last change (#74) 2018-10-12 12:42:41 -07:00
Louis DeJardin 9dd25e5db1
Azure DevOps service endpoint has different resource name (#73)
* https://management.azure.com/ seems to be the correct value
2018-10-12 12:21:16 -07:00
Louis DeJardin 9e93d0f8d2
Bug in task versioning (#70)
* Extra quote in sed - wasn't changing task.json versions
2018-10-11 18:57:25 -07:00
Louis DeJardin ec5962a8a2
Pipeline task property for Azure RM connection info (#65)
* Adding support for Azure subscription connection to devops task

* only works for Azure Resource Manager api calls

* request must have matching tenant guid
2018-10-11 18:30:27 -07:00
Srikar Mutnuri 26e4997cb4 Wrong link for Linux tarball (#64)
Edited the link for Linux installation download to point to the tarball, instead of the windows zip.
2018-10-11 11:03:52 -07:00
Louis DeJardin b4c97d45d9
Fixing a bug in listkeys.yaml template files (#63)
* Fixing a bug in listkeys.yaml template files

* `secret:` needs `result.body.` in the jmespath to find the secrets
2018-10-10 14:36:39 -07:00
Louis DeJardin 075bcfbf1f
Https paths for workflow argument (#62)
* Adding blueprint provider for https paths

* enables you to deploy with a publc url as the workflow argument
* logs references to template files as they're used, like any http calls
* github repo urls are re-written as the corresponding raw file location

* Updating readme to show running from url in Getting Started

Resolves #59
2018-10-10 12:52:23 -07:00
Praveen Thirumurugan 04848c3c88 Updated Tutorial Folder from Hello to Demo (#61) 2018-10-10 08:46:34 -07:00
Ajay Saxena 0e4287a674 Adding descriptions to top level commands (#58)
* Initial commit for adding descriptions to top level commands

* Updated descriptions

Resolves #33
2018-10-10 00:06:52 -07:00
Louis DeJardin 83a65a6514
Catch exceptions (#54)
* Implimenting conditional catch with exception details

* Testing for catching result status codes in particular
* Catch can add output to working memory from result and error details
* Catch can stop errors conditionally by jmespath expression
* Improving the exception thrown by response status code
* Adds a request and response to the exception
* adds error.type.name and error.type.fullName properties
2018-10-09 13:51:05 -07:00
Louis DeJardin c4248fa1aa
Adding values to working memory by default. (#57)
* Makes `values: {{{ json }}}` at the top of a workflow unnecessary.
2018-10-08 07:53:24 -07:00
Batyr Nuryyev dcb67cebcb Add JMESPath support for operation write property (#56)
* Added jmespath support for operation write property

* Fix variable in the path
2018-10-08 07:48:20 -07:00
Batyr Nuryyev 50c9965e11 Adds atlas.sh in the Readme (#55)
* Adds atlas.sh in the Readme

* Add dotnet restore for a clean install

Resolves #49
2018-10-07 15:17:34 -07:00
Louis DeJardin 0f192b7e9f
Fixing example 402 following recent change (#53) 2018-10-05 15:19:26 -07:00
Louis DeJardin 1028a4927c
Moving operation result to a sub-object for output query (#52)
* enables a request or template operation to query from existing
working memory as well as the operation's result data

* adds result.status and result.headers.*[*] for request operation

* request.secret also uses result as starting point, so response
headers may be redacted
2018-10-05 15:10:34 -07:00
Louis DeJardin 5735b88baa
More helpers for devops api (#51)
* Adding bits and distinct jmespath functions

* bits(number, ...) -> [ numbers ] needed for permission api bitmasks
* distinct([any]) -> [any] needed to deduplicate descriptors for identity
lookup

* Updating {{query}} handlebars helper to use jmespath service

* Warnings as errors was meant to be release-only
2018-10-05 14:22:56 -07:00
Jackson Isaac b6b81267c7 Add version to console title (#48) 2018-10-04 12:11:27 -07:00
Louis DeJardin 635e6a4113
Adding an atlas.sh script to run locally from source (#47) 2018-10-03 21:00:29 -07:00
Louis DeJardin dd3ecdb3b6
Remove targets from example (#44)
* Removing troubleshooting target names from example

* Adding continue on error because task may fail sometimes
2018-10-02 20:31:29 -07:00
Louis DeJardin 15c11a979d
Editing readme link (#45) 2018-10-02 20:14:15 -07:00
James Flynn 03c8f06b7f #39 Updating VSTS refs to Azure DevOps (#42)
* #39 Updating VSTS refs to Azure DevOps

* Fixed URL
2018-10-02 15:06:56 -07:00
Louis DeJardin 4c5b8645bd
Devops pipelines example (#43)
* Adding a build/release pipeline example

* Adding a data structure processing example
2018-10-02 13:29:26 -07:00
Louis DeJardin aac8a02f7b
Using Console color properties instead of ansi escape sequences on Linux (#38)
* .NET Core has better support for console color now
* Was causing problems leaving escape sequences in VSTS log files
2018-09-26 16:05:10 -07:00
Louis DeJardin 0d86c10ce1
Images folder should not be listed in files section (#36)
Not sure why it works this way, but if it makes a difference...
2018-09-26 12:45:48 -07:00
Darío Hereñú e3e2e14068 Typo on paragraph #15 (#37) 2018-09-26 12:33:49 -07:00
Louis DeJardin 806353a6b3
Fixing bad boolean test for checkLatestVersion (#31)
* if statement was always evaluated as true
* fixes #30
2018-09-25 17:14:45 -07:00
Louis DeJardin ca858c166f
Using a shorter url for global tool feed (#28) 2018-09-25 13:20:12 -07:00
Louis DeJardin 892d11213f
Install sleet in bin subfolder (#23)
* less likely to collide on build agent
* avoids problem where install -g isn't already on path
2018-09-25 12:13:11 -07:00
Louis DeJardin 7d35662e05
Pack as global tool (#21)
* Updating for dotnet 2.1

* Packing console app as dotnet tool

* Moving metadata in Directory.Build.props to apply to all packages

* Including license and notice files in dotnet tool package

* Pushing global tool nupkg to static-file NuGet feed

* Updating installation instructions to include global tool
2018-09-25 11:27:29 -07:00
Louis DeJardin b268f3499e
Updating links in an example (#20) 2018-09-21 14:42:33 -07:00
Louis DeJardin 43082bf40d
Adding a task to install and download atlas on build agent (#19)
* Adding a task to install and download atlas on build agent

* Updating the bash step which builds the vsix package

* Removing display name from script step

* Updating latest.json last to avoid clients getting 404 during deployment

* Replacing vsix patch number with build number when packaging

* Need to use extended regular expressions for plus in sed
2018-09-14 18:39:06 -07:00
Louis DeJardin 19249e7d4f
Don't include utf8 preamble (#18)
Confused at least one client reading a json file that was posted
to blob storage
2018-09-14 12:14:11 -07:00
Louis DeJardin 2616b1026c
Fixing typo in rest api filename (#17) 2018-09-12 18:52:21 -07:00
Louis DeJardin cbe9830a61
Fully qualify path in latest.json file (#16)
* The latest.json should have fully-qualified url to downloadable

* Calling join to make the path property a string

* Body in api template needs to be json
2018-09-12 18:41:49 -07:00