-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from alces-software/develop
Release the 2019.1.0 of cloudware
- Loading branch information
Showing
96 changed files
with
4,657 additions
and
4,039 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
*.swp | ||
.vagrant/ | ||
tmp/ | ||
var/ | ||
log/ | ||
etc/config.* | ||
!etc/config.yaml.example | ||
!etc/config.yaml.travis | ||
vendor/ | ||
.bundle/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
require: rubocop-rspec | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.4 | ||
Exclude: | ||
- src/gui/**/* | ||
- tmp/**/* | ||
|
||
# Do not prefer various `%` ways of specifying things in Ruby - I | ||
# think these are less clear and unnecessary | ||
Style/PercentLiteralDelimiters: | ||
Enabled: false | ||
Style/RegexpLiteral: | ||
Enabled: false | ||
Style/SymbolArray: | ||
Enabled: false | ||
Style/WordArray: | ||
Enabled: false | ||
|
||
# Do not preder trailing commas in multi-line hash/array literals - better as | ||
# when something is added to a literal the previous last line does not also | ||
# need to be changed, which also makes diffs smaller | ||
Style/TrailingCommaInLiteral: | ||
EnforcedStyleForMultiline: comma | ||
|
||
# Do not require documentation for top-level classes or modules - seems | ||
# unnecessary for the project at the moment. | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Do not limit block length - fails for any significant RSpec test file. | ||
Metrics/BlockLength: | ||
Enabled: false | ||
|
||
# We trust the YAML we're loading, so don't warn if we don't use | ||
# `YAML.safe_load` instead of `YAML.load`. | ||
Security/YAMLLoad: | ||
Enabled: false | ||
|
||
# I don't care if we use the compact way of declaring classes and modules. | ||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
Style/RescueStandardError: | ||
EnforcedStyle: implicit | ||
|
||
# If we need a boolean value, having it actually be a boolean rather than | ||
# checking if it is nil or not is clearer IMO, and `!!value` is a standard way | ||
# to get this. | ||
Style/DoubleNegation: | ||
Enabled: false | ||
|
||
# Turn off Heredoc delimiter check. EOF is used extensively and will | ||
# continue to be used | ||
Naming/HeredocDelimiterNaming: | ||
Enabled: false | ||
|
||
# Quite a few specs are nested 4 deep, however the default is 3 | ||
RSpec/NestedGroups: | ||
Max: 4 | ||
|
||
# Requiring that the subject is explicitly named in order to use it | ||
# doesn't isn't that much clearer IMO. | ||
RSpec/NamedSubject: | ||
Enabled: false | ||
|
||
# Do not add the magic frozen string comment to the Vagrant file. It breaks | ||
# it for reasons | ||
Style/FrozenStringLiteralComment: | ||
Exclude: | ||
- 'Vagrantfile' | ||
|
||
# Allow `Exception` to be rescued in `Command` class. This class is designed to | ||
# log fatal errors including the `Exception` | ||
Lint/RescueException: | ||
Exclude: | ||
- 'lib/cloudware/command.rb' | ||
|
||
# RSpec uses a few key words prefixed with `have_` and similar. Whilst this | ||
# shouldn't happen in the main code base, its fine in the specs | ||
Naming/PredicateName: | ||
Exclude: | ||
- 'spec/**/*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
language: ruby | ||
dist: trusty | ||
rvm: | ||
- 2.4.1 | ||
sudo: required | ||
install: | ||
- cp ./etc/config.yaml.travis ./etc/config.yaml | ||
- touch /tmp/travis.log | ||
- bundle install | ||
script: | ||
- export CLOUDWARE_PROVIDER=aws | ||
- rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,44 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'aws-sdk-cloudformation' | ||
gem 'aws-sdk-ec2' | ||
gem 'azure_mgmt_compute' | ||
gem 'azure_mgmt_network' | ||
gem 'azure_mgmt_resources' | ||
gem 'activemodel' | ||
gem 'colorize' | ||
gem 'commander' | ||
gem 'google-cloud-resource_manager' | ||
gem 'commander', git: 'https://github.com/alces-software/commander' | ||
gem 'hashie' | ||
gem 'ipaddr' | ||
gem 'rspec' | ||
gem 'rspec' | ||
gem 'rspec-wait' | ||
gem 'terminal-table' | ||
gem 'whirly' | ||
gem 'memoist' | ||
gem 'parallel' | ||
gem 'require_all' | ||
gem 'rubyzip' | ||
gem 'tty-markdown' | ||
gem 'tty-spinner' | ||
gem 'tty-table' | ||
|
||
group :config do | ||
gem 'activesupport' | ||
gem 'flight_config', git: 'https://github.com/alces-software/flight_config' | ||
end | ||
|
||
group :aws do | ||
gem 'aws-sdk-cloudformation' | ||
gem 'aws-sdk-ec2' | ||
end | ||
|
||
group :azure do | ||
gem 'azure_mgmt_compute' | ||
gem 'azure_mgmt_resources' | ||
end | ||
|
||
group :development do | ||
gem 'factory_bot' | ||
gem 'fakefs' | ||
gem 'pilfer' | ||
gem 'pry' | ||
gem 'pry-byebug' | ||
gem 'rake' | ||
gem 'rspec' | ||
gem 'rspec-wait' | ||
gem 'rubocop', '~> 0.52.1', require: false | ||
gem 'rubocop-rspec' | ||
end |
Oops, something went wrong.