Commit graph

16 commits

Author SHA1 Message Date
Samuel Beaulieu
4df7c2b746
standardize Name tag, implement tag_vm_user method 2022-07-28 08:42:28 -05:00
Samuel Beaulieu
a09deaf1f3
fix rubocop offences 2022-07-27 13:55:22 -05:00
Samuel Beaulieu
c028000a61
integrtae GCP Cloud DNS from the gce provider 2022-07-27 10:19:22 -05:00
Samuel Beaulieu
48ecaa7320
set a new redis key to the fqdn used so it can be queried in floaty 2022-07-26 15:14:49 -05:00
Samuel Beaulieu
df3fc43289
fix lifetime, fix name to use depending on domain set or not 2022-07-26 14:39:23 -05:00
Samuel Beaulieu
c6f7991aac
use jruby 9.3.6 2022-07-26 09:57:40 -05:00
Samuel Beaulieu
a974045a62
set name to spicy proton, fix lifetime 2022-07-26 09:41:12 -05:00
Samuel Beaulieu
61c71d6e4e
fix vm_ready to check only the provider domain key, which will be used in the future for cloud dns 2022-07-22 15:47:13 -05:00
Samuel Beaulieu
cab859272e
adding debug 2022-07-22 15:42:10 -05:00
Samuel Beaulieu
b178aba883
log vm_ready? error from provider whn vmpooler cannot tcp to port 22 2022-07-22 14:43:37 -05:00
Samuel Beaulieu
4e85886da4
wait until instance reports being status ready (aws checks that it is reachable) which fixes a lot of the net:ssh issues for provisioning 2022-07-22 13:37:13 -05:00
Samuel Beaulieu
0d7923ed4d
fix logging, add proper aws_setup class, add a name for the VM which is based on the current site_name 2022-07-21 11:44:24 -05:00
Samuel Beaulieu
0bff2df079
Change the way we load secrets so that we do not have to pass them as ENV vars.
they will be pulled from the provider config, similarily to the other providers
2022-07-11 10:55:03 -05:00
Samuel Beaulieu
65c797137e
rename from AWS to EC2 for consistency
The other cloud provider is GCE and not GCP. In the same way we are creating VMs
in EC2 on AWS.
2022-07-07 08:49:46 -05:00
Samuel Beaulieu
ee36ee868d
fix rubocop offenses 2022-07-06 14:49:04 -05:00
Tanisha Payne
c3c1a8e1e5
Added aws dependency and renamed directories
rename gce to aws

rename gce to aws

rename gce to aws

create_vm method implimented

create_vm method connected to ec2

setup tags properly, and retireve then in get_vm

begin disk and snapshop, but we dont have perms

add specs for get_vm and vms_in_pool

add spec for create_vm

add spec for destroy_vm

update readme
add a new class lib/vmpooler/aws_setup.rb to do the provisioning of nodes
adding spec tests
adding net:ssh lib for the provisioning of nodes

adding option to provision vm once ready

fix aws_setup

setup of nodes once running
2022-07-06 13:41:54 -05:00