diff --git a/test/machinaris/1.0.11/charts/common-2105.0.0.tgz b/test/machinaris/1.0.11/charts/common-2105.0.0.tgz deleted file mode 100644 index ef6f820efb..0000000000 Binary files a/test/machinaris/1.0.11/charts/common-2105.0.0.tgz and /dev/null differ diff --git a/test/machinaris/1.1.0/templates/tests/cactus-check.yaml b/test/machinaris/1.1.0/templates/tests/cactus-check.yaml new file mode 100644 index 0000000000..e667c27963 --- /dev/null +++ b/test/machinaris/1.1.0/templates/tests/cactus-check.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ .Release.Name }}-cactus-deployment-test" + annotations: + "helm.sh/hook": test +spec: + hostNetwork: true + restartPolicy: Never + containers: + - name: {{ .Release.Name }}-cactus-deployment-test + image: busybox + # Note: Adding sleep 15, as even when cactus pod status is ready, I've seen API + # taking a few seconds to be live and running. + command: ['sh', '-c', 'sleep 15 && nc -vz {{ .Values.nodeIP }} {{ .Values.cactus.apiPort }}'] diff --git a/test/machinaris/1.1.0/templates/tests/machinaris-check.yaml b/test/machinaris/1.1.0/templates/tests/machinaris-check.yaml new file mode 100644 index 0000000000..29b612245e --- /dev/null +++ b/test/machinaris/1.1.0/templates/tests/machinaris-check.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ .Release.Name }}-machinaris-deployment-test" + annotations: + "helm.sh/hook": test +spec: + hostNetwork: true + restartPolicy: Never + containers: + - name: {{ .Release.Name }}-machinaris-deployment-test + image: busybox + command: ['sh', '-c', 'nc -vz {{ .Values.nodeIP }} {{ .Values.machinarisApiPort }}'] diff --git a/test/machinaris/1.1.0/test_values.yaml b/test/machinaris/1.1.0/test_values.yaml index 08fcb0636e..efd86a0ff3 100644 --- a/test/machinaris/1.1.0/test_values.yaml +++ b/test/machinaris/1.1.0/test_values.yaml @@ -39,7 +39,7 @@ appVolumeMounts: environmentVariables: - name: mode - value: farming + value: fullnode coins: - cactus @@ -71,7 +71,7 @@ cactus: subPath: mnemonic.txt environmentVariables: - name: mode - value: farming + value: plotter enableResourceLimits: true cpuLimit: 0.5