tests.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. kind: Job
  2. apiVersion: batch/v1
  3. metadata:
  4. name: sdk-ci-tests
  5. spec:
  6. backoffLimit: 0
  7. template:
  8. spec:
  9. restartPolicy: Never
  10. containers:
  11. - name: sdk-ci-tests
  12. image: sdk-test-image
  13. command:
  14. - /bin/sh
  15. - -c
  16. - "bash /app/testing/sdk.sh && touch /app/testing/success"
  17. readinessProbe:
  18. exec:
  19. command:
  20. - test
  21. - -e
  22. - "/app/testing/success"
  23. initialDelaySeconds: 5
  24. periodSeconds: 5
  25. ---
  26. kind: Job
  27. apiVersion: batch/v1
  28. metadata:
  29. name: spydk-ci-tests
  30. spec:
  31. backoffLimit: 0
  32. template:
  33. spec:
  34. restartPolicy: Never
  35. containers:
  36. - name: spydk-ci-tests
  37. image: spydk-test-image
  38. command:
  39. - /bin/sh
  40. - -c
  41. - "bash /app/testing/spydk.sh && touch /app/testing/success"
  42. readinessProbe:
  43. exec:
  44. command:
  45. - test
  46. - -e
  47. - "/app/testing/success"
  48. initialDelaySeconds: 5
  49. periodSeconds: 5
  50. ---
  51. kind: Job
  52. apiVersion: batch/v1
  53. metadata:
  54. name: accountant-ci-tests
  55. spec:
  56. backoffLimit: 0
  57. template:
  58. spec:
  59. restartPolicy: Never
  60. containers:
  61. - name: accountant-ci-tests
  62. image: wormchain-deploy
  63. command:
  64. - /bin/sh
  65. - -c
  66. - "bash /app/tools/test_accountant.sh && touch /app/tools/success"
  67. readinessProbe:
  68. exec:
  69. command:
  70. - test
  71. - -e
  72. - "/app/tools/success"
  73. initialDelaySeconds: 5
  74. periodSeconds: 5
  75. ---
  76. kind: Job
  77. apiVersion: batch/v1
  78. metadata:
  79. name: ntt-accountant-ci-tests
  80. spec:
  81. backoffLimit: 0
  82. template:
  83. spec:
  84. restartPolicy: Never
  85. containers:
  86. - name: ntt-accountant-ci-tests
  87. image: wormchain-deploy
  88. command:
  89. - /bin/sh
  90. - -c
  91. - "bash /app/tools/test_ntt_accountant.sh && touch /app/tools/success"
  92. readinessProbe:
  93. exec:
  94. command:
  95. - test
  96. - -e
  97. - "/app/tools/success"
  98. initialDelaySeconds: 5
  99. periodSeconds: 5
  100. ---
  101. kind: Job
  102. apiVersion: batch/v1
  103. metadata:
  104. name: query-sdk-ci-tests
  105. spec:
  106. backoffLimit: 0
  107. template:
  108. spec:
  109. restartPolicy: Never
  110. containers:
  111. - name: query-sdk-ci-tests
  112. image: query-sdk-test-image
  113. command:
  114. - /bin/sh
  115. - -c
  116. - "bash /app/testing/querysdk.sh && touch /app/testing/success"
  117. readinessProbe:
  118. exec:
  119. command:
  120. - test
  121. - -e
  122. - "/app/testing/success"
  123. initialDelaySeconds: 5
  124. periodSeconds: 5
  125. ---
  126. kind: Job
  127. apiVersion: batch/v1
  128. metadata:
  129. name: custom-consistency-level-ci-tests
  130. spec:
  131. backoffLimit: 0
  132. template:
  133. spec:
  134. restartPolicy: Never
  135. containers:
  136. - name: custom-consistency-level-ci-tests
  137. image: sdk-test-image
  138. command:
  139. - /bin/sh
  140. - -c
  141. - "bash /app/testing/contract-integrations/custom_consistency_level/test_custom_consistency_level.sh && touch /app/testing/success"
  142. readinessProbe:
  143. exec:
  144. command:
  145. - test
  146. - -e
  147. - "/app/testing/success"
  148. initialDelaySeconds: 5
  149. periodSeconds: 5
  150. ---