vib-publish.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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": "cypress",
  50. "params": {
  51. "resources": {
  52. "path": "/.vib/rabbitmq/cypress"
  53. },
  54. "endpoint": "lb-rabbitmq-http-stats",
  55. "app_protocol": "HTTP",
  56. "env": {
  57. "username": "user",
  58. "password": "ComplicatedPassword123!4"
  59. }
  60. }
  61. },
  62. {
  63. "action_id": "goss",
  64. "params": {
  65. "resources": {
  66. "path": "/.vib/rabbitmq/goss"
  67. },
  68. "remote": {
  69. "workload": "sts-rabbitmq"
  70. }
  71. }
  72. }
  73. ]
  74. },
  75. "publish": {
  76. "actions": [
  77. {
  78. "action_id": "helm-publish",
  79. "params": {
  80. "repository": {
  81. "kind": "S3",
  82. "url": "{VIB_ENV_S3_URL}",
  83. "username": "{VIB_ENV_S3_USERNAME}",
  84. "password": "{VIB_ENV_S3_PASSWORD}"
  85. }
  86. }
  87. }
  88. ]
  89. }
  90. }
  91. }