This repository was archived by the owner on Jan 24, 2025. It is now read-only.
File tree 8 files changed +11
-11
lines changed
8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 34
34
sudo sysctl -w fs.file-max=262144
35
35
sudo sysctl -w vm.max_map_count=262144
36
36
37
- - uses : getong/elasticsearch-action @v1.2
37
+ - uses : ankane/setup-opensearch @v1
38
38
with :
39
- elasticsearch version : ' 7.6.1 '
39
+ opensearch- version : 1.2
40
40
host port : 9200
41
41
container port : 9200
42
42
host node port : 9300
Original file line number Diff line number Diff line change 279
279
raabro (1.4.0 )
280
280
racc (1.5.2 )
281
281
rack (2.2.3 )
282
- rack-protection (2.1 .0 )
282
+ rack-protection (2.2 .0 )
283
283
rack
284
284
rack-test (1.1.0 )
285
285
rack (>= 1.0 , < 3 )
315
315
rb-fsevent (0.11.0 )
316
316
rb-inotify (0.10.1 )
317
317
ffi (~> 1.0 )
318
- redis (4.1.4 )
318
+ redis (4.5.1 )
319
319
redis-namespace (1.8.1 )
320
320
redis (>= 3.0.4 )
321
321
regexp_parser (2.1.1 )
@@ -396,11 +396,11 @@ GEM
396
396
tilt
397
397
sentry-raven (3.1.2 )
398
398
faraday (>= 1.0 )
399
- sidekiq (5.2.9 )
399
+ sidekiq (5.2.10 )
400
400
connection_pool (~> 2.2 , >= 2.2.2 )
401
401
rack (~> 2.0 )
402
402
rack-protection (>= 1.5.0 )
403
- redis (>= 3.3. 5 , < 4.2 )
403
+ redis (~> 4. 5 , < 4.6.0 )
404
404
sidekiq-limit_fetch (3.4.0 )
405
405
sidekiq (>= 4 )
406
406
sidekiq-logging-json (0.0.19 )
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class Application < Rails::Application
47
47
html_tag
48
48
}
49
49
50
- config . elasticsearch = config_for ( :elasticsearch )
50
+ config . elasticsearch = config_for ( :opensearch )
51
51
52
52
# Settings in config/environments/* take precedence over those specified here.
53
53
# Application configuration can go into files in config/initializers
Original file line number Diff line number Diff line change 1
1
def es_config_from_vcap
2
2
begin
3
3
vcap = JSON . parse ( Rails . configuration . elasticsearch [ "vcap_services" ] )
4
- es_server = vcap [ "elasticsearch " ] [ 0 ] [ "credentials" ] [ "uri" ]
4
+ es_server = vcap [ "opensearch " ] [ 0 ] [ "credentials" ] [ "uri" ]
5
5
rescue StandardError => e
6
6
Rails . logger . fatal "Failed to extract ES creds from VCAP_SERVICES. Exiting"
7
7
Rails . logger . fatal Rails . configuration . elasticsearch [ "vcap_services" ]
File renamed without changes.
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ applications:
12
12
- publish-beta-integration-pg-12
13
13
- publish-beta-integration-redis
14
14
- logit-ssl-drain
15
- - elasticsearch-7 -integration
15
+ - opensearch -integration
16
16
health-check-type : process
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ applications:
12
12
- publish-beta-production-pg-12
13
13
- publish-beta-production-redis
14
14
- logit-ssl-drain
15
- - elasticsearch-7 -production
15
+ - opensearch -production
16
16
health-check-type : process
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ applications:
12
12
- publish-beta-staging-pg-12
13
13
- publish-beta-staging-redis
14
14
- logit-ssl-drain
15
- - elasticsearch-7 -staging
15
+ - opensearch -staging
16
16
health-check-type : process
You can’t perform that action at this time.
0 commit comments