Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
98
Issues
98
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
06094245
Commit
06094245
authored
Apr 20, 2017
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a e2e test on alpine
parent
69fd6cc4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
1 deletion
+80
-1
.gitlab-ci.yml
.gitlab-ci.yml
+19
-1
docker/biboumi-test/alpine/Dockerfile
docker/biboumi-test/alpine/Dockerfile
+10
-0
docker/biboumi-test/alpine/Dockerfile.base
docker/biboumi-test/alpine/Dockerfile.base
+51
-0
No files found.
.gitlab-ci.yml
View file @
06094245
...
...
@@ -6,7 +6,6 @@ stages:
before_script
:
-
uname -a
-
locale
-
whoami
-
mkdir -p build/
-
cd build/
...
...
@@ -51,12 +50,21 @@ variables:
<<
:
*basic_build
image
:
docker.louiz.org/biboumi-test-debian:latest
.template:alpine_build: &alpine_build
variables
:
SYSTEMD
:
"
-DWITHOUT_SYSTEMD=1"
<<
:
*basic_build
image
:
docker.louiz.org/biboumi-test-alpine:latest
build:fedora:
<<
:
*fedora_build
build:debian:
<<
:
*debian_build
build:alpine:
<<
:
*alpine_build
build:1:
variables
:
BOTAN
:
"
-DWITHOUT_BOTAN=1"
...
...
@@ -135,6 +143,16 @@ test:without_udns:
dependencies
:
-
build:7
test:alpine:
image
:
docker.louiz.org/biboumi-test-alpine:latest
stage
:
test
tags
:
-
docker
script
:
-
make e2e
dependencies
:
-
build:alpine
test:freebsd:
only
:
-
master@louiz/biboumi
...
...
docker/biboumi-test/alpine/Dockerfile
0 → 100644
View file @
06094245
# This Dockerfile creates a docker image suitable to run biboumi’s build and
# tests. For example, it can be used on with gitlab-ci.
FROM
docker.louiz.org/biboumi-test-alpine-base
# Install litesql
RUN
git clone git://git.louiz.org/litesql
&&
mkdir
/litesql/build
&&
cd
/litesql/build
&&
cmake ..
-DCMAKE_INSTALL_PREFIX
=
/usr
&&
make
-j8
&&
cd
/litesql/build
&&
make
install
&&
rm
-rf
/litesql
&&
ldconfig
||
true
WORKDIR
/home/tester
USER
tester
docker/biboumi-test/alpine/Dockerfile.base
0 → 100644
View file @
06094245
# This Dockerfile creates a docker image suitable to run biboumi’s build and
# tests. For example, it can be used on with gitlab-ci.
FROM docker.io/alpine:latest
ENV LC_ALL C.UTF-8
# Needed to build biboumi
RUN apk add --no-cache g++\
clang\
valgrind\
udns-dev\
c-ares-dev\
sqlite-dev\
libuuid\
util-linux-dev\
libgcrypt-dev\
cmake\
make\
expat-dev\
libidn-dev\
git\
py3-lxml\
libtool\
py3-pip\
python2\
python3-dev\
automake\
autoconf\
flex\
bison\
libltdl\
openssl\
libressl-dev\
zlib-dev\
curl
# Install botan
RUN git clone https://github.com/randombit/botan.git && cd botan && ./configure.py --prefix=/usr && make -j8 && make install && rm -rf /botan
# Install slixmpp, for e2e tests
RUN git clone https://github.com/saghul/aiodns.git && cd aiodns && git checkout 7ee13f9bea25784322~ && python3 setup.py build && python3 setup.py install && git clone git://git.louiz.org/slixmpp && pip3 install pyasn1 && cd slixmpp && python3 setup.py build && python3 setup.py install
RUN adduser tester -D -h /home/tester
# Install charybdis, for e2e tests
RUN git clone https://github.com/charybdis-ircd/charybdis.git && cd charybdis && cd /charybdis && git checkout 4f2b9a4 && sed s/113/1113/ -i /charybdis/authd/providers/ident.c && ./autogen.sh && ./configure --prefix=/home/tester/ircd --bindir=/usr/bin && make -j8 && make install && rm -rf /charybdis
RUN chown -R tester:tester /home/tester/ircd
RUN yes "" | openssl req -nodes -x509 -newkey rsa:4096 -keyout /home/tester/ircd/etc/ssl.key -out /home/tester/ircd/etc/ssl.pem
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