config.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. #!/bin/bash
  2. set -e
  3. globalTests=(
  4. utc
  5. cve-2014--shellshock
  6. no-hard-coded-passwords
  7. )
  8. declare -A testAlias=(
  9. [iojs]='node'
  10. [jruby]='ruby'
  11. [pypy]='python'
  12. [ubuntu]='debian'
  13. [ubuntu-debootstrap]='debian'
  14. [mariadb]='mysql'
  15. [percona]='mysql'
  16. )
  17. declare -A imageTests=(
  18. [aerospike]='
  19. '
  20. [busybox]='
  21. '
  22. [celery]='
  23. '
  24. [clojure]='
  25. '
  26. [crate]='
  27. '
  28. [debian]='
  29. debian-apt-get
  30. '
  31. [django]='
  32. '
  33. [elasticsearch]='
  34. '
  35. [gcc]='
  36. '
  37. [golang]='
  38. '
  39. [haskell]='
  40. haskell-cabal
  41. haskell-ghci
  42. haskell-runhaskell
  43. '
  44. [hylang]='
  45. hylang-sh
  46. '
  47. [java]='
  48. '
  49. [julia]='
  50. '
  51. [memcached]='
  52. '
  53. [mongo]='
  54. mongo-basics
  55. '
  56. [mono]='
  57. '
  58. [mysql]='
  59. mysql-basics
  60. '
  61. [node]='
  62. '
  63. [percona]='
  64. '
  65. [perl]='
  66. '
  67. [php]='
  68. php-ext-install
  69. '
  70. [php:fpm]='
  71. php-fpm-hello-web
  72. '
  73. [postgres]='
  74. '
  75. [python]='
  76. python-hy
  77. python-imports
  78. python-pip-requests-ssl
  79. python-sqlite3
  80. '
  81. [rabbitmq]='
  82. '
  83. [r-base]='
  84. '
  85. [rails]='
  86. '
  87. [redis]='
  88. '
  89. [rethinkdb]='
  90. '
  91. [ruby]='
  92. ruby-standard-libs
  93. ruby-gems
  94. ruby-bundler
  95. '
  96. [tomcat]='
  97. '
  98. [wordpress]='
  99. '
  100. # example onbuild
  101. # [python:onbuild]='
  102. # py-onbuild
  103. # '
  104. )
  105. declare -A globalExcludeTests=(
  106. # single-binary images
  107. [hello-world_utc]=1
  108. [swarm_utc]=1
  109. [hello-world_no-hard-coded-passwords]=1
  110. [swarm_no-hard-coded-passwords]=1
  111. # no "native" dependencies
  112. [ruby:slim_ruby-bundler]=1
  113. [ruby:slim_ruby-gems]=1
  114. )