vib-verify.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. "runtime_parameters": "YXV0aDoKICBlcmxhbmdDb29raWU6IFJqc3BDQzNubTRrTHY0TGpXRk5mRkhXM3hMeGI3elRDCiAgcGFzc3dvcmQ6IENvbXBsaWNhdGVkUGFzc3dvcmQxMjMhNAogIHVzZXJuYW1lOiB1c2VyCnNlcnZpY2U6CiAgcG9ydHM6CiAgICBtYW5hZ2VyOiA4MAogIHR5cGU6IExvYWRCYWxhbmNlcg==",
  26. "target_platform": {
  27. "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
  28. "size": {
  29. "name": "M8"
  30. }
  31. }
  32. },
  33. "actions": [
  34. {
  35. "action_id": "trivy",
  36. "params": {
  37. "threshold": "CRITICAL",
  38. "vuln_type": ["OS"]
  39. }
  40. },
  41. {
  42. "action_id": "health-check",
  43. "params": {
  44. "endpoint": "lb-rabbitmq-http-stats",
  45. "app_protocol": "HTTP"
  46. }
  47. },
  48. {
  49. "action_id": "goss",
  50. "params": {
  51. "resources": {
  52. "path": "/.vib/rabbitmq/goss"
  53. },
  54. "remote": {
  55. "workload": "sts-rabbitmq"
  56. }
  57. }
  58. },
  59. {
  60. "action_id": "cypress",
  61. "params": {
  62. "resources": {
  63. "path": "/.vib/rabbitmq/cypress"
  64. },
  65. "endpoint": "lb-rabbitmq-http-stats",
  66. "app_protocol": "HTTP",
  67. "env": {
  68. "username": "user",
  69. "password": "ComplicatedPassword123!4"
  70. }
  71. }
  72. }
  73. ]
  74. }
  75. }
  76. }