Commit graph

535 commits

Author SHA1 Message Date
mattkirby
5436f54258
Merge pull request #88 from cthorn42/maint/master/no_config_file_non_vmpooler_service_fix
(maint) Fix using ABS service without a .vmfloaty.yml file
2020-08-20 14:00:48 -07:00
Christopher Thorn
701534872d (maint) Fix using ABS service without a .vmfloaty.yml file
If you do not use a config file, and define everything on the command line,
previously the service always defaulted to vmpooler. Even if you requested ABS.
This PR fixes that, now we'll see if the config has no service defined and we
defined on the command line a service, we'll use that service.
2020-08-20 11:37:20 -07:00
Jarret Lavallee
e684933525 (maint) Fix the argument list for nonstandardpooler
Prior to this commit, 7 arguments would be sent into the `retrieve`
method in nonstandardpooler. There were only 6 arguments in the method
definition so an error would be thrown. This commit adds the `ondemand`
argument to the `retrieve` method, but does not utilize it.
2020-08-13 12:37:09 -06:00
Sean P. McDonald
1eaa80706c
(maint) Fail in ABS when queue requests don't return 200/202
When ABS returns an http status code other than 200 or 202, the ABS code
should fail
2020-08-12 16:14:02 -05:00
Sean P. McDonald
d22e2b4194
(new-feature) Add json option to list/delete command
This commit adds an option `--json` to the list and delete commands. When the
json flag is used the commands will print output as formatted JSON rather than
pretty printed strings.
2020-08-12 16:13:58 -05:00
b944760c93
Merge pull request #85 from puppetlabs/release_0110
Bump version for 0.11.0 release
2020-08-12 14:54:57 -04:00
kirby@puppetlabs.com
b44b9c6e98 Bump version for 0.11.0 release 2020-08-12 11:47:58 -07:00
mattkirby
3b91d6f582
Merge pull request #84 from austb/print-debug-to-stderr
Print all non-success output to STDERR
2020-08-12 11:34:11 -07:00
Austin Blatt
35faeab6be Move logger instance to class var in FloatyLogger
This moves the instance of the logger class to a class variable in the
`FloatyLogger` class and provides three class methods to log with in the
rest of the project `FloatyLogger.info`, `FloatyLogger.warn`, and
`FloatyLogger.error`.
2020-08-12 09:57:18 -07:00
barriserloth
8ec90007ca Use Logger for non-result output
This adds the Logger class for log output, all of which goes to STDERR,
and uses puts to send only the command result to STDOUT.
2020-08-11 12:41:22 -07:00
Austin Blatt
4755343df2 Print all non-success output to STDERR 2020-08-10 16:20:25 -07:00
mattkirby
d843066a56
Merge pull request #83 from puppetlabs/maint_update_travis
Update travis.yml
2020-08-06 12:22:59 -07:00
Belen Bustamante
309929f8d8 Update travis.yml 2020-08-06 11:50:43 -07:00
John O'Connor
13b6bc31f3
Merge pull request #82 from puppetlabs/version_010
Bump version to 0.10.0 for release
2020-08-05 11:42:39 +01:00
kirby@puppetlabs.com
a245316252 Bump version to 0.10.0 for release 2020-08-04 15:16:19 -07:00
mattkirby
d1fc70f96f
Merge pull request #67 from mattkirby/pooler_158
Add support for vmpooler on demand provisioning
2020-08-04 15:03:46 -07:00
kirby@puppetlabs.com
7b0a7679da Add Dockerfile to make it easier to test changes to vmfloaty by using Docker 2020-08-04 11:24:11 -07:00
kirby@puppetlabs.com
05a133fc72 Add support for ondemand provisioning to vmfloaty
This commit adds support for provisioning instances on demand with
vmpooler. Additionally, this change adds a capability to detect on
demand pools available in ABS. Without this change vmfloaty does not
support provisioning instances via the vmpooler ondemand endpoints.
2020-08-04 11:24:11 -07:00
482d4328d1
Merge pull request #73 from puppetlabs/dependabot/bundler/commander-gte-4.4.3-and-lt-4.6.0
Update commander requirement from ~> 4.4.3 to >= 4.4.3, < 4.6.0
2020-07-07 10:48:49 -04:00
b873e4a099
Merge pull request #78 from puppetlabs/dependabot/add-v2-config-file
Update Dependabot config file
2020-07-07 10:47:16 -04:00
dependabot-preview[bot]
980793c979
Update Dependabot config file 2020-07-07 14:43:17 +00:00
dependabot-preview[bot]
d0f7452998
Update commander requirement from ~> 4.4.3 to >= 4.4.3, < 4.6.0
Updates the requirements on [commander](https://github.com/commander-rb/commander) to permit the latest version.
- [Release notes](https://github.com/commander-rb/commander/releases)
- [Changelog](https://github.com/commander-rb/commander/blob/master/History.rdoc)
- [Commits](https://github.com/commander-rb/commander/compare/v4.4.3...v4.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 14:35:22 +00:00
f357607187
Merge pull request #75 from puppetlabs/dependabot/bundler/rspec-tw-3.9.0
Update rspec requirement from ~> 3.5.0 to ~> 3.9.0
2020-07-07 10:34:09 -04:00
dependabot-preview[bot]
458ddf192d
Update rspec requirement from ~> 3.5.0 to ~> 3.9.0
Updates the requirements on [rspec](https://github.com/rspec/rspec) to permit the latest version.
- [Release notes](https://github.com/rspec/rspec/releases)
- [Commits](https://github.com/rspec/rspec/compare/v3.5.0...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 14:21:10 +00:00
2ff562cb40
Merge pull request #70 from puppetlabs/tools
Add Dependabot and Coveralls
2020-07-07 10:18:57 -04:00
a6f53c0310
Add Dependabot and Coveralls
This adds Dependabot to keep things updated and Coveralls so we can see
how code coverage changes over time. Coveralls / SimpleCov are
configured so that both the SimpleCov html report and the Coveralls
report are generated. This facilitates easily seeing coverage locally in
addtion to via CI.
2020-07-07 10:17:10 -04:00
498a9ac94f
Merge pull request #71 from puppetlabs/codeowners-fix
Fix formatting of CODEOWNERS
2020-07-07 10:14:21 -04:00
7a969d121e
Fix formatting of CODEOWNERS 2020-07-07 10:12:23 -04:00
Brandon High
2de284f2c0
Merge pull request #69 from puppetlabs/docs-update
Update docs
2020-07-02 11:13:00 -07:00
28fb9290d4
Update docs
This chane updates docs to reflect that ownership has moved to the DIO
team at Puppet. It also includes some formatting changes.
2020-07-02 12:52:32 -04:00
Brandon High
b7a210aa15
Merge pull request #68 from puppetlabs/fixup/edit-maintainers
Remove old maintainer note
2020-07-01 14:58:39 -07:00
Brian Cain
e942e7534d
Remove rubocop 2020-07-01 14:55:32 -07:00
Brian Cain
d4bd4f5163
Comment out rubocop rules that aren't helpful 2020-07-01 14:52:39 -07:00
Brian Cain
4ff9b9d0d5
Remove old maintainer note 2020-07-01 14:41:57 -07:00
Brandon High
c0b047eab8
Merge pull request #66 from briancain/highb-remove-gpr-push
Update gempush action to remove GPR publish
2020-02-05 15:54:21 -08:00
Brandon High
6697077adf
Update gempush action to remove GPR publish
We don't need to publish to GPR right now.
2020-02-05 15:50:53 -08:00
Brandon High
8588cd8fa1
Merge pull request #65 from briancain/highb-bump-092
Bump version.rb to 0.9.2 for release
2020-02-05 15:01:39 -08:00
Brandon High
707ced4b37
Merge branch 'master' into highb-bump-092 2020-02-05 14:55:12 -08:00
Brandon High
796555672d
Merge pull request #64 from briancain/highb-create-gempush
Create gempush.yml Github Action
2020-02-05 14:51:42 -08:00
Brandon High
1e38bb4244
Bump version.rb to 0.9.2 for release 2020-02-05 11:08:10 -08:00
Brandon High
331444751d
Create gempush.yml Github Action
I think this action should be able to build/push the gem whenever a matching is pushed.
2020-02-05 11:05:20 -08:00
Brandon High
8b4cc806a3
Merge pull request #62 from nicklewis/bump-faraday-for-ruby-2.7
Bump faraday dependency for Ruby 2.7 compatibility
2020-01-28 14:29:01 -08:00
Brandon High
7860bec0cd
Merge branch 'master' into bump-faraday-for-ruby-2.7 2020-01-28 14:27:09 -08:00
Brian Cain
05dd5bb6b2
Update PULL_REQUEST_TEMPLATE 2020-01-28 13:47:13 -08:00
Brian Cain
fffc16c412
Merge pull request #60 from highb/qeng-7604_add_jobid_to_delete
(QENG-7604) Add support for Job IDs to ABS delete
2020-01-28 13:42:23 -08:00
Brian Cain
5dbe19e10b
Merge branch 'master' into qeng-7604_add_jobid_to_delete 2020-01-28 13:40:53 -08:00
Nick Lewis
c417c3574c Bump faraday dependency for Ruby 2.7 compatibility
The only significant changes between 0.15.4 and 0.17.3 are silencing
some deprecation warnings on Ruby 2.7.
2020-01-28 13:05:33 -08:00
Brandon High
5fa9c12a85
Merge pull request #61 from mikkergimenez/fix_ssh_command_breaking
SSH Command respects ABS now and tests should fail if the API changes…
2020-01-27 17:05:17 -08:00
Mikker Gimenez-Peterson
ac14629eb3 SSH Command respects ABS now and tests should fail if the API changes again 2020-01-27 15:29:00 -08:00
Brandon High
51a7eb809e
(QENG-7604) Add support for Job IDs to ABS delete
This commit adds support for passing in a JobID when deleting with ABS.
2020-01-27 14:17:06 -08:00