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

[DO NOT MERGE] - CircleCi #28

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

maneta
Copy link
Collaborator

@maneta maneta commented Sep 9, 2017

TL;DR: TO MERGE THIS WE WILL NEED TO CONFIGURE CIRCLE CI FIRST

In this PR we introduce:

  • CI/CD Circle CI Configuration.
  • Correction to the Dockerfile.
  • Correction to the docker entrypoint script.
  • Remove a DB dummy test.

CircleCI JOB

This Job run the tests inside containers on Circle CI.
When the branch is master and the tests are passing, the job will build an image with the new code, tag it with the commit SHA1 and push it to Dockerhub.

The next step is to create a Openshift Deployment configured with Imagestreams, so every time we push to master it will deploy the code to Openshift.

I have the CircleCI integration working on my fork.

I Could do the integration configuration on the barcelonapm repo but I would need admin rights over the repo.

Salut!

docker `COPY` was introducing files using root user, so hypnotoad was
not able to create the PID files on `./script`
the base builddep stretch image comes with IPv6 disabled so morbo was
failing to bind. So just using IPv4.
@maneta
Copy link
Collaborator Author

maneta commented Sep 9, 2017

The generated image on Dockerhub: https://hub.docker.com/r/barcelonapm/project-x/tags/

@maneta maneta requested review from pplu, diegok and meis September 9, 2017 14:46
@maneta maneta changed the title [DO NOT MERGE] - Circle ci [DO NOT MERGE] - CircleCi Sep 9, 2017
@maneta maneta force-pushed the circle-ci branch 2 times, most recently from a031fcd to 4116c00 Compare September 9, 2017 23:33
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.

1 participant