Commit graph

95 commits

Author SHA1 Message Date
Jake Spain
7f6eaf1f4e
Migrate Snyk to Mend Scanning 2023-01-20 12:42:20 -05:00
Jake Spain
d2ecc03d9a
Change dependabot to weekly 2023-01-19 21:10:30 -05:00
Jake Spain
4ee1abb54f
Merge pull request #11 from puppetlabs/update_codeowners
(RE-14811) Remove DIO as codeowners
2022-08-26 10:35:08 -04:00
Jake Spain
3c8dc0257f
Remove DIO as codeowners 2022-08-26 09:43:11 -04:00
Jake Spain
5148c318cd
Merge pull request #10 from puppetlabs/migrate_snyk
Add Snyk action
2022-08-18 10:11:46 -04:00
Jake Spain
c81f3327af
Add Snyk action 2022-08-16 17:30:48 -04:00
Jake Spain
729a2981b7
Merge pull request #9 from puppetlabs/update-codeowners
Add release-engineering to codeowners
2022-08-08 15:03:45 -04:00
Jake Spain
0a6e61fe0e
Add release-engineering to codeowners 2022-08-08 14:36:51 -04:00
Samuel
4a615d6adf
Merge pull request #8 from puppetlabs/bump-v
Update version.rb
2022-08-02 16:16:54 -05:00
Samuel
c2c946ac19
Update version.rb 2022-08-02 15:52:49 -05:00
Samuel
4e311e1c3c
Merge pull request #7 from puppetlabs/dio-3163
(DIO-3163) Implement Cloud DNS for EC2 VMs
2022-08-02 09:26:19 -05:00
Samuel Beaulieu
4153391eaf
do the dns setup earlier, as soon as the vm is ready, to give enough time for the DNS record to propagate 2022-07-28 13:22:11 -05:00
Samuel Beaulieu
6c0e7ac12b
add a condition for the aws node setup (ssh)
if a domain is set then we use the 'spicy-proton' hostname
otherwise it uses the private dns name
2022-07-28 13:04:24 -05:00
Samuel Beaulieu
b563239e76
fix rubocop offenses 2022-07-28 09:13:38 -05:00
Samuel Beaulieu
4df7c2b746
standardize Name tag, implement tag_vm_user method 2022-07-28 08:42:28 -05:00
Samuel Beaulieu
5f4a215621
fix spec tests 2022-07-27 14:34:16 -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
13d0de6dc0
Merge pull request #6 from puppetlabs/dio-3163
(DIO-3163) Code improvements after initial testing in vmpooler
2022-07-26 12:17:12 -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
28c5331e38
puts for spec logging 2022-07-22 14:16:28 -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
caecd11260
retry longer for the Jruby error 2022-07-20 15:17:45 -05:00
Samuel Beaulieu
ea36218120
trying to debug net:ssh 2022-07-19 16:17:10 -05:00
Samuel Beaulieu
cd6ebae825
adding more error handling when doing the net::ssh aws_setup portion 2022-07-19 12:35:43 -05:00
Tanisha Payne
7f53932152
Merge pull request #3 from puppetlabs/dio-3163
Change the way we load secrets so that we do not have to pass them as…
2022-07-14 14:36:00 -04: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
f43518c8e3
Merge pull request #4 from puppetlabs/revert-2-dependabot/bundler/net-ssh-gte-6.2-and-lt-7.1
Revert "Update net-ssh requirement from ~> 6.2.0.rc2 to >= 6.2, < 7.1"
2022-07-08 11:27:31 -05:00
Samuel
857e7c63f8
Revert "Update net-ssh requirement from ~> 6.2.0.rc2 to >= 6.2, < 7.1" 2022-07-08 11:14:18 -05:00
Samuel
dcf1236948
Merge pull request #2 from puppetlabs/dependabot/bundler/net-ssh-gte-6.2-and-lt-7.1
Update net-ssh requirement from ~> 6.2.0.rc2 to >= 6.2, < 7.1
2022-07-07 09:43:16 -05:00
dependabot[bot]
cc9e800bcc
Update net-ssh requirement from ~> 6.2.0.rc2 to >= 6.2, < 7.1
Updates the requirements on [net-ssh](https://github.com/net-ssh/net-ssh) to permit the latest version.
- [Release notes](https://github.com/net-ssh/net-ssh/releases)
- [Changelog](https://github.com/net-ssh/net-ssh/blob/master/CHANGES.txt)
- [Commits](https://github.com/net-ssh/net-ssh/compare/v6.2.0.rc2...v7.0.1)

---
updated-dependencies:
- dependency-name: net-ssh
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 14:10:06 +00:00
Samuel
af05279b42
Merge pull request #1 from puppetlabs/dio-3163
Added aws dependency and renamed directories
2022-07-07 09:08:52 -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
Samuel Beaulieu
bd1b21736a
fix workflow release for gha 2022-07-06 14:07: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
Puppet Security Bot
78946ca2b9 CODEOWNERS by slack-gitbot 2022-06-09 13:56:54 -04:00
Puppet Security Bot
be877a20c5
Initial commit 2022-06-09 13:56:51 -04:00