-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
98 lines (91 loc) · 3.19 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
alpine_test_module:
image: alpine:latest
script:
- apk add --update bash curl git
- git clone https://gitlab.com/space-sh/space.git
- cd space && ./space /install/ && cd ..
- mkdir ~/.ssh
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- which bash
- which busybox
- which space
- bash --version
- space -V
- space -f ./test/test.yaml /_tests/ -a -a -v4
arch_test_module:
image: archlinux:20191205
script:
- pacman -Sy --noconfirm curl git which
- pacman-key --refresh-keys
- git clone https://gitlab.com/space-sh/space.git
- cd space && ./space /install/ && cd ..
- mkdir ~/.ssh
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- which bash
- which space
- bash --version
- space -V
- space -f ./test/test.yaml /_tests/ -a -a -v4
centos_test_module:
image: centos:latest
script:
- yum -y update && yum -y install curl git which
- git clone https://gitlab.com/space-sh/space.git
- cd space && ./space /install/ && cd ..
- mkdir ~/.ssh
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- which bash
- which space
- bash --version
- space -V
- space -f ./test/test.yaml /_tests/ -a -a -v4
debianjessie_test_module:
image: debian:jessie
script:
- apt-get update -qq && apt-get install -y -qq curl git
- git clone https://gitlab.com/space-sh/space.git
- cd space && ./space /install/ && cd ..
- mkdir ~/.ssh
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- which bash
- which space
- bash --version
- space -V
- space -f ./test/test.yaml /_tests/ -a -a -v4
debianjessie_curl_test_module:
image: debian:jessie
script:
- apt-get update -qq && apt-get install -y -qq curl
- curl -O https://gitlab.com/space-sh/space/repository/archive.tar.gz?ref=master && mkdir -p ./space_install && tar xzvf "archive.tar.gz?ref=master" -C ./space_install --strip-components=1 && cd ./space_install && ./space /install/ && cd ..
- mkdir ~/.ssh
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- which bash
- which space
- bash --version
- space -V
- space -S -f ./test/test.yaml /_tests/ -a -a -v4
debianjessie_wget_test_module:
image: debian:jessie
script:
- apt-get update -qq && apt-get install -y -qq wget
- wget https://gitlab.com/space-sh/space/repository/archive.tar.gz?ref=master && mkdir -p ./space_install && tar xzvf "archive.tar.gz?ref=master" -C ./space_install --strip-components=1 && cd ./space_install && ./space /install/ && cd ..
- mkdir ~/.ssh
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- which bash
- which space
- bash --version
- space -V
- space -S -f ./test/test.yaml /_tests/ -a -a -v4
debianlatest_test_module:
image: debian:latest
script:
- apt-get update -qq && apt-get install -y -qq curl git
- git clone https://gitlab.com/space-sh/space.git
- cd space && ./space /install/ && cd ..
- mkdir ~/.ssh
- printf "Host *\n StrictHostKeyChecking no" > ~/.ssh/config
- which bash
- which space
- bash --version
- space -V
- space -f ./test/test.yaml /_tests/ -a -a -v4