Sign inSign up

productize/docker-test-redmine

By productize

Updated over 9 years ago

Redmine test environment docker image

Image
0

324

productize/docker-test-redmine repository overview

A docker image designed to test stuff on Redmine instances of various versions. Mostly useful for testing Redmine plugins.

Dockerfile can be found in the productize/docker-test-redmine Github repo.

Based on the official Docker Redmine image (meaning it builds on ruby:2.2-slim), but designed to improve the easy - and speed - of running test.

DO NOT USE THIS IMAGE FOR PRODUCTION REDMINE INSTANCES

If you want to run Redmine in a Docker container look to the official Redmine docker image instead.

Features

This Docker image comes preloaded with 3 supported versions of Redmine:

  • 3.1.7 in the redmine-3.1 directory
  • 3.2.4 in the redmine-3.2 directory
  • 3.3.1 in the redmine-3.3 directory

Upon launch an in-memory SQLite test database is set up for each version.

Usage

An example that runs the tests of all your plugins for all 3 versions:

for version in 3.1, 3.2, 3.3; do
	cp $YOUR_PLUGIN $version/plugins/$YOUR_PLUGIN;
	cd redmine-$version;
	bundle install;
	bundle exec rake db:migrate;
	bundle exec rake redmine:plugins:migrate;
	bundle exec rake redmine:plugins:test;
done

Tag summary

Content type

Image

Digest

Size

189.4 MB

Last updated

over 9 years ago

docker pull productize/docker-test-redmine