Skip to content

Commit ebf8ff5

Browse files
authored
Merge pull request #3569 from RedisInsight/release/2.52.0
Release/2.52.0 to latest
2 parents e053752 + a8b2a8f commit ebf8ff5

File tree

933 files changed

+32419
-15966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

933 files changed

+32419
-15966
lines changed

.circleci/build/release-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
HELP="Args:
5-
-v - Semver (2.50.0)
5+
-v - Semver (2.52.0)
66
-d - Build image repository (Ex: -d redisinsight)
77
-r - Target repository (Ex: -r redis/redisinsight)
88
"

.circleci/config.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,19 @@ jobs:
391391
- attach_workspace:
392392
at: .
393393
- run: sudo apt-get install net-tools
394+
- run:
395+
name: Install WM
396+
command: sudo apt install fluxbox
397+
- run:
398+
name: Run X11
399+
command: |
400+
Xvfb :99 -screen 0 1920x1080x24 &
401+
sleep 3
402+
fluxbox &
403+
# - run:
404+
# name: Clone mocked RDI server
405+
# command: |
406+
# git clone https://[email protected]/RedisInsight/RDI_server_mocked.git tests/e2e/rte/rdi
394407
- run:
395408
name: .AppImage tests
396409
command: |
@@ -483,6 +496,10 @@ jobs:
483496
name: Load built docker image from workspace
484497
command: |
485498
docker image load -i /tmp/release/docker/docker-linux-alpine.amd64.tar
499+
# - run:
500+
# name: Clone mocked RDI server
501+
# command: |
502+
# git clone https://[email protected]/RedisInsight/RDI_server_mocked.git tests/e2e/rte/rdi
486503
- run:
487504
name: Run tests
488505
command: |
@@ -639,6 +656,7 @@ jobs:
639656
export RI_CLOUD_IDP_GH_ID=$RI_CLOUD_IDP_GH_ID_STAGE
640657
export RI_CLOUD_API_URL=$RI_CLOUD_API_URL_STAGE
641658
export RI_CLOUD_CAPI_URL=$RI_CLOUD_CAPI_URL_STAGE
659+
export RI_FEATURES_CONFIG_URL=$RI_FEATURES_CONFIG_URL_STAGE
642660
643661
if [ << parameters.env >> == 'stage' ]; then
644662
RI_UPGRADES_LINK=$RI_UPGRADES_LINK_STAGE RI_SEGMENT_WRITE_KEY=$RI_SEGMENT_WRITE_KEY_STAGE yarn package:stage --linux << parameters.target >>
@@ -715,6 +733,7 @@ jobs:
715733
export RI_CLOUD_CAPI_URL=$RI_CLOUD_CAPI_URL_STAGE
716734
export RI_UPGRADES_LINK=''
717735
export RI_SEGMENT_WRITE_KEY=''
736+
export RI_FEATURES_CONFIG_URL=$RI_FEATURES_CONFIG_URL_STAGE
718737
719738
if [ << parameters.env >> == 'stage' ]; then
720739
export RI_UPGRADES_LINK=$RI_UPGRADES_LINK_STAGE
@@ -796,6 +815,7 @@ jobs:
796815
export RI_CLOUD_IDP_GH_ID=$RI_CLOUD_IDP_GH_ID_STAGE
797816
export RI_CLOUD_API_URL=$RI_CLOUD_API_URL_STAGE
798817
export RI_CLOUD_CAPI_URL=$RI_CLOUD_CAPI_URL_STAGE
818+
export RI_FEATURES_CONFIG_URL=$RI_FEATURES_CONFIG_URL_STAGE
799819
800820
if [ << parameters.env >> == 'stage' ]; then
801821
RI_UPGRADES_LINK=$RI_UPGRADES_LINK_STAGE RI_SEGMENT_WRITE_KEY=$RI_SEGMENT_WRITE_KEY_STAGE yarn package:stage --win << parameters.target >>
@@ -1233,7 +1253,7 @@ workflows:
12331253
- Build docker image
12341254
- e2e-app-image:
12351255
name: E2ETest (AppImage)
1236-
parallelism: 2
1256+
parallelism: 1
12371257
requires:
12381258
- Build app - Linux (stage)
12391259
# Workflow for feature, bugfix, main branches

.circleci/e2e/test.app-image.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ yarn --cwd tests/e2e install
88

99
# create folder before tests run to prevent permissions issue
1010
mkdir -p tests/e2e/remote
11+
mkdir -p tests/e2e/rdi
1112

1213
# run rte
1314
docker-compose -f tests/e2e/rte.docker-compose.yml build

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Add reviewers for the most sensitive folders
2-
/.github/ [email protected] artem.horuzhenko@softeq.com
3-
/.circleci/ [email protected] artem.horuzhenko@softeq.com
4-
/redisinsight/api/config/features-config.json [email protected] [email protected] artem.horuzhenko@softeq.com
2+
/.github/ [email protected] [email protected] artem.horuzhenko@redis.com
3+
/.circleci/ [email protected] [email protected] artem.horuzhenko@redis.com
4+
/redisinsight/api/config/features-config.json [email protected] [email protected] artem.horuzhenko@redis.com

configs/webpack.config.main.prod.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export default merge(baseConfig, {
8383
RI_AI_CONVAI_TOKEN: 'RI_AI_CONVAI_TOKEN' in process.env ? process.env.RI_AI_CONVAI_TOKEN: '',
8484
RI_AI_QUERY_USER: 'RI_AI_QUERY_USER' in process.env ? process.env.RI_AI_QUERY_USER: '',
8585
RI_AI_QUERY_PASS: 'RI_AI_QUERY_PASS' in process.env ? process.env.RI_AI_QUERY_PASS: '',
86+
RI_FEATURES_CONFIG_URL: 'RI_FEATURES_CONFIG_URL' in process.env ? process.env.RI_FEATURES_CONFIG_URL: '',
8687
}),
8788

8889
new webpack.DefinePlugin({

configs/webpack.config.renderer.dev.ts

Whitespace-only changes.

configs/webpack.config.renderer.prod.ts

Whitespace-only changes.

configs/webpack.config.web.common.ts

Whitespace-only changes.

configs/webpack.config.web.prod.ts

Whitespace-only changes.

jest-resolver.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const url = require('url')
2+
3+
module.exports = (request, options) => {
4+
// Remove any query parameters in the request path
5+
if (request.includes('?')) {
6+
return options.defaultResolver(url.parse(request).pathname, options)
7+
}
8+
9+
return options.defaultResolver(request, options)
10+
}

0 commit comments

Comments
 (0)