Skip to content

Commit 5e2b734

Browse files
rafieDvirDukhan
authored andcommitted
CircleCI: deployment fixes (#604)
1 parent 9ea33ed commit 5e2b734

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ commands:
120120
- run:
121121
name: Deploy to S3
122122
command: |
123+
du -ah --apparent-size artifacts/*
123124
aws s3 cp artifacts/ s3://redismodules/$PACKAGE_NAME/ --acl public-read --recursive --exclude "*" --include "*.zip" --include "*.tgz"
124125
125126
jobs:
@@ -300,6 +301,7 @@ jobs:
300301
name: Deploy to S3
301302
command: |
302303
cd "workspace/artifacts/<<parameters.location>>"
304+
du -ah --apparent-size *
303305
for f in *.zip snapshot/*.tgz; do
304306
aws s3 cp $f s3://redismodules/$PACKAGE_NAME/<<parameters.location>>/ --acl public-read
305307
done
@@ -314,9 +316,12 @@ jobs:
314316
name: Deploy Snapshots to S3
315317
command: |
316318
cd workspace/artifacts
317-
for f in snapshots-*.tar; do
319+
for f in snapshots*.tar; do
320+
echo "Extracting $f ..."
318321
tar xf $f
319322
done
323+
echo "... done."
324+
du -ah --apparent-size *
320325
cd snapshots
321326
for f in *.zip *.tgz; do
322327
aws s3 cp --no-progress $f s3://redismodules/$PACKAGE_NAME/snapshots/ --acl public-read
@@ -332,6 +337,7 @@ jobs:
332337
name: Deploy Releases to S3
333338
command: |
334339
cd workspace/artifacts
340+
du -ah --apparent-size *
335341
for f in *.zip *.tgz; do
336342
aws s3 cp --no-progress $f s3://redismodules/$PACKAGE_NAME/ --acl public-read
337343
done

opt/build/docker/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ INT_BRANCHES=1.2
1313

1414
REDIS_VER:=6.0.9
1515

16-
ART_DIR=$(ROOT)/bin/artifacts
17-
ART_INT_DIR=/var/opt/redislabs/artifacts
16+
export ART_DIR=$(ROOT)/bin/artifacts
17+
export ART_INT_DIR=/var/opt/redislabs/artifacts
1818

1919
#----------------------------------------------------------------------------------------------
2020

0 commit comments

Comments
 (0)