[6.0] fb6918339 Bring the CCI setup up to speed
Martin Blix Grydeland
martin at varnish-software.com
Tue Nov 8 10:03:07 UTC 2022
commit fb6918339310e75715820ae0fb3c1591070d0079
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Wed Oct 12 11:50:06 2022 +0200
Bring the CCI setup up to speed
diff --git a/.circleci/config.yml b/.circleci/config.yml
index e6c8027be..c272743b7 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -16,6 +16,9 @@ parameters:
dist-url:
type: string
default: ""
+ dist-url-sha256:
+ type: string
+ default: ""
jobs:
dist:
@@ -46,7 +49,17 @@ jobs:
- run:
name: Download the dist tarball
command: |
- curl -s << pipeline.parameters.dist-url >> -o varnish-dist.tar.gz
+ curl -Ls << pipeline.parameters.dist-url >> -o varnish-dist.tar.gz
+ - when:
+ condition: << pipeline.parameters.dist-url-sha256 >>
+ steps:
+ - run:
+ name: Verify downloaded tarball
+ command: |
+ echo "<< pipeline.parameters.dist-url-sha256 >> varnish-dist.tar.gz" | sha256sum -c
+ - run:
+ name: Rename the dist tarball by parsed version
+ command: |
mkdir parse-version-tmp
cd parse-version-tmp
tar xzf ../varnish-dist.tar.gz
More information about the varnish-commit
mailing list