cachecashproject / go-cachecash

Apache License 2.0
6 stars 4 forks source link

CI Fix and different hash algorithms #9

Open KevinSirius opened 4 years ago

KevinSirius commented 4 years ago

This is a PR with a lot of stuff:

This PR is firstly about the fix on CI script to make travis.ci usable again. After Berat implemented the secrets for databases, those scripts need to be reedited for automation. I modified the templates of secrets and added those secrets in deploy/secrets so CI can correctly run with them. I also added some waiting time in the script to make sure all docker containers are up before executing the commands.

Thanks to Raghav, all test files are now saved in travis.ci cache, so travis would not pull from git lfs every time we have a commit or a PR.

This PR also contains the code I wrote during the summer to benchmark the colocation puzzle with different hashing algorithms. I updated the go test file to make sure the test would try to run and verify all algorithms with correct expected solution.

Last, I updated the README so it is much clearer for starters.