forked from CESNET/IndigoVR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
38 lines (32 loc) · 1.56 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
before_script:
- apt-get update -y
- apt-get install -y ansible ssl-cert
- mkdir -p /tmp/conf/certs
- echo "127.0.0.1" > /tmp/conf/centralpoint
- cp /etc/ssl/private/ssl-cert-snakeoil.key /tmp/conf/certs/cert.key
- cp /etc/ssl/certs/ssl-cert-snakeoil.pem /tmp/conf/certs/cert.crt
- cp /etc/ssl/certs/ssl-cert-snakeoil.pem /tmp/conf/certs/ca.crt
test:stretch-vrouter:
image: debian:stretch
script:
- ansible-playbook -i 'vrouters,' -l vrouters -e 'ansible_connection=local conf_dir=/tmp/conf/ cert_name=cert' ansible-scripts/install.yml
test:xenial-vrouter:
image: ubuntu:xenial
script:
- ansible-playbook -i 'vrouters,' -l vrouters -e 'ansible_connection=local conf_dir=/tmp/conf/ cert_name=cert' ansible-scripts/install.yml
test:bionic-vrouter:
image: ubuntu:bionic
script:
- ansible-playbook -i 'vrouters,' -l vrouters -e 'ansible_connection=local conf_dir=/tmp/conf/ cert_name=cert' ansible-scripts/install.yml
test:stretch-centralpoint:
image: debian:stretch
script:
- ansible-playbook -i 'centralpoint,' -l centralpoint -e 'ansible_connection=local conf_dir=/tmp/conf/ cert_name=cert' ansible-scripts/install.yml
test:xenial-centralpoint:
image: ubuntu:xenial
script:
- ansible-playbook -i 'centralpoint,' -l centralpoint -e 'ansible_connection=local conf_dir=/tmp/conf/ cert_name=cert' ansible-scripts/install.yml
test:bionic-centralpoint:
image: ubuntu:bionic
script:
- ansible-playbook -i 'centralpoint,' -l centralpoint -e 'ansible_connection=local conf_dir=/tmp/conf/ cert_name=cert' ansible-scripts/install.yml