vib-verify.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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/seaweedfs"
  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/seaweedfs"
  33. },
  34. "target_platform": {
  35. "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
  36. "size": {
  37. "name": "M4"
  38. }
  39. }
  40. },
  41. "actions": [
  42. {
  43. "action_id": "cypress",
  44. "params": {
  45. "resources": {
  46. "path": "/.vib/seaweedfs/cypress"
  47. },
  48. "endpoint": "lb-seaweedfs-master-http",
  49. "app_protocol": "HTTP",
  50. "env": {
  51. "masterPortHttp": "9333",
  52. "masterPortGrpc": "19333",
  53. "volumePortHttp": "8080",
  54. "volumePortGrpc": "18080",
  55. "filerPortHttp": "8888",
  56. "filerPortGrpc": "18888",
  57. "s3PortHttp": "8333",
  58. "s3PortGrpc": "18333"
  59. }
  60. }
  61. },
  62. {
  63. "action_id": "ginkgo",
  64. "params": {
  65. "resources": {
  66. "path": "/.vib/seaweedfs/ginkgo"
  67. },
  68. "params": {
  69. "kubeconfig": "{{kubeconfig}}",
  70. "namespace": "{{namespace}}",
  71. "releaseName": "seaweedfs"
  72. }
  73. }
  74. },
  75. {
  76. "action_id": "kubescape",
  77. "params": {
  78. "threshold": {VIB_ENV_KUBESCAPE_SCORE_THRESHOLD}
  79. }
  80. }
  81. ]
  82. }
  83. }
  84. }