1
Technical Support / Automated build and test server for graphene
« on: August 13, 2015, 01:23:58 am »
I started off by making this docker build box: https://hub.docker.com/r/sile16/graphene-build/
After that I thought, it can't be too hard to automate the build process so when a new commit hits github I'll run the build capture the output and print to html. Took about 10 times longer than it probably should but here it is:
https://www.everydaycrypto.com/?page_id=107
Every 5 minutes my server checks for a new commit, will download build and update the webpage with the results. It also builds docker images once a day for the witness node and cli, but those aren't quite ready for use as I still need to tweak the docker configs to allow the correct ports through etc. But theoretically i'll be able to deploy witness nodes from the auto generated docker images:
https://hub.docker.com/r/sile16/graphene-cli/
and
https://hub.docker.com/r/sile16/graphene-witness/
Once we actually have a taged release on github for graphene those tags should propagate into the docker image as tags. I'd like to do this for the testnet / devshares as well but not sure what github repo will be used for that whether bitshares/devshares will be used or cryptonomex/devshares ...
I'm new to all this docker stuff so if you have a good idea how to make it better let me know.
Oh,, and all the code i'm using the automate the build process is at: https://github.com/sile16/bts2
I'm sure someone is going to tell me you can do this with jenkins in like 2 lines of code or something..... hahaha
After that I thought, it can't be too hard to automate the build process so when a new commit hits github I'll run the build capture the output and print to html. Took about 10 times longer than it probably should but here it is:
https://www.everydaycrypto.com/?page_id=107
Every 5 minutes my server checks for a new commit, will download build and update the webpage with the results. It also builds docker images once a day for the witness node and cli, but those aren't quite ready for use as I still need to tweak the docker configs to allow the correct ports through etc. But theoretically i'll be able to deploy witness nodes from the auto generated docker images:
https://hub.docker.com/r/sile16/graphene-cli/
and
https://hub.docker.com/r/sile16/graphene-witness/
Once we actually have a taged release on github for graphene those tags should propagate into the docker image as tags. I'd like to do this for the testnet / devshares as well but not sure what github repo will be used for that whether bitshares/devshares will be used or cryptonomex/devshares ...
I'm new to all this docker stuff so if you have a good idea how to make it better let me know.
Oh,, and all the code i'm using the automate the build process is at: https://github.com/sile16/bts2
I'm sure someone is going to tell me you can do this with jenkins in like 2 lines of code or something..... hahaha