exercism-config 0.38.0 → 0.41.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/.github/workflows/tests.yml +1 -0
- data/.rubocop.yml +4 -0
- data/Rakefile +4 -0
- data/bin/setup_exercism_local_aws +11 -6
- data/lib/exercism_config/environment.rb +1 -1
- data/lib/exercism_config/setup_dynamodb_client.rb +0 -1
- data/lib/exercism_config/setup_s3_client.rb +0 -1
- data/lib/exercism_config/version.rb +1 -1
- data/settings/ci.yml +1 -0
- data/settings/docker.yml +1 -0
- data/settings/local.yml +1 -0
- metadata +2 -3
- data/.github/config/rubocop_linter_action.yml +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01f964544c9ddec6effc25a1b417ed9d2f3d0c5dcb98ebae0b6cd9c4b62e3963
|
4
|
+
data.tar.gz: 61a0591b8b221bed122b2dc12cfceff707aaf7005f56335bab86e1e31633210b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd48bdaf9a8b8a86a3934e886442b6c23fd5285a2f0a578d0b6209ac1ac5b88ad58d2e34401459c84dbb7f0d57a99b5ef411199016f43833744811656ae6f188
|
7
|
+
data.tar.gz: d0ac7eee145662d64d964f6b6dfd19d85aa780d5d387d9fb5c53adbe1c0963556389d4dfedb985c1617e81754d8ea5dc9e9befffecfe069826767d79d510e48f
|
data/.github/workflows/tests.yml
CHANGED
@@ -73,6 +73,7 @@ jobs:
|
|
73
73
|
###
|
74
74
|
# Publish the coverage to CodeClimate
|
75
75
|
- name: Publish code coverage
|
76
|
+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
76
77
|
env:
|
77
78
|
GIT_BRANCH: ${GITHUB_REF/refs\/heads\//}
|
78
79
|
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
|
data/.rubocop.yml
CHANGED
data/Rakefile
CHANGED
@@ -16,12 +16,17 @@ Exercism.config.dynamodb_client = ExercismConfig::SetupDynamoDBClient.()
|
|
16
16
|
# We don't need this running for CI atm as none of our
|
17
17
|
# tests actually hit s3. Although we might choose to change this
|
18
18
|
unless ENV["EXERCISM_CI"] || ENV["EXERCISM_SKIP_S3"]
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
[
|
20
|
+
Exercism.config.aws_iterations_bucket,
|
21
|
+
Exercism.config.aws_tooling_jobs_bucket,
|
22
|
+
].each do |bucket|
|
23
|
+
begin
|
24
|
+
ExercismConfig::SetupS3Client.().create_bucket(bucket: bucket)
|
25
|
+
rescue Seahorse::Client::NetworkingError => e
|
26
|
+
puts "local S3 not up yet..."
|
27
|
+
sleep 2 # slighty retry delaty
|
28
|
+
retry
|
29
|
+
end
|
25
30
|
end
|
26
31
|
end
|
27
32
|
|
data/settings/ci.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
anycable_redis_url: redis://127.0.0.1:6379/1
|
2
2
|
anycable_rpc_host: 127.0.0.1:50051
|
3
3
|
aws_iterations_bucket: exercism-staging-iterations
|
4
|
+
aws_tooling_jobs_bucket: exercism-staging-tooling-jobs
|
4
5
|
dynamodb_tooling_jobs_table: tooling_jobs
|
5
6
|
spi_url: http://127.0.0.1:3020
|
6
7
|
tooling_orchestrator_url: http://127.0.0.1:3021
|
data/settings/docker.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
anycable_redis_url: redis://redis:6379/1
|
2
2
|
anycable_rpc_host: 0.0.0.0:50051
|
3
3
|
aws_iterations_bucket: exercism-staging-iterations
|
4
|
+
aws_tooling_jobs_bucket: exercism-staging-tooling-jobs
|
4
5
|
dynamodb_tooling_jobs_table: tooling_jobs
|
5
6
|
mysql_master_endpoint: mysql
|
6
7
|
mysql_port: 3306
|
data/settings/local.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
anycable_redis_url: redis://127.0.0.1:6379/1
|
2
2
|
anycable_rpc_host: 127.0.0.1:50051
|
3
3
|
aws_iterations_bucket: exercism-staging-iterations
|
4
|
+
aws_tooling_jobs_bucket: exercism-staging-tooling-jobs
|
4
5
|
dynamodb_tooling_jobs_table: tooling_jobs
|
5
6
|
mysql_master_endpoint: localhost
|
6
7
|
mysql_socket: /tmp/mysql.sock
|
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.41.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: 2020-08-
|
11
|
+
date: 2020-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-dynamodb
|
@@ -131,7 +131,6 @@ executables:
|
|
131
131
|
extensions: []
|
132
132
|
extra_rdoc_files: []
|
133
133
|
files:
|
134
|
-
- ".github/config/rubocop_linter_action.yml"
|
135
134
|
- ".github/workflows/rubocop.yml"
|
136
135
|
- ".github/workflows/tests.yml"
|
137
136
|
- ".gitignore"
|