vib-verify.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/oauth2-proxy"
  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/oauth2-proxy"
  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": "goss",
  44. "params": {
  45. "resources": {
  46. "path": "/.vib"
  47. },
  48. "tests_file": "oauth2-proxy/goss/goss.yaml",
  49. "vars_file": "oauth2-proxy/runtime-parameters.yaml",
  50. "remote": {
  51. "pod": {
  52. "workload": "deploy-oauth2-proxy"
  53. }
  54. }
  55. }
  56. },
  57. {
  58. "action_id": "cypress",
  59. "params": {
  60. "resources": {
  61. "path": "/.vib/oauth2-proxy/cypress"
  62. },
  63. "endpoint": "lb-oauth2-proxy-http",
  64. "app_protocol": "HTTP",
  65. "env": {
  66. "upstreamURL": "/bitnami/oauth2-proxy/conf/",
  67. "upstreamContent": "oauth2_proxy.cfg",
  68. "dexPort": "5556"
  69. }
  70. }
  71. },
  72. {
  73. "action_id": "kubescape",
  74. "params": {
  75. "threshold": {VIB_ENV_KUBESCAPE_SCORE_THRESHOLD}
  76. }
  77. }
  78. ]
  79. }
  80. }
  81. }