Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh docker images
- X-seq: zsh-users 22826
- From: Julien Nicoulaud <julien.nicoulaud@xxxxxxxxx>
- To: "Nikolay Aleksandrovich Pavlov (ZyX)" <kp-pav@xxxxxxxxx>
- Subject: Re: Zsh docker images
- Date: Tue, 15 Aug 2017 01:16:33 +0200
- Cc: Mailing-list zsh-users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+P8izpkO7ZSpsZVKBQILizvlYNFoWhcyfhXE09HC96g=; b=ehXy0s2NOuSbFLzuMsTziOJjZdWYelpkoL+k81dUg+BB7OV8cyYYCH6fAXv0m452uC LPh3VTp0VROE0PgC0KbEXlwYM/9CBk7dhSjduon9/9sdqdtswiZ0XCmIuhpYzuSq1yQF e/kyZv8zLqwu3yvpmf+GhdzsFc+AZqftyaR/nr9lbrzMcRaddFASUw26LUTqmiuCwumc cGsTmH6SqthT5y/eKb6Sk66RYz3RDif8U0JLj8TMLutcxt+9cqzUwl/sIngeyNdQQJzZ SL9I99Jcf6MEKoPCZCnMXbzem4czr5eHkh2ENnouLLs7JJQb0WcyutD/PWFfy57sy1PW J9dg==
- In-reply-to: <368651502750468@web46j.yandex.ru>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CA+mcLN48bD4By2tjqPcu42hcF1JQg=boFuBCbGWvQqAgoZhSqw@mail.gmail.com> <368651502750468@web46j.yandex.ru>
2017-08-15 0:41 GMT+02:00 Nikolay Aleksandrovich Pavlov (ZyX) <
kp-pav@xxxxxxxxx>:
> 15.08.2017, 01:12, "Julien Nicoulaud" <julien.nicoulaud@xxxxxxxxx>:
> > Hi all,
> >
> > I just wanted to advertise a small project that could be useful to other
> > zsh users: https://github.com/zsh-users/zsh-docker
> >
> > This builds images of many versions of zsh (including a daily build of
> > zsh's master branch) and deploys them to Docker Hub (
> > https://hub.docker.com/u/zshusers).
> >
> > So you can do, for instance:
> >
> > $ docker run -it zshusers/zsh-5.3.1
> >
> > -> will launch an interactive session of zsh 5.3.1
> >
> > We use it to automatically test zsh-syntax-highlighting on all supported
> > versions of zsh.
>
> What you could just as well do without docker which would make travis run
> faster due to not needed `sudo: required` and ability to setup travis
> cache. For testing something locally your docker images make more sense
> because they are easier to use then compiling that big amount of zsh
> versions.
>
You mean, instead of using Docker, building the right zsh version on each
job and use Travis cache ? I am not sure that would work as we would have
to "make install" zsh anyway, so we would need sudo...
The Docker setup makes things very simple on zsh-syntax-highlighting side,
it's only one line (https://github.com/zsh-users/
zsh-syntax-highlighting/blob/master/.travis.yml#L30), so it stays clean and
it's easy to use on other projects as well.
>
> Also why you have no builds for PRs
All those PRs were submitted before we setup Travis-CI, I'm not sure if we
can trigger builds, maybe if contributors rebase their branches ?
> and why you don’t merge those 24 jobs into something like 7 (4.3*, 5.0*,
> 5.1*, 5.2*, 5.3*, 5.4*, master)? Less then twenty seconds to run tests in a
> single job, lots of time to initialize VMs and there is nothing which may
> prevent you from consequently running two docker commands in one job, or
> using two zsh versions via other means.
>
Yeah sure, it was just easier to setup and to get a dashboard with every
version. We want to make it easy for contributors what their pull request
broke. If we start grouping jobs, log files will be harder to analyse.
Currently build time is 5/6 minutes, so I don't see it as a big issue.
>
> >
> > Cheers,
> > Julien
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author