antbird 0.11.0 → 0.13.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: f1dac415c5d5ab98ac41c240d49ee18c47566418c77e5ce349caaf5519a64812
4
- data.tar.gz: f47848c4d999388e4cc1110e05103ebe681d3cb146717b184546913a12ce8588
3
+ metadata.gz: ad6eb458028568b6c9c40254b0b5b71fe8ddb519dc274abde04265d7d5418e1a
4
+ data.tar.gz: 87e2edec4cb2e49743023b3156bd2df25e1f8ba9b12840c61928a51a75ca71af
5
5
  SHA512:
6
- metadata.gz: dad1f68ba9b362aaa6d3a8bebadd1e59b19e505f7dab131414888b7e4eaec2723192e8d733404a31cfe1ce47229e2ad93d14c43d54c14d769c3fc456d0aba599
7
- data.tar.gz: de71b14aab15c2801ec385b3d204e72dc88d1d7b57943046c682f98fd46728d2f14c77ab58012705af80b6d8d8ee7538a1936d59ffb7634d190b895f965cd0c8
6
+ metadata.gz: 0577a5e93b93614fd0ea0ed29b993a7981a3f8c5c4588b809888da7e01bd9467a138423200ea4c1db6b180e5455e99966fdd344c3d2b947e8e302bcf61ea0c16
7
+ data.tar.gz: bd956df5ca1c162d6afb52584fc997d698a99bf7d3d7b39e5230d7d4d0ee48cb875f79d8ef7898b0c70a99ef6c5896081ea7ff2f8b9309ee6cc42e577de8adf7
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
@@ -13,7 +13,13 @@ jobs:
13
13
  matrix:
14
14
  # https://github.com/opensearch-project/OpenSearch/releases
15
15
  search_versions:
16
- - 2.11.0
16
+ - 2.17.1
17
+ - 2.16.0
18
+ - 2.15.0
19
+ - 2.14.0
20
+ - 2.13.0
21
+ - 2.12.0
22
+ - 2.11.1
17
23
  - 2.10.0
18
24
  - 2.9.0
19
25
  - 2.8.0
@@ -37,6 +43,7 @@ jobs:
37
43
  env:
38
44
  discovery.type: single-node
39
45
  plugins.security.disabled: true
46
+ OPENSEARCH_INITIAL_ADMIN_PASSWORD: StrongPassowrd123
40
47
  steps:
41
48
  - name: Configure sysctl limits
42
49
  run: |
@@ -44,11 +51,11 @@ jobs:
44
51
  sudo sysctl -w vm.swappiness=1
45
52
  sudo sysctl -w fs.file-max=262144
46
53
  sudo sysctl -w vm.max_map_count=262144
47
- - uses: actions/checkout@v2
54
+ - uses: actions/checkout@v4
48
55
  - uses: ruby/setup-ruby@v1
49
56
  with:
50
57
  ruby-version: "3.2"
51
58
  bundler-cache: true
52
59
  - name: Wait for OpenSearch
53
- run: timeout 60 bash -c "until curl --silent --output /dev/null localhost:9200/_cat/health?h=st; do printf '.'; sleep 5; done; printf '\n'"
60
+ run: timeout 60 bash -c "until curl --silent --output /dev/null 'localhost:9200/_cat/health?h=st'; do printf '.'; sleep 5; done; printf '\n'"
54
61
  - run: bundle exec rspec
@@ -35,7 +35,7 @@ jobs:
35
35
  uses: elastic/elastic-github-actions/elasticsearch@master
36
36
  with:
37
37
  stack-version: ${{matrix.search_versions}}
38
- - uses: actions/checkout@v2
38
+ - uses: actions/checkout@v4
39
39
  - uses: ruby/setup-ruby@v1
40
40
  with:
41
41
  ruby-version: "3.2"
@@ -259,7 +259,7 @@ module Antbird
259
259
  return if @version
260
260
 
261
261
  response = connection.get('/')
262
- if response.status == 401
262
+ unless response.status == 200
263
263
  raise Antbird::Client::RequestError.new(response)
264
264
  end
265
265
 
@@ -1,5 +1,5 @@
1
1
  # Generated REST API methods file - DO NOT EDIT!
2
- # opensearch version: 2.11.0
2
+ # opensearch version: 2.11.1
3
3
 
4
4
  module Antbird
5
5
  module RestApi