1
0
mirror of https://gitlab.com/openlp/runners.git synced 2024-12-22 11:22:48 +00:00

Merge branch 'arch-angular-runners' into 'master'

Add Docker runner images for Angular (web remote) and Arch

See merge request openlp/runners!5
This commit is contained in:
Raoul Snyman 2019-10-06 00:26:28 +00:00
commit eabcccff6e
3 changed files with 56 additions and 4 deletions

View File

@ -18,7 +18,11 @@ build-debian:
- docker push openlp/debian:$CI_COMMIT_SHA - docker push openlp/debian:$CI_COMMIT_SHA
- docker push openlp/debian:latest - docker push openlp/debian:latest
only: only:
- master@openlp/runners refs:
- master@openlp/runners
changes:
- Dockerfile.debian
build-ubuntu: build-ubuntu:
stage: build stage: build
@ -28,7 +32,10 @@ build-ubuntu:
- docker push openlp/ubuntu:$CI_COMMIT_SHA - docker push openlp/ubuntu:$CI_COMMIT_SHA
- docker push openlp/ubuntu:latest - docker push openlp/ubuntu:latest
only: only:
- master@openlp/runners refs:
- master@openlp/runners
changes:
- Dockerfile.ubuntu
build-fedora: build-fedora:
stage: build stage: build
@ -38,7 +45,36 @@ build-fedora:
- docker push openlp/fedora:$CI_COMMIT_SHA - docker push openlp/fedora:$CI_COMMIT_SHA
- docker push openlp/fedora:latest - docker push openlp/fedora:latest
only: only:
- master@openlp/runners refs:
- master@openlp/runners
changes:
- Dockerfile.fedora
build-arch:
stage: build
script:
- docker pull openlp/arch || true
- docker build --cache-from openlp/arch --tag openlp/arch:$CI_COMMIT_SHA --tag openlp/arch:latest -f Dockerfile.arch .
- docker push openlp/arch:$CI_COMMIT_SHA
- docker push openlp/arch:latest
only:
refs:
- master@openlp/runners
changes:
- Dockerfile.arch
build-angular:
stage: build
script:
- docker pull openlp/angular || true
- docker build --cache-from openlp/angular --tag openlp/angular:$CI_COMMIT_SHA --tag openlp/angular:latest -f Dockerfile.angular .
- docker push openlp/angular:$CI_COMMIT_SHA
- docker push openlp/angular:latest
only:
refs:
- master@openlp/runners
changes:
- Dockerfile.angular
build-documentation: build-documentation:
stage: build stage: build
@ -48,4 +84,7 @@ build-documentation:
- docker push openlp/documentation:$CI_COMMIT_SHA - docker push openlp/documentation:$CI_COMMIT_SHA
- docker push openlp/documentation:latest - docker push openlp/documentation:latest
only: only:
- master@openlp/runners refs:
- master@openlp/runners
changes:
- Dockerfile.documentation

3
Dockerfile.angular Normal file
View File

@ -0,0 +1,3 @@
FROM alpine:latest
RUN apk add yarn chromium xvfb-run

10
Dockerfile.arch Normal file
View File

@ -0,0 +1,10 @@
FROM archlinux/base
ENV LANG C.UTF-8
RUN pacman -Syyu --noconfirm git python qt5-multimedia qt5-svg qt5-webengine qt5-webchannel qt5-tools python-pyqt5 \
python-dbus python-sqlalchemy python-alembic python-chardet python-lxml python-pyenchant \
python-beautifulsoup4 python-mako python-pytest python-pytest-cov python-websockets \
python-webob python-waitress python-requests python-pymediainfo python-qtawesome \
python-opengl python-appdirs python-zeroconf python-pip flake8 mediainfo mupdf-tools \
xorg-server-xvfb pyalpm fakeroot patch awk
RUN pip install python-vlc pysword