forked from SeldonIO/seldon-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins-x-engine.yml
66 lines (66 loc) · 2.03 KB
/
jenkins-x-engine.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
buildPack: none
pipelineConfig:
pipelines:
pullRequest:
pipeline:
agent:
image: seldonio/core-builder:0.19
stages:
- name: pr-build-comment
steps:
- agent:
image: gcr.io/jenkinsxio/builder-go:2.0.916-264
dir: ci
sh: "./add-pr-build-comment"
- name: pr-build
steps:
- name: test-engine
command: make
args:
- -C engine
- -f Makefile
- build_jar
- name: end-to-end
env:
- name: SELDON_E2E_TESTS_TO_RUN
value: parallel
- name: SELDON_E2E_TESTS_POD_INFORMATION
value: "true"
- name: SELDON_E2E_TESTS_USE_EXECUTOR
value: "false"
steps:
- name: test-end-to-end
command: cd
args:
- testing/scripts &&
- bash
- kind_test_all.sh
options:
containerOptions:
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
- name: dind-storage
mountPath: /var/lib/docker
resources:
requests:
cpu: 4
memory: 8000Mi
ephemeral-storage: "6Gi"
securityContext:
privileged: true
imagePullPolicy: Always
volumes:
- name: modules
hostPath:
path: /lib/modules
type: Directory
- name: cgroup
hostPath:
path: /sys/fs/cgroup
type: Directory
- name: dind-storage
emptyDir: {}