exercism-config 0.84.0 → 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/bin/setup_exercism_config +0 -2
- data/lib/exercism_config/generate_aws_settings.rb +1 -2
- data/lib/exercism_config/retrieve_config.rb +1 -7
- data/lib/exercism_config/version.rb +1 -1
- data/settings/secrets.yml +2 -0
- metadata +2 -3
- data/settings/docker.yml +0 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de0d7f2f5d479d24ca6476101ba5648033d1d645e69ed16a9d09716d919b4e6f
|
4
|
+
data.tar.gz: d17ab790d05f9d8d994eb500641857b5c115f0ebac74804edd0f671b6e9dc444
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/bin/setup_exercism_config
CHANGED
@@ -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
|
-
|
30
|
-
"http://#{host}"
|
29
|
+
"http://localhost:3040"
|
31
30
|
end
|
32
31
|
end
|
33
32
|
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.
|
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-
|
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:
|