exercism-config 0.41.0 → 0.42.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_local_aws +1 -3
- data/lib/exercism_config/setup_s3_client.rb +1 -1
- data/lib/exercism_config/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 154c481dfec9038638a4e341abf22c223b272535513f64b6bf42849958989b57
|
4
|
+
data.tar.gz: 37dc10f0a102c526cb388f6eefdc73fc434524e0da51e7b64d5fd52a2e9c6802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c6ac95f5259d00ee2ef26c46f692ba125383a483871951925e76076b38b28bf250e2729995402f27f538ae1f73bdee23db5c2e966a2ea4c46f91e5197d58188
|
7
|
+
data.tar.gz: 3fc1d88ce683284cdea1ca51df6ccfe52a51b9975b1d6318f0cf25ebd4db802a70581ae5b219182ec9cc545cedd6f768b98a98454b7f0a8e8ee928b5c831fd53
|
@@ -13,9 +13,7 @@ Exercism.config.dynamodb_client = ExercismConfig::SetupDynamoDBClient.()
|
|
13
13
|
# Setup local s3 #
|
14
14
|
##################
|
15
15
|
|
16
|
-
|
17
|
-
# tests actually hit s3. Although we might choose to change this
|
18
|
-
unless ENV["EXERCISM_CI"] || ENV["EXERCISM_SKIP_S3"]
|
16
|
+
unless ENV["EXERCISM_SKIP_S3"]
|
19
17
|
[
|
20
18
|
Exercism.config.aws_iterations_bucket,
|
21
19
|
Exercism.config.aws_tooling_jobs_bucket,
|
@@ -21,7 +21,7 @@ module ExercismConfig
|
|
21
21
|
memoize
|
22
22
|
def config_endpoint
|
23
23
|
return nil if Exercism.env.production?
|
24
|
-
return "http://127.0.0.1:#{ENV['S3_PORT']}" if ENV['EXERCISM_CI']
|
24
|
+
return "http://127.0.0.1:#{ENV['S3_PORT']}" if Exercism.env.test? && ENV['EXERCISM_CI']
|
25
25
|
|
26
26
|
host = ENV['EXERCISM_DOCKER'] ? 's3:9090' : 'localhost:3041'
|
27
27
|
"http://#{host}"
|