Skip to content

Commit f45e32b

Browse files
Merge pull request #24 from RedisInsight/cherry_pick_updates_release
Cherry pick updates release
2 parents d3d625f + 9397c31 commit f45e32b

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -671,26 +671,26 @@ jobs:
671671
declare -A tag0=(
672672
[key]='platform'
673673
[value]='macos'
674-
[objectDownload]=${appFileName}'-mac-x64.dmg'
675-
[objectUpgrade]=${appFileName}'.zip'
674+
[objectDownload]=${applicationName}'-mac-x64.dmg'
675+
[objectUpgrade]=${applicationName}'.zip'
676676
)
677677
678678
declare -A tag1=(
679679
[key]='platform'
680680
[value]='windows'
681-
[objectDownload]=${appFileName}'-win-installer.exe'
681+
[objectDownload]=${applicationName}'-win-installer.exe'
682682
)
683683
684684
declare -A tag2=(
685685
[key]='platform'
686686
[value]='linux_AppImage'
687-
[objectDownload]=${appFileName}'-linux.AppImage'
687+
[objectDownload]=${applicationName}'-linux.AppImage'
688688
)
689689
690690
declare -A tag3=(
691691
[key]='platform'
692692
[value]='linux_deb'
693-
[objectDownload]=${appFileName}'-linux.deb'
693+
[objectDownload]=${applicationName}'-linux.deb'
694694
)
695695
696696
# loop for add all tags to each app and create metrics

electron-builder.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"package.json"
1313
],
1414
"afterSign": "electron-builder-notarize",
15-
"artifactName": "RedisInsight.${ext}",
15+
"artifactName": "${productName}.${ext}",
1616
"compression": "normal",
1717
"mac": {
1818
"target": ["dmg", "zip"],
@@ -24,7 +24,7 @@
2424
"gatekeeperAssess": false
2525
},
2626
"dmg": {
27-
"artifactName": "RedisInsight-${os}-x64.${ext}",
27+
"artifactName": "${productName}-${os}-x64.${ext}",
2828
"contents": [
2929
{
3030
"x": 130,
@@ -40,14 +40,14 @@
4040
},
4141
"win": {
4242
"target": ["nsis"],
43-
"artifactName": "RedisInsight-${os}-installer.${ext}"
43+
"artifactName": "${productName}-${os}-installer.${ext}"
4444
},
4545
"linux": {
4646
"icon": "./resources/icons",
4747
"target": ["deb", "AppImage"],
4848
"synopsis": "Redis GUI by Redis Ltd.",
4949
"category": "Development",
50-
"artifactName": "RedisInsight-${os}.${ext}",
50+
"artifactName": "${productName}-${os}.${ext}",
5151
"desktop": {
5252
"Name": "RedisInsight",
5353
"Type": "Application",

redisinsight/main.dev.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ export default class AppUpdater {
4949
log.transports.file.level = 'info';
5050

5151
autoUpdater.setFeedURL({
52-
provider: 's3',
53-
path: 'public/upgrades/',
54-
bucket: process.env.MANUAL_UPDATE_BUCKET || process.env.AWS_BUCKET_NAME,
55-
region: 'us-east-1',
52+
provider: 'generic',
53+
url: process.env.MANUAL_UPGRADES_LINK || process.env.UPGRADES_LINK,
5654
});
5755

5856
autoUpdater.checkForUpdatesAndNotify();

tests/e2e/tests/regression/workbench/default-scripts-area.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ test('Verify that user can resize(maximize)/(minimize) the enablement area (the
2828
const offsetX = 100;
2929
const areaWidthBefore = await workbenchPage.preselectsAreaContainer.clientWidth;
3030
//Minimize the area with default scripts
31-
await t.drag(workbenchPage.resizeButtonForPreselectsArea, -offsetX, 0, { speed: 0.2 });
31+
await t.drag(workbenchPage.resizeButtonForPreselectsArea, -offsetX, 0, { speed: 0.1 });
3232
await t.expect(await workbenchPage.preselectsAreaContainer.clientWidth).lt(areaWidthBefore, 'Default scripts area is smaller after resize');
3333
//Maximize the area with default scripts
3434
const areaWidthAfter = await workbenchPage.preselectsAreaContainer.clientWidth;
3535
await t.click(workbenchPage.preselectsAreaContainer);
36-
await t.drag(workbenchPage.resizeButtonForPreselectsArea, offsetX, 0, { speed: 0.2 });
37-
await t.expect(await workbenchPage.preselectsAreaContainer.clientWidth).gt(areaWidthAfter, 'Default scripts area is bigger after resize');
36+
await t.drag(workbenchPage.resizeButtonForPreselectsArea, offsetX, 0, { speed: 0.1 });
37+
await t.expect(await workbenchPage.preselectsAreaContainer.clientWidth).gte(areaWidthAfter, 'Default scripts area is bigger after resize');
3838
});
3939
test('Verify that user can expand/collapse the enablement area', async t => {
4040
//Collapse the area with default scripts

0 commit comments

Comments
 (0)