otrs.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .template_integration_otrs:
  2. extends:
  3. - .template_integration
  4. script:
  5. - !reference [.scripts, zammad_db_init]
  6. - bundle exec rspec spec/integration/otrs_spec.rb
  7. services:
  8. - !reference [.services, mysql]
  9. - !reference [.services, postgresql]
  10. - !reference [.services, redis]
  11. - !reference [.services, memcached]
  12. - name: $CI_REGISTRY/docker/zammad-ci-otrsimport-db:$OTRS_CONTAINER_TAG
  13. alias: zammad-ci-otrsimport-db
  14. - name: $CI_REGISTRY/docker/zammad-ci-otrsimport-app:$OTRS_CONTAINER_TAG
  15. alias: zammad-ci-otrsimport-app
  16. variables:
  17. IMPORT_OTRS_ENDPOINT: 'http://zammad-ci-otrsimport-app/otrs/public.pl?Action=ZammadMigrator'
  18. TZ: 'Europe/Berlin' # Required for the zammad-ci-otrsimport-app containers
  19. rspec:integration:otrs:6:
  20. extends:
  21. - .template_integration_otrs
  22. variables:
  23. OTRS_CONTAINER_TAG: 'otrs6'
  24. rspec:integration:otrs:5:
  25. extends:
  26. - .template_integration_otrs
  27. variables:
  28. OTRS_CONTAINER_TAG: 'otrs5'
  29. rspec:integration:otrs:4:
  30. extends:
  31. - .template_integration_otrs
  32. variables:
  33. OTRS_CONTAINER_TAG: 'otrs4'
  34. rspec:integration:otrs:33:
  35. extends:
  36. - .template_integration_otrs
  37. variables:
  38. OTRS_CONTAINER_TAG: 'otrs33'
  39. rspec:integration:otrs:32:
  40. extends:
  41. - .template_integration_otrs
  42. variables:
  43. OTRS_CONTAINER_TAG: 'otrs32'
  44. rspec:integration:otrs:31:
  45. extends:
  46. - .template_integration_otrs
  47. variables:
  48. OTRS_CONTAINER_TAG: 'otrs31'