diff options
author | Ruan HE <ruan.he@orange.com> | 2018-01-25 09:35:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-25 09:35:59 +0000 |
commit | df319d8d8adae4be4fcfecbbb1ea6bf2d7bcaa53 (patch) | |
tree | 3aa9c676c45d619591343d6230554bae14bcc230 /tools | |
parent | 89b62cd98e16fda8a949a17fb2e1bc3e33b3ac24 (diff) | |
parent | 72413a4640e458690cf65f445bc10f28886f4e8f (diff) |
Merge "Functional tests development"
Diffstat (limited to 'tools')
-rw-r--r-- | tools/moon_kubernetes/templates/moon_forming_functest.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/moon_kubernetes/templates/moon_forming_functest.yaml b/tools/moon_kubernetes/templates/moon_forming_functest.yaml new file mode 100644 index 00000000..4cb2c3a0 --- /dev/null +++ b/tools/moon_kubernetes/templates/moon_forming_functest.yaml @@ -0,0 +1,30 @@ +apiVersion: batch/v1 +kind: Job +metadata: + name: functest + namespace: moon +spec: + template: + metadata: + name: functest + spec: + containers: + - name: functest + image: wukongsun/moon_forming:dev + env: + - name: COMMAND + value: "functest" + volumeMounts: + - name: config-volume + mountPath: /etc/moon + - name: tests-volume + mountPath: /data + volumes: + - name: config-volume + configMap: + name: moon-config + - name: tests-volume + hostPath: + path: "{{PATH}}" + restartPolicy: Never + #backoffLimit: 4
\ No newline at end of file |