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
Run docker image on Travis and update it (F32, Flask, Ansible bootstrap) #805
Conversation
Codecov Report
@@ Coverage Diff @@
## master #805 +/- ##
=======================================
Coverage 97.11% 97.11%
=======================================
Files 65 65
Lines 4131 4131
Branches 561 561
=======================================
Hits 4012 4012
Misses 71 71
Partials 48 48 Continue to review full report at Codecov.
|
Is this now ready for merging? |
@Zlopez should be ready to be merged once tests pass. I still haven't figured out all the bits to run Anitya. After this PR is merged, only Ansible playbooks need to be tweaked for that to happen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and even the tests are going through. Could you just squash the commits?
* Update to F32 (on par with Vagrant) * Run docker image on Travis * Replace SECRET_KEY in Docker image on DB init Replace `secret_key` if the config already exists, and create config if there is no such file yet. * Anitya source is in /app https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ * Rip off Apache and use Flask * Reuse Ansible role for installing packages in Dockerfile * ansible: Make location of Anitya src configurable
Done squashing. Tests don't touch Ansible playbooks. Current playbooks can only be tested by remaking |
I'm using |
But I didn't tried your changes, let me check. |
I tried |
This adds a couple of fixes to containerized Anitya. In the final form, it should be possible to do this.
http://127.0.0.1:8080
This PR replaces Apache with Flask, removes the remains of Apache config, and reuses Ansible playbooks for Vagrant for setting up Docker image.