Skip to content

Commit 9f533b9

Browse files
authored
Merge pull request #3021 from RedisInsight/latest
Latest to main
2 parents 3fb6420 + c0e46ef commit 9f533b9

File tree

19 files changed

+83
-67
lines changed

19 files changed

+83
-67
lines changed

.circleci/build/sum_sha256.sh

100644100755
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
#!/bin/bash
22
set -e
33

4-
cd ./release/web
5-
6-
for f in *.tar.gz; do
7-
sha256sum "$f" > "$f.sha256"
8-
done
4+
find ./release -type f -name '*.tar.gz' -execdir sh -c 'sha256sum "$1" > "$1.sha256"' _ {} \;

.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,10 @@ jobs:
646646
type: enum
647647
default: stage
648648
enum: ['stage', 'prod', 'dev']
649+
redisstack:
650+
description: Build RedisStack archives
651+
type: boolean
652+
default: true
649653
target:
650654
description: Build target
651655
type: string
@@ -710,6 +714,15 @@ jobs:
710714
rm -rf release/mac
711715
mv release/mas-universal/RedisInsight-mac-universal-mas.pkg release/RedisInsight-mac-universal-mas.pkg
712716
no_output_timeout: 60m
717+
- when:
718+
condition:
719+
equal: [ true, << parameters.redisstack >> ]
720+
steps:
721+
- run:
722+
name: Repack dmg to tar
723+
command: |
724+
ARCH=x64 ./.circleci/redisstack/dmg.repack.sh
725+
ARCH=arm64 ./.circleci/redisstack/dmg.repack.sh
713726
- persist_to_workspace:
714727
root: .
715728
paths:
@@ -718,6 +731,7 @@ jobs:
718731
- release/RedisInsight*.dmg.blockmap
719732
- release/RedisInsight*.pkg
720733
- release/*-mac.yml
734+
- release/redisstack
721735
windows:
722736
executor:
723737
name: win/default
@@ -961,6 +975,7 @@ jobs:
961975
--include "RedisInsight*" \
962976
--include "web/*" \
963977
--include "docker/*"
978+
--include "redisstack/*"
964979
965980
release-aws-private:
966981
executor: linux-executor
@@ -1334,6 +1349,7 @@ workflows:
13341349
- macosx:
13351350
name: Build app - MacOS (stage)
13361351
env: stage
1352+
redisstack: false
13371353
target: << pipeline.parameters.mac >>
13381354
requires:
13391355
- Setup build (stage)
@@ -1568,6 +1584,19 @@ workflows:
15681584
name: Build docker images (prod)
15691585
env: production
15701586
requires: *prodElectronBuildRequires
1587+
# e2e desktop tests on AppImage build
1588+
- e2e-app-image:
1589+
name: E2ETest (AppImage)
1590+
parallelism: 2
1591+
requires:
1592+
- Build app - Linux (prod)
1593+
# e2e docker tests
1594+
- e2e-tests:
1595+
name: E2ETest
1596+
build: docker
1597+
parallelism: 4
1598+
requires:
1599+
- Build docker images (prod)
15711600
# virus check all electron apps (prod)
15721601
- virustotal-file:
15731602
name: Virus check - AppImage (prod)

electron-builder.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"productName": "RedisInsight",
33
"appId": "org.RedisLabs.RedisInsight-V2",
4-
"copyright": "Copyright © 2023 Redis Ltd.",
4+
"copyright": "Copyright © 2024 Redis Ltd.",
55
"files": [
66
"dist",
77
"node_modules",

redisinsight/api/config/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default {
5757
tlsKey: process.env.RI_SERVER_TLS_KEY,
5858
staticContent: !!process.env.RI_SERVE_STATICS || true,
5959
buildType: process.env.RI_BUILD_TYPE || 'DOCKER_ON_PREMISE',
60-
appVersion: process.env.RI_APP_VERSION || '2.40.0',
60+
appVersion: process.env.RI_APP_VERSION || '2.42.0',
6161
requestTimeout: parseInt(process.env.RI_REQUEST_TIMEOUT, 10) || 25000,
6262
excludeRoutes: [],
6363
excludeAuthRoutes: [],

redisinsight/api/config/swagger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const SWAGGER_CONFIG: Omit<OpenAPIObject, 'paths'> = {
55
info: {
66
title: 'RedisInsight Backend API',
77
description: 'RedisInsight Backend API',
8-
version: '2.40.0',
8+
version: '2.42.0',
99
},
1010
tags: [],
1111
};

redisinsight/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redisinsight-api",
3-
"version": "2.40.0",
3+
"version": "2.42.0",
44
"description": "RedisInsight API",
55
"private": true,
66
"author": {

redisinsight/api/src/modules/custom-tutorial/providers/custom-tutorial.fs.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class CustomTutorialFsProvider {
7979

8080
return this.unzipToTmpFolder(new AdmZip(data));
8181
} catch (e) {
82-
this.logger.error('Unable to fetch zip file from external source', e);
82+
this.logger.error('Unable to fetch zip file from external source');
8383
throw wrapHttpError(e, ERROR_MESSAGES.CUSTOM_TUTORIAL_UNABLE_TO_FETCH_FROM_EXTERNAL);
8484
}
8585
}

redisinsight/desktop/src/lib/aboutPanel/aboutPanel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ICON_PATH = app.isPackaged
88

99
export const AboutPanelOptions = {
1010
applicationName: 'RedisInsight',
11-
applicationVersion: `${app.getVersion() || '2.40.0'}${
11+
applicationVersion: `${app.getVersion() || '2.42.0'}${
1212
!config.isProduction ? `-dev-${process.getCreationTime()}` : ''
1313
}`,
1414
copyright: `Copyright © ${new Date().getFullYear()} Redis Ltd.`,

redisinsight/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "redisinsight",
33
"productName": "RedisInsight",
44
"private": true,
5-
"version": "2.40.0",
5+
"version": "2.42.0",
66
"description": "RedisInsight",
77
"main": "./dist/main/main.js",
88
"author": {

redisinsight/ui/src/components/database-side-panels/panels/enablement-area/EnablementArea/components/CodeButtonBlock/CodeButtonBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const CodeButtonBlock = (props: Props) => {
8282

8383
const handleRunClicked = () => {
8484
if (!instanceId || notLoadedModule || (!isNotShowConfirmation && isButtonHasConfirmation)) {
85-
setIsPopoverOpen(true)
85+
setIsPopoverOpen((v) => !v)
8686
return
8787
}
8888

0 commit comments

Comments
 (0)