Skip to content
Snippets Groups Projects
Commit 2d61c36aae0d authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

repository can be changed in setup.cfg

parent da8156dad0e2
No related branches found
No related tags found
No related merge requests found
#!/bin/zsh
# template version 2.7
# TODO add a way to bypass the value, maybe with a key in the setup.cfg file
repository=dockerhub.xcg.io
repository=$(python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/setup.cfg') ; print c.get('odoo_scripts', 'repository', 'dockerhub.xcg.io')")
# TODO add a way to bypass the value, maybe with a key in the setup.cfg file
project_home=$(dirname $0)/..
image=$(basename $(readlink -f $project_home))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment