Skip to content

Commit

Permalink
var fix to repair pool (#139)
Browse files Browse the repository at this point in the history
* fixed var name in prep script

* docker r file removed

Signed-off-by: Cam Parra <[email protected]>

* prep now using regex as it should have since the start

Signed-off-by: Cam Parra <[email protected]>

* removing docker r

Signed-off-by: Cam Parra <[email protected]>

* comment deleted since it no longer needed
  • Loading branch information
mac-arrap authored and brentzundel committed Aug 31, 2018
1 parent b3f82a1 commit f851ab4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions devops/build-scripts/xenial/Pool_Party/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ ARG python3_indy_crypto_ver=0.4.1
ARG indy_crypto_ver=0.4.0
ARG indy_plenum_ver=1.6.50

# this should be left blank because the prep will supply the correct version number
ARG sovtoken_pkg_name=
ARG sovtokenfees_pkg_name=

ARG sovtoken_pkg_name=sovtoken_0.9.1_amd64.deb
ARG sovtokenfees_pkg_name=sovtokenfees_0.9.1_amd64.deb

COPY ${sovtoken_pkg_name} /root
COPY ${sovtokenfees_pkg_name} /root
Expand Down
4 changes: 2 additions & 2 deletions devops/build-scripts/xenial/Pool_Party/prep
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ echo "Your current sovtoken debian package: $fpn \n"


echo "summoning warlocks to correct debian package names in the pool dockerfile\n"
sed -i -r "s/sovtoken_pkg_name=/sovtoken_pkg_name=$tpn/" "devops/build-scripts/xenial/Pool_Party/Dockerfile"
sed -i -r "s/sovtokenfees_pkg_name=/sovtokenfees_pkg_name=$tpn/" "devops/build-scripts/xenial/Pool_Party/Dockerfile"
sed -i -r "s/sovtoken_pkg_name=sovtoken_[0-9]\.[0-9]\.[0-9]_amd64.deb/sovtoken_pkg_name=$tpn/" "devops/build-scripts/xenial/Pool_Party/Dockerfile"
sed -i -r "s/sovtokenfees_pkg_name=sovtokenfees_[0-9]\.[0-9]\.[0-9]_amd64.deb/sovtokenfees_pkg_name=$fpn/" "devops/build-scripts/xenial/Pool_Party/Dockerfile"

0 comments on commit f851ab4

Please sign in to comment.