Skip to content

Commit 38fd91b

Browse files
authored
snapshot filter fix (#751)
1 parent 40cb927 commit 38fd91b

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.circleci/config.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ jobs:
182182
- persist_to_workspace:
183183
root: bin/
184184
paths:
185-
- artifacts/*.zip
186-
- artifacts/*.tgz
187-
- artifacts/*.tar
185+
- artifacts/*
188186
- store_artifacts:
189187
path: test/logs
190188

@@ -384,14 +382,7 @@ jobs:
384382
- run:
385383
name: Deploy Snapshots to S3
386384
command: |
387-
cd workspace/artifacts
388-
for f in snapshots*.tar; do
389-
echo "Extracting $f ..."
390-
tar xf $f
391-
done
392-
echo "... done."
393-
du -ah --apparent-size *
394-
cd snapshots
385+
cd workspace/artifacts/snapshots
395386
for f in `ls *.zip *.tgz`; do
396387
aws s3 cp --no-progress $f s3://redismodules/$PACKAGE_NAME/snapshots/ --acl public-read
397388
done
@@ -488,11 +479,12 @@ on-version-tags: &on-version-tags
488479
tags:
489480
only: /^v[0-9].*/
490481

491-
on-master-and-version-tags: &on-master-and-version-tags
482+
on-master-version-tags-and-dockertests: &on-master-version-tags-and-dockertests
492483
filters:
493484
branches:
494485
only:
495486
- master
487+
- /.*dockertest$/
496488
tags:
497489
only: /^v[0-9].*/
498490

@@ -522,7 +514,7 @@ workflows:
522514
<<: *after-linter
523515
- platforms-build:
524516
<<: *after-build-and-test
525-
<<: *on-master-and-version-tags
517+
<<: *on-master-version-tags-and-dockertests
526518
matrix:
527519
parameters:
528520
osnick:
@@ -554,7 +546,7 @@ workflows:
554546
- deploy-snapshot:
555547
context: common
556548
<<: *after-platform-builds
557-
<<: *on-integ-branch
549+
<<: *on-master-version-tags-and-dockertests
558550
- deploy-release:
559551
context: common
560552
<<: *after-platform-builds

0 commit comments

Comments
 (0)