vib-verify.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "phases": {
  3. "package": {
  4. "context": {
  5. "credentials": [
  6. {
  7. "url": "{VIB_ENV_CHARTS_REGISTRY}",
  8. "authn": {
  9. "username": "{VIB_ENV_CHARTS_REGISTRY_USERNAME}",
  10. "password": "{VIB_ENV_CHARTS_REGISTRY_PASSWORD}"
  11. }
  12. }
  13. ],
  14. "resources": {
  15. "url": "{SHA_ARCHIVE}",
  16. "path": "/bitnami/nats"
  17. }
  18. },
  19. "actions": [
  20. {
  21. "action_id": "helm-package"
  22. },
  23. {
  24. "action_id": "helm-lint"
  25. }
  26. ]
  27. },
  28. "verify": {
  29. "context": {
  30. "resources": {
  31. "url": "{SHA_ARCHIVE}",
  32. "path": "/bitnami/nats"
  33. },
  34. "target_platform": {
  35. "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
  36. "size": {
  37. "name": "S4"
  38. }
  39. }
  40. },
  41. "actions": [
  42. {
  43. "action_id": "cypress",
  44. "params": {
  45. "resources": {
  46. "path": "/.vib/nats/cypress"
  47. },
  48. "endpoint": "lb-nats-tcp-monitoring",
  49. "app_protocol": "HTTP"
  50. }
  51. },
  52. {
  53. "action_id": "ginkgo",
  54. "params": {
  55. "resources": {
  56. "path": "/.vib/nats/ginkgo"
  57. },
  58. "params": {
  59. "kubeconfig": "{{kubeconfig}}",
  60. "namespace": "{{namespace}}",
  61. "name": "nats",
  62. "username": "test_nats_client",
  63. "password": "ComplicatedPassword123!4"
  64. }
  65. }
  66. },
  67. {
  68. "action_id": "kubescape",
  69. "params": {
  70. "threshold": {VIB_ENV_KUBESCAPE_SCORE_THRESHOLD}
  71. }
  72. }
  73. ]
  74. }
  75. }
  76. }