vib-verify.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "phases": {
  3. "package": {
  4. "context": {
  5. "resources": {
  6. "url": "{SHA_ARCHIVE}",
  7. "path": "/bitnami/rabbitmq"
  8. }
  9. },
  10. "actions": [
  11. {
  12. "action_id": "helm-package"
  13. },
  14. {
  15. "action_id": "helm-lint"
  16. }
  17. ]
  18. },
  19. "verify": {
  20. "context": {
  21. "resources": {
  22. "url": "{SHA_ARCHIVE}",
  23. "path": "/bitnami/rabbitmq"
  24. },
  25. "target_platform": {
  26. "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
  27. "size": {
  28. "name": "M4"
  29. }
  30. }
  31. },
  32. "actions": [
  33. {
  34. "action_id": "health-check",
  35. "params": {
  36. "endpoint": "lb-rabbitmq-http-stats",
  37. "app_protocol": "HTTP"
  38. }
  39. },
  40. {
  41. "action_id": "goss",
  42. "params": {
  43. "resources": {
  44. "path": "/.vib"
  45. },
  46. "tests_file": "rabbitmq/goss/goss.yaml",
  47. "vars_file": "rabbitmq/runtime-parameters.yaml",
  48. "remote": {
  49. "pod": {
  50. "workload": "sts-rabbitmq"
  51. }
  52. }
  53. }
  54. },
  55. {
  56. "action_id": "cypress",
  57. "params": {
  58. "resources": {
  59. "path": "/.vib/rabbitmq/cypress"
  60. },
  61. "endpoint": "lb-rabbitmq-http-stats",
  62. "app_protocol": "HTTP",
  63. "env": {
  64. "username": "test_user",
  65. "password": "ComplicatedPassword123!4"
  66. }
  67. }
  68. },
  69. {
  70. "action_id": "ginkgo",
  71. "params": {
  72. "resources": {
  73. "path": "/.vib/rabbitmq/ginkgo"
  74. },
  75. "params": {
  76. "kubeconfig": "{{kubeconfig}}",
  77. "namespace": "{{namespace}}",
  78. "name": "rabbitmq",
  79. "username": "test_user",
  80. "password": "ComplicatedPassword123!4"
  81. }
  82. }
  83. }
  84. ]
  85. }
  86. }
  87. }