Switch to new cluster with elasticsearch 7.10 (#556)
This commit is contained in:
parent
0303a81431
commit
4bc2ea9d05
|
@ -42,7 +42,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RUST_LOG: debug
|
RUST_LOG: debug
|
||||||
FI_ES_EXISTS_STRATEGY: abort
|
FI_ES_EXISTS_STRATEGY: abort
|
||||||
FI_ES_URL: ${{ secrets.ELASTICSEARCH_URL }}
|
FI_ES_URL: ${{ secrets.ELASTICSEARCH_URL2 }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checking out the repository
|
- name: Checking out the repository
|
||||||
|
@ -64,7 +64,7 @@ jobs:
|
||||||
- name: Warmup ${{ matrix.channel }} channel
|
- name: Warmup ${{ matrix.channel }} channel
|
||||||
run: |
|
run: |
|
||||||
for (( i = 0; i < 3; i++ )) do
|
for (( i = 0; i < 3; i++ )) do
|
||||||
curl -sS ${{ secrets.ELASTICSEARCH_URL }}/latest-$(< VERSION)-nixos-${{ matrix.channel }}/_search | jq -c '.took // .'
|
curl -sS ${{ secrets.ELASTICSEARCH_URL2 }}/latest-$(< VERSION)-nixos-${{ matrix.channel }}/_search | jq -c '.took // .'
|
||||||
done
|
done
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RUST_LOG: debug
|
RUST_LOG: debug
|
||||||
FI_ES_EXISTS_STRATEGY: recreate
|
FI_ES_EXISTS_STRATEGY: recreate
|
||||||
FI_ES_URL: ${{ secrets.ELASTICSEARCH_URL }}
|
FI_ES_URL: ${{ secrets.ELASTICSEARCH_URL2 }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -102,6 +102,6 @@ jobs:
|
||||||
- name: Warmup ${{ matrix.group }} group
|
- name: Warmup ${{ matrix.group }} group
|
||||||
run: |
|
run: |
|
||||||
for (( i = 0; i < 3; i++ )) do
|
for (( i = 0; i < 3; i++ )) do
|
||||||
curl -sS ${{ secrets.ELASTICSEARCH_URL }}/latest-$(< VERSION)-group-${{ matrix.group }}/_search | jq -c '.took // .'
|
curl -sS ${{ secrets.ELASTICSEARCH_URL2 }}/latest-$(< VERSION)-group-${{ matrix.group }}/_search | jq -c '.took // .'
|
||||||
done
|
done
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
|
|
|
@ -7,9 +7,9 @@ const {Elm} = require('./Main');
|
||||||
Elm.Main.init({
|
Elm.Main.init({
|
||||||
flags: {
|
flags: {
|
||||||
elasticsearchMappingSchemaVersion: parseInt(process.env.ELASTICSEARCH_MAPPING_SCHEMA_VERSION),
|
elasticsearchMappingSchemaVersion: parseInt(process.env.ELASTICSEARCH_MAPPING_SCHEMA_VERSION),
|
||||||
elasticsearchUrl: process.env.ELASTICSEARCH_URL || 'https://nixos-search-5886075189.us-east-1.bonsaisearch.net:443',
|
elasticsearchUrl: process.env.ELASTICSEARCH_URL || 'https://nixos-search-7-1733963800.us-east-1.bonsaisearch.net:443',
|
||||||
elasticsearchUsername : process.env.ELASTICSEARCH_USERNAME || 'z3ZFJ6y2mR',
|
elasticsearchUsername : process.env.ELASTICSEARCH_USERNAME || 'aWVSALXpZv',
|
||||||
elasticsearchPassword : process.env.ELASTICSEARCH_PASSWORD || 'ds8CEvALPf9pui7XG',
|
elasticsearchPassword : process.env.ELASTICSEARCH_PASSWORD || 'X8gPHnzL52wFEekuxsfQ9cSh',
|
||||||
nixosChannels : JSON.parse(process.env.NIXOS_CHANNELS)
|
nixosChannels : JSON.parse(process.env.NIXOS_CHANNELS)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue