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

56 Коммитов

Автор SHA1 Сообщение Дата
Eammon Hanlon d31e2253e5
Merge pull request #44 from jasonwbarnett/remove-windows-cookbook-dependency
Remove windows dependency
2021-06-27 14:53:52 -07:00
Jason Barnett b031eefdc0 Remove windows dependency
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
2021-04-28 14:16:36 -06:00
Eammon Hanlon 3513f60745
Create greetings.yml 2020-07-04 09:24:31 -07:00
Eammon Hanlon 6416c9b9b6
Create CODE_OF_CONDUCT.md 2020-07-03 12:46:58 -07:00
Eammon Hanlon e116d26a1d
Create SECURITY.md
Add SECURITY policy documentation
2020-07-03 12:44:52 -07:00
Eammon Hanlon ebeb1cedff Release 3.2: Add support for Proxy (#41)
* add support for forward proxies

* fix rubocop report

* Cookstyle changes for Chef 16

* Remove .foodcritic

* Update maintainer information metadata.rb

* Bump cookbook version

* More cookstyle fixes

* Remove .rubocop.yml

* Fix line endings

* Modernize and lint kitchen.yml

* Remove Travis CI

* Remove Rakefile

* Update license

* Update kitchen.yml to use kitchen-azurerm driver

* Remove .rspec file

* Add CHANGELOG for 3.2.0

* Fix SSH Transport for kitchen-azurerm

* Update libssl version for debian-10 and change liburl to curl

* Require Chef 14 as minimum version

* Rename .kitchen.yml to kitchen.yml

* Update CHANGELOG

* Remove macOS suites from kitchen

There is a separate Pipelines Agent Cookbook for macOS

* Remove Windows suites until a future release

Co-authored-by: Christian Blechert <christian@serverless.industries>
2020-06-26 14:27:45 -07:00
Eammon Hanlon f521428a78
Merge pull request #37 from microsoft/develop
Add a CHANGELOG
2020-03-23 10:34:50 -07:00
Eammon Hanlon f6aed36303 Add changes for v3.0.0 2020-03-23 10:25:12 -07:00
Eammon Hanlon 5ad2c1024c Add changes for v3.0.1 2020-03-23 10:25:12 -07:00
Eammon Hanlon 0d368f78b3 Update title of CHANGELOG 2020-03-23 10:25:12 -07:00
Eammon Hanlon af420008b7 Initial commit of CHANGELOG.md 2020-03-23 10:25:12 -07:00
Eammon Hanlon 1c9ffcafde
Merge pull request #36 from microsoft/add-stale-bot
Add stale.yml to enable stalebot
2020-03-23 10:24:53 -07:00
Eammon Hanlon 223a79f7e6 Add stale.yml to enable stalebot 2020-03-23 10:18:11 -07:00
Eammon Hanlon d0d62e7682
Merge pull request #34 from baurzhan-konurbayev/feature/convergable_deployment_tags
Include DeploymentTags property to desired state
2020-03-23 10:09:34 -07:00
Baurzhan Konurbayev 4fda33544d Include DeploymentTags property to desired state 2019-07-09 10:54:42 -04:00
Esten Rye 9c763f177d Feature/resolve issue 32 (#33)
* remove require of chef/mixin/language

This mixin was removed from chef 14.*
See [this stackoverflow](https://stackoverflow.com/questions/49909084/cannot-load-such-file-chef-mixin-language)

Fixes Recipe Compile error in Chef 14.3.37:

```
       ================================================================================
       Recipe Compile Error in /tmp/kitchen/cache/cookbooks/vsts_agent/libraries/service.rb
       ================================================================================

       LoadError
       ---------
       cannot load such file -- chef/mixin/language

       Cookbook Trace:
       ---------------
         /tmp/kitchen/cache/cookbooks/vsts_agent/libraries/service.rb:4:in `<top (required)>'

       Relevant File Content:
       ----------------------
       /tmp/kitchen/cache/cookbooks/vsts_agent/libraries/service.rb:

         1:  require 'chef/resource/lwrp_base'
         2:  require 'chef/provider/lwrp_base'
         3:  require 'chef/mixin/shell_out'
         4>> require 'chef/mixin/language'
         5:
         6:  module VSTS
         7:    module Agent
         8:      # The service operations for vsts_agent
         9:      class Service
        10:        include Windows::Helper
        11:        include VSTS::Agent::Helpers
        12:        include Chef::DSL::PlatformIntrospection
        13:

       System Info:
       ------------
       chef_version=14.3.37
       platform=debian
       platform_version=8.11
       ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
       program_name=/opt/chef/bin/chef-client
       executable=/opt/chef/bin/chef-client

       Running handlers:
       [2018-08-17T17:57:39-07:00] ERROR: Running exception handlers
       [2018-08-17T17:57:39-07:00] ERROR: Running exception handlers
       Running handlers complete
       [2018-08-17T17:57:39-07:00] ERROR: Exception handlers complete
       [2018-08-17T17:57:39-07:00] ERROR: Exception handlers complete
       Chef Client failed. 0 resources updated in 01 seconds
       [2018-08-17T17:57:39-07:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2018-08-17T17:57:39-07:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2018-08-17T17:57:39-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2018-08-17T17:57:39-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2018-08-17T17:57:39-07:00] FATAL: LoadError: cannot load such file -- chef/mixin/language
       [2018-08-17T17:57:39-07:00] FATAL: LoadError: cannot load such file -- chef/mixin/language
```

#32

* Fix inability to find default recipe

For some reason the default recipe for build-essential isn't being deployed in 8.1.1.

I haven't figured out why.  Since the logic in that recipe is only 3 lines
long, I opted for using the resource rather than the recipe.

#32

* Fix syntax error that prvents convergence in chef 14.

The variable name and the method were conflicting with each other,
making the compiler not find the helper method.

#32

* Use >= instead of ~> syntax.

* Add missing installation of seven zip.

#32

* Copy win_friendly_path method to helpers library.

For some reason, I wasn't able to get the Windows::Helper library to successfully include itself.
Since the method was simple enough, and unlikely to change much, I felt
moving it into the helpers library made sense, in addition to fixing the issue.

#32

* Revert changes to linux cookbook.

Turns out I had a corupted berkshelf download.  Learning has occurred.
Inspect .bershelf on your dev box before assuming something is broken.

#32

* Add Windows Server 2016 to kitchen.yml

Add Windows Server 2016 with latest chef client to ensure changes work with latest chef.

* Re-add changes after merging latest upstream master.

* Uptick version for bug fix.

#32

* Update solution to utilize feedback provided by @ivadim.

Adds missing include statement.

#33

* Fix linting issues found in CI pipeline.

#32
2018-09-29 17:10:20 -07:00
Dmitry Ivanov e151cce0c8 Add chef-solo test execution to test on azure devops 2018-09-13 23:29:45 -07:00
ivadim 1fbedb20f6
Add support for deployment groups (#31)
* Add deployment groups support. Feature #27
2018-08-05 16:20:57 -07:00
ivadim a5dab42b7b
Bump version to 2.0.4 2018-08-05 14:26:48 -07:00
ivadim c019f02916
Improve chef14 support (#30)
* Fix issue with chef 14
* Add chef 14 and ubuntu 18.04 to tests
2018-08-05 14:24:38 -07:00
Corey Hemminger 2368336dd7 fix chef client 14 error (#29)
* updated for chef 14+ support
2018-08-05 14:12:22 -07:00
ivadim 084e7005ef
Be able to use any version of seven_zip greater or equal to 2.0 2018-07-09 22:58:06 -07:00
ivadim 5fbc61b98c
Be able to use any version of seven_zip greater or equal to 2.0
Fixes #5
2018-07-09 22:56:31 -07:00
ivadim a0e3aee8c9
Update URLs to the new format (#24) 2017-12-28 11:16:30 -08:00
ivadim 267358dbac
Set username and password properly. Don't convert envvars to string (#22)
* Set username and password properly. Don't convert envvars to string. Fixes #20 and #21
2017-11-30 01:22:11 -08:00
ivadim ac16dbdef6
Refactor lwrp into new style custom resources to address #13 (#18) 2017-11-26 23:33:02 -08:00
ivadim 3ed572d984 node.normal should be used to update attributes. Silent copy for windows. Fix typo in commandline params setup (#12) 2017-06-15 12:10:13 -07:00
Kirill Shirinkin b81aa3b434 Correctly handle empty values for command line arguments (#11) 2017-06-15 11:19:24 -07:00
ivadim 8f11adf1f7 Bump version to 1.3.0 for a new release 2017-05-25 21:17:43 -07:00
Eric Hanko d6c2655e89 URL validation, improve macOS testing and testing guide (#8)
* Several improvements for Mac

- Add URL validation for VSTS_URL variable
- Update soon-to-be depracated node attributes from "set" to "default"
- Use homebrew for installing openssl on macOS
- More detailed and updated testing guide
- Fix style and foodcritic
2017-05-25 21:10:47 -07:00
ivadim a8a9ef45ea Don't try to extract secrets during build because it brakes PRs (#9)
* Don't try to extract secrets during build because it brakes PRs
2017-05-24 12:29:00 -07:00
ivadim c911529f9d Use script deployment instead of native dpl supermarket provider (#6) 2017-05-03 17:11:04 -07:00
ivadim 699e096041 Add chef13 support (#5)
* #4 enable chef 13 support

* Fix foodcritic and rubocop issues

* Set cookbook deployment to supermarket from travis-ci
2017-05-03 15:42:48 -07:00
Dmitry Ivanov 81d45add33 Upgrade agent version. Remove nostart option as it isn't in use 2016-12-20 13:55:56 +01:00
Dmitry Ivanov f7cc2c4c78 Fix non-service setup 2016-09-27 16:51:05 +02:00
Dmitry Ivanov 4660fd5034 Remove upgrade feature. Add env and path parameters. Bump agent version. Fix dependencies 2016-08-17 15:32:48 +02:00
ivadim 704e8bf20b Merge pull request #3 from Microsoft/migrate-to-crossplatform-vsts-agent
Migrate to crossplatform vsts agent
2016-06-29 16:53:59 +02:00
Dmitry Ivanov 49a73265cb Remove orphaned service template. Fix typo 2016-06-29 16:19:27 +02:00
Dmitry Ivanov 04ed81d0af Update readme 2016-06-29 15:48:18 +02:00
Dmitry Ivanov 12c8539d2b Rename cookbook to vsts-agent 2016-06-29 11:29:23 +02:00
Dmitry Ivanov 49292d698f Add ubuntu and osx dependencies. Fix rubocop issues. Add tests. Refactor service management. Add upgrade logic 2016-06-28 18:22:50 +02:00
Dmitry Ivanov a28f36a5a7 Refactoring to use new type of VSTS Build Agent 2016-06-15 13:30:09 +02:00
Dmitry Ivanov 324fea617c #575497 Make compatible with Chef12 2016-06-09 13:22:32 +02:00
ivadim 9d478b9ed3 Add url to wiki 2016-02-29 22:31:35 +01:00
Dmitry Ivanov b5bd0ff110 Bump version to 0.1.3. Fix rubocop issues 2016-02-29 20:10:40 +01:00
Dmitry Ivanov c154b6211b Merge branch 'master' of https://github.com/Microsoft/vsts-build-agent-cookbook 2016-02-29 20:02:21 +01:00
ivadim b30d8f496a Fix rubocop issue 2016-02-24 10:39:06 +01:00
ivadim 0711f9386b Merge pull request #2 from gitter-badger/gitter-badge-1
Add a Gitter chat badge to README.md
2016-02-24 10:37:06 +01:00
The Gitter Badger 97228d49e3 Add Gitter badge 2016-02-23 21:31:04 +00:00
Dmitry Ivanov a87e9e783e Fix rubocop issue 2016-01-22 23:49:17 +01:00