exercism_config 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/setup_exercism_config +11 -14
- data/lib/exercism_config/version.rb +1 -1
- data/settings-development.yml +7 -0
- data/settings-docker.yml +7 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d8f9947448e72f417cd4da6d1ba5700a8cf3b171b387d3a1112dc23d9d953b6
|
4
|
+
data.tar.gz: 07c32a1e10c2ea8e7599086a3038e98ef11e1580e59b833ac45aea4510066d13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abc918c726bb0810528365950c4363901a124815daa5f44356021e8f07d2dd3dec61ed29fb09fc7a4b482ee1b53208a866ccbed473ef501e5616dab0254dab2a
|
7
|
+
data.tar.gz: 05c42ebedca84160661fc68f2bc4d6d3115978da15295eded25f19e2d2c21d60ac18b0983c6067a7b3e2df931e1a76f8565b5ae48c77a68efcf316b211447025
|
data/bin/setup_exercism_config
CHANGED
@@ -64,20 +64,17 @@ rescue Aws::DynamoDB::Errors::ResourceInUseException => e
|
|
64
64
|
end
|
65
65
|
|
66
66
|
settings_file_arg = ARGV.select{|arg|arg.start_with?("--settings-file=")}.first
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
mysql_socket: "/tmp/mysql.sock"
|
79
|
-
}
|
80
|
-
end
|
67
|
+
settings_file =
|
68
|
+
if settings_file_arg
|
69
|
+
settings_file_arg.split("=").last
|
70
|
+
elsif ENV["EXERCISM_DOCKER"]
|
71
|
+
File.expand_path("../../settings-docker.yml", __FILE__)
|
72
|
+
else
|
73
|
+
File.expand_path("../../settings-development.yml", __FILE__)
|
74
|
+
end
|
75
|
+
|
76
|
+
puts "Using settings file: #{settings_file}"
|
77
|
+
settings = YAML.load(File.read(settings_file))
|
81
78
|
|
82
79
|
settings.each do |key, value|
|
83
80
|
set_config_value(client, key, value)
|
@@ -0,0 +1,7 @@
|
|
1
|
+
aws_iterations_bucket: exercism-staging-iterations
|
2
|
+
dynamodb_tooling_jobs_table: tooling_jobs
|
3
|
+
tooling_orchestrator_url: http://127.0.0.1:3021
|
4
|
+
anycable_redis_url: 'redis://127.0.0.1:6379/1'
|
5
|
+
anycable_rpc_host: '127.0.0.1:50051'
|
6
|
+
rds_master_endpoint: localhost
|
7
|
+
mysql_socket: /tmp/mysql.sock
|
data/settings-docker.yml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
aws_iterations_bucket: exercism-staging-iterations
|
2
|
+
dynamodb_tooling_jobs_table: tooling_jobs
|
3
|
+
tooling_orchestrator_url: http://tooling-orchestrator:3021
|
4
|
+
anycable_redis_url: redis://redis:6379/1
|
5
|
+
anycable_rpc_host: 0.0.0.0:50051
|
6
|
+
rds_master_endpoint: mysql
|
7
|
+
rds_port: 3306
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exercism_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Walker
|
@@ -133,6 +133,8 @@ files:
|
|
133
133
|
- lib/exercism_config/retrieve.rb
|
134
134
|
- lib/exercism_config/setup_dynamodb_client.rb
|
135
135
|
- lib/exercism_config/version.rb
|
136
|
+
- settings-development.yml
|
137
|
+
- settings-docker.yml
|
136
138
|
homepage: https://exercism.io
|
137
139
|
licenses: []
|
138
140
|
metadata:
|