Skip to content

Commit 3818bfc

Browse files
author
Artem
committed
rollback stack app releases for darwin
1 parent d8deb4f commit 3818bfc

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
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: 16 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)

0 commit comments

Comments
 (0)