forked from zhuzhongkelk/docker-devuan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
44 lines (39 loc) · 948 Bytes
/
.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
---
# https://docs.gitlab.com/ee/ci/docker/using_docker_build.html
stages:
- commit
- syntax
- docker
# commit
git-history:
stage: commit
script:
- >
bash <(curl -s
https://gitlab.com/yue-script/checks/raw/master/check_git_history.sh)
# syntax
shellcheck:
stage: syntax
image: vpgrp/linter:shell
script:
- shellcheck build.sh
# build
# build-jessie:
# stage: docker
# image: vpgrp/debian:jessie
# before_script:
# - apt-get update -qq -y
# - apt-get install -qq -y debootstrap sudo
# - apt-get install -qq -y debian-keyring debian-archive-keyring
# script:
# - ./build.sh -d jessie -u vpgrp
# build-stretch:
# stage: docker
# image: vpgrp/debian:stretch
# before_script:
# - apt-get update -qq -y
# - apt-get install -qq -y debootstrap sudo
# - apt-get install -qq -y debian-keyring debian-archive-keyring
# script:
# - ./build.sh -d stretch -u vpgrp
# EOF