This creates necessary files for making Docker image from
libtaskotron's git repo.
Details
- Reviewers
jskladan
run docker build -t fedoraqa/libtaskotron-git .
Diff Detail
- Repository
- rLTRN libtaskotron
- Branch
- feature/dockerize (branched from develop)
- Lint
No Linters Available - Unit
Unit Test Errors - Build Status
Buildable 1050 Build 1050: arc lint + arc unit
Time | Test | |
---|---|---|
0 ms | .testing.functest_koji_utils testing/functest_koji_utils.py:8: in <module>
from dingus import Dingus
E ImportError: No module named dingus
| |
0 ms | .testing.functest_resultsdb_directive testing/functest_resultsdb_directive.py:7: in <module>
from dingus import Dingus
E ImportError: No module named dingus
| |
0 ms | .testing.functest_yumrepoinfo_directive testing/functest_yumrepoinfo_directive.py:8: in <module>
from dingus import Dingus
E ImportError: No module named dingus
| |
0 ms | .testing.test_bodhi_directive testing/test_bodhi_directive.py:9: in <module>
from dingus import Dingus
E ImportError: No module named dingus
| |
0 ms | .testing.test_bodhi_utils testing/test_bodhi_utils.py:9: in <module>
from dingus import Dingus
E ImportError: No module named dingus
| |
View Full Test Results (16 Broken · 277 Passed) |
conf/namespaces.yaml.docker | ||
---|---|---|
9–11 | This is necessary because how our dockerized buildbot master works - it git clones from local filesystem, so these values are shown as origin url. We might consider changing buildbot master so that it copies instead of cloning (we could then just usenamespaces.yaml.example) or consider dropping this completely. |
Dockerfile | ||
---|---|---|
4 | Why gcc exactly? Most of the stuff that would need compiling (I guess it's here so you can pip install -r) will need header files anyway. I'd rather install the deps directly from the repos. | |
6–9 | maybe put these all in one RUN? | |
11–13 | Add can work with URL's maybe we could get around needing to duplicate the configs by using the config files from the taskotron-docker repo? This said, here is a crazy idea - how about we don't base the 'devel' images on Fedora, but on the respective fedoraqa/$projectname:latest image instead. Thoughts? | |
21 | I guess this is an equivalent of python setup.py install | |
conf/namespaces.yaml.docker | ||
9–11 | Honestly this will need to change quite a lot anyway in the future - this solution (I mean as a whole in libtaskotron) is sub-par. For the scope of the docker stuff, I'd just put all the relevant namespaces to the namespaces_safe list. | |
conf/taskotron.yaml.docker | ||
76 | Given the rest of the urls, you probably wanted localhost instead of resultsdb. |
Why gcc exactly? Most of the stuff that would need compiling (I guess it's here so you can pip install -r) will need header files anyway. I'd rather install the deps directly from the repos.