Commit graph

414 commits

Author SHA1 Message Date
Tanisha Payne
3c3623689a ondemand added to ssh command 2021-10-12 10:39:06 -04:00
Tanisha Payne
bd5d1a36f0 priority flag added to ssh command 2021-10-08 11:44:45 -04:00
Heath Seals
d361f4c0b7
Merge pull request #148 from puppetlabs/DIO-2135
(DIO-2135) Update docker FROM image to ruby 3.0.2
2021-08-13 10:01:31 -05:00
Samuel Beaulieu
33758081d1
(DIO-2135) Update docker FROM image to ruby 3.0.2 2021-08-11 15:13:24 -05:00
17b8dbfa5c
Merge pull request #146 from puppetlabs/release-1.4.0
v1.4.0 release prep
2021-07-21 09:47:38 -04:00
77a3eeb57a
Merge pull request #147 from puppetlabs/ci-updating
Migrate CI to GitHub Actions
2021-07-21 09:47:23 -04:00
38a465e862
Migrate CI to GitHub Actions 2021-07-16 17:13:51 -04:00
b89154648f
v1.4.0 release prep 2021-07-16 16:24:32 -04:00
f2f3a3bfa9
Merge pull request #140 from puppetlabs/dependabot/bundler/commander-gte-4.4.3-and-lt-4.7.0
Update commander requirement from >= 4.4.3, < 4.6.0 to >= 4.4.3, < 4.7.0
2021-07-16 16:20:59 -04:00
dependabot[bot]
bcd08fca15
Update commander requirement from >= 4.4.3, < 4.6.0 to >= 4.4.3, < 4.7.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.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 17:02:52 +00:00
Brandon High
3b40cbe498
Merge pull request #145 from nmburgan/maint/master/fix_specs
(maint) Use latest Faraday/webmock, update specs
2021-07-13 10:02:14 -07:00
Nick Burgan-Illig
f6febc9b8f (maint) Use latest Faraday/webmock, update specs
This unpins Faraday and webmock, and updates specs so that the Faraday changes (primarily including auth in the header rather than in the URL) is reflected.
2021-07-12 18:33:50 +00:00
302d52a45e
Merge pull request #135 from puppetlabs/rubocop_auto_fix
Run the rubocop auto_correct
2021-07-12 10:04:35 -04:00
Heath Seals
d0fb0f3ac1
Merge pull request #137 from puppetlabs/release-1.3.0
Release prep for v1.3.0
2021-03-03 12:34:25 -06:00
Samuel
38f24f4ad1
Release prep for v1.3.0 2021-03-03 12:25:08 -06:00
Samuel Beaulieu
eb99ba1dec
Run the rubocop auto_correct
fixed 27 files inspected, 975 offenses detected, 804 offenses corrected
2021-02-25 13:38:11 -06:00
Samuel
7041df82f0
Merge pull request #124 from puppetlabs/dependabot/bundler/rubocop-tw-1.6
Update rubocop requirement from ~> 0.52 to ~> 1.6
2021-02-25 13:35:01 -06:00
Samuel
55ead89ab2
Merge pull request #134 from puppetlabs/DIO-1522
(DIO-1522) Show the VM state (running, destroyed) and colorize in red…
2021-02-25 13:24:57 -06:00
Samuel Beaulieu
8143641f83
(DIO-1522) Show the VM state (running, destroyed) and colorize in red when it has been deleted
the ABS system does not have a real sense of the current state of the resources
it has allocated. When running list --active it can list VMs that have been
deleted or reaped after their lifetime expired.
This change enables to show more information when a vmpooler_fallback service
is provided to ABS, and will show the state (running, destroyed) and colorize
in red when the VM is destroyed.
2021-02-25 10:14:41 -06:00
Samuel
f811e252eb
Merge pull request #132 from puppetlabs/release-1.2.0
Release prep for 1.2.0
2021-02-11 09:20:20 -06:00
a9c8d17e9a
Release prep for 1.2.0 2021-02-11 10:16:21 -05:00
796cd8e858
Merge pull request #131 from puppetlabs/DIO-908
(DIO-908) Floaty can now report the status of ABS requests
2021-02-11 10:11:13 -05:00
Samuel Beaulieu
4192631d70 (DIO-908) Adding a way to set Logger level via --loglevel
this is specially useful if you also use in combination --json to remove superfluous stdout
2021-02-09 15:38:43 -06:00
Samuel Beaulieu
a3d8484124 (DIO-908) Floaty can now report the status of ABS requests
- If ABS queries returns a body for 200 or 202, floaty will print it
this is useful in the new version of ABS, since it shows the progress
for ondemand requests (AWS or vmpooler)
- removed the queue_place and querying the queue for a 'get' request
this queue_place number was misleading since it was just a redis index
and did not represent well where the request was in the queue
- Also added a flag option --continue to be used when the cli was
interrupted for example with ctrl-c
2021-02-09 11:29:19 -06:00
Brandon High
f3299285b8
Merge branch 'master' into dependabot/bundler/rubocop-tw-1.6 2020-12-12 14:45:43 -08:00
Brandon High
85a63e85fe
Merge pull request #116 from puppetlabs/dependabot/bundler/rspec-tw-3.10.0
Update rspec requirement from ~> 3.9.0 to ~> 3.10.0
2020-12-12 14:43:52 -08:00
dependabot[bot]
d4c2795df0
Update rubocop requirement from ~> 0.52 to ~> 1.6
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.52.0...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-09 13:04:56 +00:00
dependabot[bot]
c969e9c552
Update rspec requirement from ~> 3.9.0 to ~> 3.10.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.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-02 13:03:24 +00:00
e50c9ec4ca
Merge pull request #112 from puppetlabs/v1.1.1
V1.1.1
2020-10-16 16:03:05 -04:00
Samuel Beaulieu
4aa78a1b66 fix tests 2020-10-16 13:23:50 -05:00
Samuel Beaulieu
ced6b46032 (v1.1.1) Prepare for pushing the gem to rubygems 2020-10-16 13:15:15 -05:00
Samuel Beaulieu
846cc7050c when missing, adds the api/v2 to the url endpoint 2020-10-16 13:14:57 -05:00
Samuel
6d1130bc8b
Merge pull request #104 from nwolfe/maint/dont-require-fallback-config
(maint) Don't require configuration file for get
2020-10-09 14:56:25 -05:00
Samuel
ad8196970c
Merge branch 'master' into maint/dont-require-fallback-config 2020-10-09 14:54:29 -05:00
e146857706
Merge pull request #103 from cthorn42/maint/master/add_vmpooler_fallback_to_service_check
(maint) Add vmpooler_fallback to the get service check
2020-10-09 11:52:24 -04:00
3ce0222b38
Merge pull request #105 from puppetlabs/dont-require-vmfloaty.yml-list
(maint) Don't require config file for list --active
2020-10-09 11:45:13 -04:00
221f6c18cc
Merge pull request #107 from puppetlabs/fix-jobid-uniqueness
(maint) Add more uniqueness to jobid and useful termination message
2020-10-09 11:44:29 -04:00
3f8417d192
Merge pull request #106 from puppetlabs/fix-endpoint-check
(maint) Fix bug with detecting ABS service
2020-10-09 11:42:38 -04:00
Samuel Beaulieu
671623bc4f handle ctrl-c and term signal and return useful message on how
to query ABS for the state of the request or to delete it
2020-10-09 10:37:16 -05:00
Samuel Beaulieu
e0fac0bb6c (maint) Add more uniqueness to jobid
Before this change there was a non zero chance that two requests could be received
at the same millisecond and have the same jobid. Added the username as a prefix
to the job id
2020-10-09 10:23:23 -05:00
Samuel Beaulieu
fbd98f93ae (maint) Fix bug with detecting ABS service
Before this change the code would try to check if an object was ABS
by using is_a? which is only for instances of a class. It also compared
with ABS.class which returns the Class class.
Now fixed by comparing the object to the static class
2020-10-09 10:18:53 -05:00
a4231cc6f1
Merge pull request #102 from scotje/service_subcommand_completions
Update completion scripts for `service` subcommands
2020-09-25 13:02:06 -04:00
Nate Wolfe
56f0896d48
(maint) Don't require configuration file for get
Make the vmpooler_fallback optional for cases when there's no
configuration file and everything is specified on the CLI invocation.
2020-09-24 12:32:29 -07:00
Samuel Beaulieu
6deadb2267 Fix tests 2020-09-24 10:00:15 -05:00
Samuel Beaulieu
3a60ffbdbd (maint) Don't require config file for list --active
Will fallback to printing ABS information, which is less than what you
get if vmpooler_fallback is available
2020-09-24 09:46:22 -05:00
Christopher Thorn
5c8aa13081 (maint) Add vmpooler_fallback to the get service check
Previously the vmpooler_fallback setting was not being recognizied, this
PR will fix it.
2020-09-23 15:06:24 -07:00
Jesse Scott
c5b9e1d184
Update completion scripts for service subcommands 2020-09-22 12:07:11 -07:00
Belén
1e81c78a5b
Merge pull request #100 from puppetlabs/v1-release
Bump to version 1.0.0
2020-09-22 09:15:43 -07:00
d9b5bb5e89
Bump to version 1.0.0 2020-09-22 12:02:56 -04:00
bc1ea2e2d9
Merge pull request #90 from scotje/add_zsh_completions_new
Add tab completion script for zsh and fix bash completion for ABS services
2020-09-22 11:56:31 -04:00