Skip to content

Commit a6ec163

Browse files
author
Hugo Osvaldo Barrera
committed
Initial commit
0 parents  commit a6ec163

File tree

5 files changed

+80
-0
lines changed

5 files changed

+80
-0
lines changed

.build.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
image: archlinux
2+
packages:
3+
- docker
4+
sources:
5+
- https://github.com/pimutils/vdirsyncer-devkit/
6+
secrets:
7+
- 5988216b-b889-44bc-8170-9218352e1b2d
8+
tasks:
9+
- setup: |
10+
sudo systemctl start docker.socket
11+
cat ~/.docker-hub-token | docker login --username whynothugo --password-stdin
12+
- radicale: |
13+
cd vdirsyncer-devkit/radicale
14+
docker build -t whynothugo/vdirsyncer-devkit-radicale .
15+
docker push whynothugo/vdirsyncer-devkit-radicale
16+
- xandikos: |
17+
cd vdirsyncer-devkit/xandikos
18+
docker build -t whynothugo/vdirsyncer-devkit-xandikos .
19+
docker push whynothugo/vdirsyncer-devkit-xandikos

LICENCE

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Copyright (c) 2017-2021 Hugo Barrera and contriutors
2+
Copyright (c) 2014-2016 Markus Unterwaditzer and contributors
3+
4+
Redistribution and use in source and binary forms of the software as well
5+
as documentation, with or without modification, are permitted provided
6+
that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above
12+
copyright notice, this list of conditions and the following
13+
disclaimer in the documentation and/or other materials provided
14+
with the distribution.
15+
16+
* The names of the contributors may not be used to endorse or
17+
promote products derived from this software without specific
18+
prior written permission.
19+
20+
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND
21+
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
22+
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
24+
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30+
SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
31+
DAMAGE.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# vdirsyncer devkit
2+
3+
This repository contains utilities used for develoment and testing of
4+
vdirsyncer.
5+
6+
Docker images are generated to quickly run CalDAV servers to run integration
7+
tests against them.
8+
9+
These are kept separately since they have a differenty lifecycle from
10+
`vdirsyncer` itself; we only ocasionally need to rebuild these images, and
11+
running in our main repo's pipeline would slow it down too much and waste a lot
12+
of processing power.

radicale/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM python:3.8
2+
3+
RUN pip install radicale
4+
5+
CMD radicale --storage-filesystem-folder /tmp/dav -H 0.0.0.0:8001 -D

xandikos/Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Original file copyright 2017 Jelmer Vernooij
2+
3+
FROM ubuntu:bionic
4+
RUN apt-get update && apt-get -y install xandikos locales
5+
EXPOSE 8000
6+
7+
RUN locale-gen en_US.UTF-8
8+
ENV PYTHONIOENCODING=utf-8
9+
ENV LANG en_US.UTF-8
10+
ENV LANGUAGE en_US:en
11+
ENV LC_ALL en_US.UTF-8
12+
13+
CMD xandikos -d /tmp/dav -l 0.0.0.0 -p 8000 --autocreate

0 commit comments

Comments
 (0)