Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
f799737d
Commit
f799737d
authored
Dec 29, 2019
by
Guillaume Quintard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[cci] parameterize which commits to use
parent
6fa7db97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
config.yml
.circleci/config.yml
+11
-1
No files found.
.circleci/config.yml
View file @
f799737d
version
:
2.1
parameters
:
vc-commit
:
type
:
string
default
:
"
HEAD"
pkg-commit
:
type
:
string
default
:
"
weekly"
commands
:
debian_install_build_deps
:
description
:
Install build dependencies
...
...
@@ -81,6 +89,7 @@ jobs:
-
run
:
name
:
Create the dist tarball
command
:
|
git checkout << pipeline.parameters.vc-commit >>
# if version is "trunk", it's a weekly tarball, override the version
if grep 'AC_INIT.*trunk.*' ./configure.ac; then
sed -i -e "s/^AC_INIT.*trunk.*/AC_INIT([Varnish], [$(date +%Y%m%d)], [varnish-dev@varnish-cache.org])/" ./configure.ac
...
...
@@ -108,7 +117,8 @@ jobs:
mkdir -p ~/.ssh
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
echo ${CIRCLE_REPOSITORY_URL}
git clone --branch=weekly https://github.com/varnishcache/pkg-varnish-cache.git .
git clone https://github.com/varnishcache/pkg-varnish-cache.git .
git checkout << pipeline.parameters.pkg-commit >>
tar cvzf debian.tar.gz debian --dereference
tar cvzf redhat.tar.gz redhat --dereference
tar cvzf alpine.tar.gz alpine --dereference
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment