Druid 0.7.x integration tests

Integration-tests for Druid
I think it's better to not include any extensions into the selfcontained
jar so we properly test the dependency management.

On Tue, Nov 25, 2014 at 3:44 AM, Nishant <notifications@github.com> wrote:

> In integration-tests/docker/Dockerfile:
>
> > +# git
> > +RUN apt-get install -y git
> > +
> > +# Druid system user
> > +RUN adduser --system --group --no-create-home druid
> > +RUN mkdir -p /var/lib/druid
> > +RUN chown druid:druid /var/lib/druid
> > +
> > +ADD druid-*.jar /usr/local/druid/lib/
> > +WORKDIR /
> > +
> > +# Setup metadata store
> > +RUN /etc/init.d/mysql start && echo "GRANT ALL ON druid.* TO 'druid'@'%' IDENTIFIED BY 'diurd'; CREATE database druid;" | mysql -u root && /etc/init.d/mysql stop
> > +
> > +# Add sample data
> > +RUN /etc/init.d/mysql start && java -Ddruid.metadata.storage.type=mysql -cp "/usr/local/druid/lib/*" io.druid.cli.Main tools metadata-init --connectURI="jdbc:mysql://localhost:3306/druid" --user=druid --password=diurd && /etc/init.d/mysql stop
>
> integration tests build a druid-integration-tests-self-contained jar which
> already has mysql extension along with it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/metamx/druid/pull/875/files#r20857450>.
>