-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.gitlab-ci.yml
77 lines (64 loc) · 1.96 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
stages:
- tests
- image
.run_tests_template: &run_tests
stage: tests
tags:
- docker
script:
- npm ci
- npm run build
- cd packages/runtime/ && npm ci && npm run build && cd -
- npm link packages/runtime --unsafe-perm
- npm run test
node-10-llvm-6:
image: registry.gitlab.com/ovr/staticscript:node-10-llvm-6
<<: *run_tests
node-10-llvm-7:
image: registry.gitlab.com/ovr/staticscript:node-10-llvm-7
<<: *run_tests
node-10-llvm-8:
image: registry.gitlab.com/ovr/staticscript:node-10-llvm-8
<<: *run_tests
node-11-llvm-6:
image: registry.gitlab.com/ovr/staticscript:node-11-llvm-6
<<: *run_tests
node-11-llvm-7:
image: registry.gitlab.com/ovr/staticscript:node-11-llvm-7
<<: *run_tests
node-11-llvm-8:
image: registry.gitlab.com/ovr/staticscript:node-11-llvm-8
<<: *run_tests
node-12-llvm-6:
image: registry.gitlab.com/ovr/staticscript:node-12-llvm-6
<<: *run_tests
node-12-llvm-7:
image: registry.gitlab.com/ovr/staticscript:node-12-llvm-7
<<: *run_tests
node-12-llvm-8:
image: registry.gitlab.com/ovr/staticscript:node-12-llvm-8
<<: *run_tests
next:
stage: image
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/docker/next/Dockerfile --destination $CI_REGISTRY_IMAGE:next
only:
- master
tags:
- docker
latest:
stage: image
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/docker/latest/Dockerfile --destination $CI_REGISTRY_IMAGE:latest
only:
- master
tags:
- docker