forked from SeldonIO/seldon-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins-x-notebooks.yml
52 lines (52 loc) · 1.58 KB
/
jenkins-x-notebooks.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
buildPack: none
pipelineConfig:
pipelines:
pullRequest:
pipeline:
agent:
image: seldonio/core-builder:0.15
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: end-to-end
steps:
- name: test-end-to-end
command: cd
args:
- testing/scripts &&
- SELDON_E2E_TESTS_TO_RUN="notebooks"
- 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: {}