-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.8.0 #63
+432
−116
Merged
v0.8.0 #63
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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,3 +1,6 @@ | ||
COVALENCE_WORKSPACE = $PWD | ||
AWS_PROFILE = "<likely, if you're going to use sops>" | ||
AWS_REGION = "us-west-2" | ||
ATLAS_TOKEN = "<insert_token_here>" | ||
SOPS_KMS_ARN = "https://github.com/mozilla/sops#2usage" | ||
CONSUL_KV_FILE = "<$WORKSPACE_DIR/consul-kv.yml>" |
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
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 +1 @@ | ||
2.3.6 | ||
2.5.1 |
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
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
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 |
---|---|---|
|
@@ -16,40 +16,33 @@ Gem::Specification.new do |spec| | |
spec.homepage = "https://unif.io" | ||
spec.license = "MPL-2.0" | ||
|
||
if spec.respond_to?(:metadata) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW we can also use the metadata for the gem to store generic k-v. |
||
spec.metadata['allowed_push_host'] = "https://repo.fury.io/unifio/" | ||
else | ||
raise "RubyGems 2.0 or newer is required to protect against public gem pushes." | ||
end | ||
|
||
spec.files = Dir["*.md", "#{gem_root}/**/*"] | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.require_paths = [ gem_root ] | ||
spec.required_ruby_version = '>= 2.0.0' | ||
|
||
spec.add_dependency "deep_merge", "~> 1.0.1" | ||
spec.add_dependency "hiera", "~> 3.3.0" | ||
spec.add_dependency "json", "~> 1.8.3" | ||
spec.add_dependency "deep_merge", "~> 1.2.1" | ||
spec.add_dependency "hiera", "~> 3.4.3" | ||
spec.add_dependency "json", "~> 2.1.0" | ||
spec.add_dependency "rest-client", "~> 2.0.0.rc3" | ||
spec.add_dependency "rake", ">= 11.1.2" | ||
spec.add_dependency "aws-sdk", "~> 2.9.5" | ||
spec.add_dependency "aws-sdk-s3", "~> 1" | ||
spec.add_dependency "virtus", "~> 1.0.5" | ||
spec.add_dependency "activesupport", "~> 4.2.6" | ||
spec.add_dependency "activemodel", "~> 4.2.6" | ||
spec.add_dependency "semantic", "~> 1.4.1" | ||
spec.add_dependency "slop", "~> 4.4.1" | ||
spec.add_dependency "highline", "~> 1.6.0" | ||
spec.add_dependency "activesupport", "~> 5.2.0" | ||
spec.add_dependency "activemodel", "~> 5.2.0" | ||
spec.add_dependency "semantic", "~> 1.6.1" | ||
spec.add_dependency "slop", "~> 4.6.2" | ||
spec.add_dependency "highline", "~> 1.7.10" | ||
spec.add_dependency "consul_loader", "~> 1.0.0" | ||
|
||
Covalence::Helpers::SpecDependencies.dependencies.each do |name, requirement| | ||
spec.add_development_dependency name, requirement | ||
end | ||
spec.add_development_dependency "awesome_print", "~> 1.7.0" | ||
spec.add_development_dependency "awesome_print", "~> 1.8.0" | ||
spec.add_development_dependency "bundler", ">= 1.9.0" | ||
spec.add_development_dependency "dotenv", "~> 2.1.0" | ||
spec.add_development_dependency "byebug", "~> 9.0.5" | ||
spec.add_development_dependency "serverspec", "~> 2.36.0" | ||
spec.add_development_dependency "webmock", "~> 2.0.3" | ||
spec.add_development_dependency "gemfury", "~> 0.6.0" | ||
spec.add_development_dependency "fabrication", "~> 2.15.2" | ||
spec.add_development_dependency "simplecov", "~> 0.12.0" | ||
spec.add_development_dependency "dotenv", "~> 2.4.0" | ||
spec.add_development_dependency "byebug", "~> 10.0.2" | ||
spec.add_development_dependency "webmock", "~> 3.4.1" | ||
spec.add_development_dependency "fabrication", "~> 2.20.1" | ||
spec.add_development_dependency "simplecov", "~> 0.16.1" | ||
end |
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 |
---|---|---|
|
@@ -2,15 +2,5 @@ require 'rake' | |
require 'rspec/core/rake_task' | ||
require 'covalence/environment_tasks' | ||
require 'covalence/spec_tasks' | ||
require 'consul_loader' | ||
|
||
def load_yaml(filename) | ||
consul_loader = ConsulLoader::Loader.new(ConsulLoader::ConfigParser.new) | ||
consul_server = "http://#{ENV['CONSUL_HTTP_ADDR']}" | ||
consul_loader.load_config(filename, consul_server) | ||
end | ||
|
||
desc 'Load K/V data into Consul service' | ||
task 'consul_load' do | ||
load_yaml("#{ENV['CONSUL_KV_FILE']}") | ||
end | ||
require 'covalence/consul_tasks' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. stuff above is basically rolled into this |
||
require 'covalence/sops_tasks' |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would probably be nice to
ghr
the launcher and thebin/covalence
script together with the versions.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe create an issue for the interpolation bug fix if we don't have one already and we can track it there and use that to reference any limitations. That way if someone encounters it a google search for issue search will return the ticket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#64