Add openvpn docker image and zuul job

Change-Id: I33c41ca6f582ac1c2208ef5cfa15cd852516a4f2
This commit is contained in:
okozachenko 2020-07-16 16:41:36 +03:00
parent 54861edec7
commit 46e918870d
2 changed files with 35 additions and 0 deletions

4
openvpn/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM debian:10-slim
RUN apt-get update && \
apt-get install --no-install-recommends -y openvpn && \
apt-get clean all

31
zuul.d/openvpn.yaml Normal file
View File

@ -0,0 +1,31 @@
- job:
name: docker-images:build:openvpn
parent: vexxhost-build-docker-image
provides: docker-images:image:openvpn
vars: &id001
docker_images:
- context: openvpn/
repository: vexxhost/openvpn
files: &id002
- ^openvpn/.*
- job:
name: docker-images:upload:openvpn
parent: vexxhost-upload-docker-image
provides: docker-images:image:openvpn
vars: *id001
files: *id002
- job:
name: docker-images:promote:openvpn
parent: vexxhost-promote-docker-image
vars: *id001
files: *id002
- project:
check:
jobs:
- docker-images:build:openvpn
gate:
jobs:
- docker-images:upload:openvpn
promote:
jobs:
- docker-images:promote:openvpn