Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Add dspot-pipeline dockerimage (#802) #840

Merged
merged 4 commits into from
Jul 22, 2019
Merged

FEAT: Add dspot-pipeline dockerimage (#802) #840

merged 4 commits into from
Jul 22, 2019

Conversation

henry-lp
Copy link
Contributor

@henry-lp henry-lp commented Jul 20, 2019

Hi :), this is a broken down PR for this original PR (#832).

How to use:

First pull and run the ActiveMQ server image

  docker pull webcenter/activemq:5.14.3
  docker run -d --net=host webcenter/activemq:5.14.3

Then go to the server page to make sure that it's up http://localhost:8161.
Go into kubernetes-support/Dpipeline-dockerimage and build the dspot-pipeline image and run it.

  cd kubernetes-support/Dpipeline-dockerimage
  docker build -t dspot-pipeline .
  docker run --net=host -e ACTIVEMQ_HOST=localhost dspot-pipeline

Now you can see in your server page that there is one consumer on your Dpipeline queue. Next is to use publisher.py to send build id for the pipeline to do some work.

  cd kubernetes-support/queue-for-buildids
  python publisher.py -d /queue/Dpipeline 560288647

This will send a travis build from this repo branch with_dspot to run . Now you should see some output.

@coveralls
Copy link

coveralls commented Jul 20, 2019

Pull Request Test Coverage Report for Build 2097

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.514%

Totals Coverage Status
Change from base Build 2092: 0.0%
Covered Lines: 4928
Relevant Lines: 5831

💛 - Coveralls

@henry-lp
Copy link
Contributor Author

henry-lp commented Jul 20, 2019

Appearantly we are failing due to unused imports according to java checkstyle :) .

/home/travis/build/STAMP-project/dspot/dspot/src/main/java/eu/stamp_project/utils/options/AmplifierEnum.java:4:8: error: Unused import - org.slf4j.Logger.
/home/travis/build/STAMP-project/dspot/dspot/src/main/java/eu/stamp_project/utils/options/AmplifierEnum.java:5:8: error: Unused import - org.slf4j.LoggerFactory.

@danglotb
Copy link
Member

danglotb commented Jul 20, 2019

Hi @tailp

I did introduce this style error (this is what happens when you push directly on the master branch)

Thank you for fixing it.

Thank for the docker image.

Ready to merge?

@henry-lp
Copy link
Contributor Author

henry-lp commented Jul 20, 2019

Hi , @danglotb .
No problem, I am glad to be of help and sure, this is ready to merge after you have reviewed anytime :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants