Skip to content

Commit

Permalink
updating build proces, 0.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcrm committed Oct 5, 2017
1 parent 3dbffe1 commit 71c5309
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
18 changes: 4 additions & 14 deletions distelli-manifest.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
ipcrm/puppet_webapp:
PreBuild:
- wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 -O jq
- chmod +x jq
- git clone https://github.com/pyenv/pyenv.git ~/.pyenv
- export PYENV_ROOT="$HOME/.pyenv"
- export PATH="$PYENV_ROOT/bin:$PATH"
- eval "$(pyenv init -)"
- pyenv install 2.7.10
- pyenv local 2.7.10
- pip install -r requirements.txt
- pip install discover
- python ./test.py -v
- sh ./scripts/pre_build.sh
Build:
- python ./setup.py sdist
PkgInclude:
- 'dist/*.tar.gz'
- sh ./scripts/build.sh
AfterBuildSuccess:
- sh ./scripts/after_build.sh
PkgInclude:
- 'dist/*.tar.gz'
6 changes: 6 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv local 2.7.10
python ./test.py -v
python ./setup.py sdist
10 changes: 10 additions & 0 deletions scripts/pre_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
curl -s -o jq 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64'
chmod +x jq
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv install 2.7.10
pyenv local 2.7.10
pip install -r requirements.txt
pip install discover
2 changes: 1 addition & 1 deletion webui/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.12'
__version__ = '0.1.13'

0 comments on commit 71c5309

Please sign in to comment.