exercism-config 0.84.0 → 0.85.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbf5b292efaf6559946021016ddae71a0d82ebe93e4349fef961b5a3964f31c6
4
- data.tar.gz: f637ade07eb8664ed7fe5158229f4d80aa2b8472773cef86b2bcc1a8b5629f8f
3
+ metadata.gz: de0d7f2f5d479d24ca6476101ba5648033d1d645e69ed16a9d09716d919b4e6f
4
+ data.tar.gz: d17ab790d05f9d8d994eb500641857b5c115f0ebac74804edd0f671b6e9dc444
5
5
  SHA512:
6
- metadata.gz: 2c57c4d6fac25fbcc91e908606d0a61f038a8460207b95fe2cef8b807cc81aafb47597035757ceabfc1e7cd193afbb7d2c35634ca801c3f758d7037c8420f921
7
- data.tar.gz: 5e9b65a21ed9c77c52d57b8bd667705ae336f798d3560ed44994460b8b1b8eef3de46a28e89d812fcbab1282689b9f1329e1c8ba066d1f402be98f6f672cb6ed
6
+ metadata.gz: 7512ce0b25859691932761c9cf33bac70f04c14731625b8dbdfc2421181bc1f59b1c1c39314b9de8aed0ad2dd61465e7acdeac951ddcd5edbdf4c724b7a09eb0
7
+ data.tar.gz: 21cad5cef3ba17af3f1307757e9eb17b359003dc682420cbf49cbe54b4e00ae0ee7e0042ed255642e151b2fbc4863b1397da37e11f528a0fab9cbaef4bc9b40c
data/README.md CHANGED
@@ -52,8 +52,7 @@ When running on AWS, simply ensure the machine has read-access to the relevant t
52
52
 
53
53
  This requires a local version of AWS to work.
54
54
  We use localstack for this.
55
- If you use the development-environment this will be handled for you.
56
- If not, to start localstack use the following:
55
+ To start localstack use the following command:
57
56
 
58
57
  ```bash
59
58
  docker run -dp 3042:8080 -p 3040:4566 -p 3041:4566 localstack/localstack
@@ -65,8 +65,6 @@ settings_file_arg = ARGV.select { |arg| arg.start_with?('--settings-file=') }.fi
65
65
  settings_file =
66
66
  if settings_file_arg
67
67
  settings_file_arg.split('=').last
68
- elsif ENV['EXERCISM_DOCKER']
69
- File.expand_path('../settings/docker.yml', __dir__)
70
68
  elsif ENV['EXERCISM_CI']
71
69
  File.expand_path('../settings/ci.yml', __dir__)
72
70
  else
@@ -26,8 +26,7 @@ module ExercismConfig
26
26
  return nil if Exercism.env.production?
27
27
  return "http://127.0.0.1:#{ENV['AWS_PORT']}" if Exercism.env.test? && ENV['EXERCISM_CI']
28
28
 
29
- host = ENV['EXERCISM_DOCKER'] ? 'aws:3040' : 'localhost:3040'
30
- "http://#{host}"
29
+ "http://localhost:3040"
31
30
  end
32
31
  end
33
32
  end
@@ -35,13 +35,7 @@ module ExercismConfig
35
35
  end
36
36
 
37
37
  def settings_filename
38
- if ENV["EXERCISM_CI"]
39
- 'ci'
40
- elsif ENV["EXERCISM_DOCKER"]
41
- 'docker'
42
- else
43
- 'local'
44
- end
38
+ ENV["EXERCISM_CI"] ? 'ci' : 'local'
45
39
  end
46
40
  end
47
41
  end
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.84.0'.freeze
2
+ VERSION = '0.85.0'.freeze
3
3
  end
data/settings/secrets.yml CHANGED
@@ -10,3 +10,5 @@ stripe_publishable_key: "pk_test_51IDGMXEoOT0Jqx0UcoKlkvB7O0VDvFdCBvOCiWiKv6CkSn
10
10
  stripe_endpoint_secret: "whsec_rgY246H0vSUw0A9KpDOqsDDgAakEdCCT"
11
11
  stripe_recurring_product_id: "prod_Jw8Kqq4QQ0qio7"
12
12
  slack_api_token: "some-token"
13
+ google_api_key: "some-google-api-key"
14
+ discourse_oauth_secret: "some-discourse-oauth-secret"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exercism-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.84.0
4
+ version: 0.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-07 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -221,7 +221,6 @@ files:
221
221
  - lib/exercism_config/version.rb
222
222
  - package.json
223
223
  - settings/ci.yml
224
- - settings/docker.yml
225
224
  - settings/local.yml
226
225
  - settings/secrets.yml
227
226
  - yarn.lock
data/settings/docker.yml DELETED
@@ -1,48 +0,0 @@
1
- # Anycable
2
- anycable_redis_url: redis://redis:6379/1
3
- anycable_rpc_host: 0.0.0.0:50051
4
-
5
- # Tooling
6
- tooling_redis_url: redis://redis:6379/3
7
- snippet_generator_url: http://snippet-generator:3024/extract_snippet
8
- lines_of_code_counter_url: http://lines-of-code-counter:3025/count_lines_of_code
9
-
10
- # DynamoDB config
11
- dynamodb_tooling_jobs_table: tooling_jobs
12
- dynamodb_tooling_language_groups_table: tooling_language_groups
13
-
14
- # Internal Routes
15
- spi_url: http://website:3020
16
- tooling_orchestrator_url: http://tooling-orchestrator:3021
17
- language_server_url: ws://local.exercism.io:3023
18
-
19
- # MySQL
20
- mysql_master_endpoint: mysql
21
- mysql_port: 3306
22
-
23
- # S3 Config
24
- aws_submissions_bucket: exercism-v3-submissions
25
- aws_tooling_jobs_bucket: exercism-v3-tooling-jobs
26
-
27
- # Hosts
28
- website_icons_host: https://exercism-v3-icons.s3.eu-west-2.amazonaws.com
29
- website_assets_host:
30
-
31
- # Sidekiq Config
32
- sidekiq_redis_url: redis://redis:6379/2
33
-
34
- # EFS Config
35
- efs_submissions_mount_point: "/tmp/exercism/efs/submissions"
36
- efs_repositories_mount_point: "/tmp/exercism/efs/repos"
37
-
38
- # GitHub Config
39
- github_organization: fake-exercism
40
- github_bot_username: exercism-bot
41
-
42
- # OpenSearch
43
- opensearch_host: https://opensearch:9200
44
-
45
- # Extra things not used in development, but here
46
- # so that this file can provide a reference
47
- aws_attachments_bucket:
48
- aws_attachments_region: