Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 1 | apiVersion: v1 |
2 | kind: Pod | ||||
3 | metadata: | ||||
Alanny Lopez | 1246b03 | 2018-02-24 23:34:55 -0600 | [diff] [blame] | 4 | name: ${pod_name} |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 5 | namespace: ${namespace} |
6 | spec: | ||||
7 | nodeSelector: | ||||
Alanny Lopez | eba5ad4 | 2017-08-18 14:48:37 -0500 | [diff] [blame] | 8 | beta.kubernetes.io/arch: ${ARCH} |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 9 | volumes: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame] | 10 | - name: workspace |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 11 | persistentVolumeClaim: |
Alanny Lopez | 1246b03 | 2018-02-24 23:34:55 -0600 | [diff] [blame] | 12 | claimName: ${w_claim} |
13 | - name: qemu-dir | ||||
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 14 | persistentVolumeClaim: |
Alanny Lopez | 1246b03 | 2018-02-24 23:34:55 -0600 | [diff] [blame] | 15 | claimName: ${q_claim} |
Alanny Lopez | eba5ad4 | 2017-08-18 14:48:37 -0500 | [diff] [blame] | 16 | restartPolicy: Never |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 17 | hostNetwork: True |
18 | containers: | ||||
Alanny Lopez | 1246b03 | 2018-02-24 23:34:55 -0600 | [diff] [blame] | 19 | - image: ${img_name} |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 20 | name: builder |
21 | command: [\"${WORKSPACE}/build.sh\"] | ||||
22 | workingDir: ${HOME} | ||||
23 | env: | ||||
24 | - name: WORKSPACE | ||||
25 | value: ${WORKSPACE} | ||||
Alanny Lopez | 1246b03 | 2018-02-24 23:34:55 -0600 | [diff] [blame] | 26 | - name: qemu-dir |
27 | value: ${qemu_dir} | ||||
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 28 | volumeMounts: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame] | 29 | - name: workspace |
30 | mountPath: ${HOME}/workspace | ||||
Alanny Lopez | 1246b03 | 2018-02-24 23:34:55 -0600 | [diff] [blame] | 31 | - name: qemu-dir |
32 | mountPath: ${qemu_dir} | ||||
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 33 | imagePullSecrets: |
Alanny Lopez | 1246b03 | 2018-02-24 23:34:55 -0600 | [diff] [blame] | 34 | - name: ${img_pl_sec} |