Setup CI: Build, run e2e tests, and push images to docker hub

This commit is contained in:
Mehran Kholdi
2020-06-19 22:08:55 +04:30
parent 16f92da467
commit ab407f3349
11 changed files with 123 additions and 21 deletions

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: rawfile-csi
description: RawFile Driver Container Storage Interface
type: application
version: 0.1.4
version: 0.1.5
appVersion: 0.0.1

View File

@@ -46,6 +46,10 @@ spec:
value: unix:///csi/csi.sock
- name: IMAGE_REPOSITORY
value: "{{ .Values.controller.image.repository }}"
{{- if regexMatch "^.*-ci$" .Values.controller.image.tag }}
- name: IMAGE_TAG
value: "{{ .Values.controller.image.tag }}"
{{- end }}
volumeMounts:
- name: socket-dir
mountPath: /csi

View File

@@ -64,6 +64,10 @@ spec:
value: unix:///csi/csi.sock
- name: IMAGE_REPOSITORY
value: "{{ .Values.node.image.repository }}"
{{- if regexMatch "^.*-ci$" .Values.node.image.tag }}
- name: IMAGE_TAG
value: "{{ .Values.node.image.tag }}"
{{- end }}
- name: NODE_ID
valueFrom:
fieldRef: