...
 
Commits (2)
......@@ -6,6 +6,7 @@ variables:
DOCKER_COMPOSE_PROJECT: ${CI_COMMIT_REF_SLUG}-${CI_JOB_ID}
before_script:
- rm /home/gitlab-runner/.docker/config.json
- docker-compose -p ${CI_COMMIT_REF_SLUG}-${CI_JOB_ID} down -v
Start K3S:
......@@ -20,7 +21,7 @@ Start K3S:
- ${DR} kubectl apply -f overlays/k3s/volumes
- ${DR} kubectl apply -f tiller.yaml
- ${DR} helm init --service-account tiller --history-max 1 --upgrade --wait
- ${DR} helm upgrade --wait --timeout 900 --install --atomic noc noc/
- ${DR} helm upgrade --wait --timeout 900 --install --atomic noc noc/ --values noc/.slow_ci.yaml
tags:
- shell
artifacts:
......
# Mitigate https://github.com/kubernetes/kubernetes/issues/3312
nocInitContainer:
initContainers:
- name: sleeper
image: alpine:3.10
command:
- '/bin/sh'
- '-c'
- sleep $(($RANDOM % 60))
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command: null
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -27,6 +27,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -34,6 +34,9 @@ spec:
{{- with $root.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $root.Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -34,6 +34,9 @@ spec:
{{- with $root.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $root.Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -34,6 +34,9 @@ spec:
{{- with $root.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $root.Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -30,6 +30,9 @@ spec:
{{- with $root.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $root.Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -30,6 +30,9 @@ spec:
{{- with $root.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $root.Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -34,6 +34,9 @@ spec:
{{- with $root.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $root.Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -34,6 +34,9 @@ spec:
{{- with $root.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $root.Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command: null
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......
......@@ -28,6 +28,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nocInitContainer }}
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- command:
......