Compare commits
40 Commits
bvander/fi
...
lash/impor
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6429e18952
|
||
|
|
36e7d53173
|
||
|
|
42c441c82d
|
||
|
|
1727f75be8
|
||
|
|
2b535e2f31
|
||
|
|
93ae16b578
|
||
|
|
5108d84635
|
||
|
|
fdb16130a2
|
||
|
|
d8adcd47e1
|
||
|
|
8dd8db497c
|
||
|
|
f2a0ef99ec
|
||
|
|
e7958aaf9e
|
||
|
|
7119d2e7ec
|
||
|
|
47b107c776
|
||
|
|
2a9c74080f
|
||
|
|
bac4fb78ce
|
||
|
|
2c7c5ac0c4
|
||
|
|
4cee277922
|
||
|
|
a92037e8f5
|
||
|
|
3ea3ae6f2a
|
||
|
|
8e65322462 | ||
|
|
4762856653
|
||
|
|
8a43d67c72
|
||
|
|
107ae0b88e
|
||
|
|
9c687db9c0
|
||
|
|
8449ff8b58
|
||
|
|
3431991565
|
||
|
|
c415a6b180
|
||
|
|
3725130f82
|
||
|
|
d3ace4cd65
|
||
|
|
00643f4cea
|
||
|
|
b19e8f2133
|
||
|
|
c99c26def4
|
||
|
|
9dea78571d | ||
|
|
8819a5d976
|
||
|
|
32e578e96f
|
||
|
|
08e8c58c30
|
||
|
|
a9880c05a0
|
||
|
|
6105703ca5
|
||
|
|
1e148d28c0
|
@@ -10,7 +10,7 @@ from cic_notify.error import PleaseCommitFirstError
|
||||
|
||||
logg = logging.getLogger()
|
||||
|
||||
version = (0, 4, 0, 'alpha.3')
|
||||
version = (0, 4, 0, 'alpha.2')
|
||||
|
||||
version_object = semver.VersionInfo(
|
||||
major=version[0],
|
||||
@@ -24,6 +24,9 @@ version_string = str(version_object)
|
||||
|
||||
def git_hash():
|
||||
import subprocess
|
||||
git_diff = subprocess.run(['git', 'diff'], capture_output=True)
|
||||
if len(git_diff.stdout) > 0:
|
||||
raise PleaseCommitFirstError()
|
||||
|
||||
git_hash = subprocess.run(['git', 'rev-parse', 'HEAD'], capture_output=True)
|
||||
git_hash_brief = git_hash.stdout.decode('utf-8')[:8]
|
||||
@@ -32,7 +35,7 @@ def git_hash():
|
||||
|
||||
try:
|
||||
version_git = git_hash()
|
||||
version_string += '+build.{}'.format(version_git)
|
||||
version_string += '.build.{}'.format(version_git)
|
||||
except FileNotFoundError:
|
||||
time_string_pair = str(time.time()).split('.')
|
||||
version_string += '+build.{}{:<09d}'.format(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
alembic~=1.4.2
|
||||
celery~=4.4.7
|
||||
confini~=0.3.6rc3
|
||||
confini~=0.3.6a1
|
||||
alembic~=1.4.2
|
||||
redis~=3.5.3
|
||||
semver==2.13.0
|
||||
@@ -46,5 +46,3 @@ RUN cd cic-ussd && \
|
||||
# copy config and migration files to definitive file so they can be referenced in path definitions for running scripts
|
||||
COPY cic-ussd/.config/ /usr/local/etc/cic-ussd/
|
||||
COPY cic-ussd/cic_ussd/db/migrations/ /usr/local/share/cic-ussd/alembic
|
||||
|
||||
WORKDIR /root
|
||||
@@ -6,10 +6,10 @@ betterpath==0.2.2
|
||||
billiard==3.6.3.0
|
||||
celery==4.4.7
|
||||
cffi==1.14.3
|
||||
cic-eth==0.10.0a41
|
||||
cic-notify==0.4.0a3
|
||||
cic-eth~=0.10.0a22
|
||||
cic-notify==0.3.1
|
||||
click==7.1.2
|
||||
confini==0.3.6rc3
|
||||
confini~=0.3.6a1
|
||||
cryptography==3.2.1
|
||||
faker==4.17.1
|
||||
iniconfig==1.1.1
|
||||
|
||||
0
apps/contract-migration/reset.sh
Executable file → Normal file
0
apps/contract-migration/reset.sh
Executable file → Normal file
0
apps/contract-migration/wait-for-it.sh
Executable file → Normal file
0
apps/contract-migration/wait-for-it.sh
Executable file → Normal file
@@ -2,18 +2,18 @@ africastalking==1.2.3
|
||||
alembic==1.4.2
|
||||
bcrypt==3.2.0
|
||||
celery==4.4.7
|
||||
confini==0.3.6rc3
|
||||
confini==0.3.6a1
|
||||
crypto-dev-signer==0.4.13rc2
|
||||
cryptography==3.2.1
|
||||
ecuth==0.4.5a1
|
||||
eth-accounts-index==0.0.10a10
|
||||
eth-address-index==0.1.0a10
|
||||
eth-accounts-index==0.0.10a7
|
||||
eth-address-index==0.1.0a7
|
||||
eth-tester==0.5.0b3
|
||||
erc20-transfer-authorization==0.3.0a9
|
||||
erc20-approval-escrow==0.3.0a5
|
||||
erc20-single-shot-faucet==0.2.0a6
|
||||
faker==4.17.1
|
||||
http-hoba-auth==0.2.0
|
||||
moolb==0.1.1.b2
|
||||
moolb==0.1.0
|
||||
phonenumbers==8.12.12
|
||||
psycopg2==2.8.6
|
||||
py-eth==0.1.1
|
||||
@@ -40,8 +40,6 @@ websockets==8.1
|
||||
yaml-acl==0.0.1
|
||||
rlp==2.0.1
|
||||
cryptocurrency-cli-tools==0.0.4
|
||||
giftable-erc20-token==0.0.7b12
|
||||
giftable-erc20-token==0.0.7b7
|
||||
hexathon==0.0.1a3
|
||||
chainlib==0.0.1a16
|
||||
chainsyncer==0.0.1a10
|
||||
cic-registry==0.5.3.a21
|
||||
chainlib==0.0.1a12
|
||||
|
||||
@@ -41,7 +41,7 @@ before_script:
|
||||
variables:
|
||||
CI_DEBUG_TRACE: "true"
|
||||
IMAGE_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA
|
||||
LATEST_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:latest
|
||||
LATEST_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-latest
|
||||
script:
|
||||
- docker build -t $IMAGE_TAG -f $DOCKERFILE_PATH .
|
||||
- docker push $IMAGE_TAG
|
||||
|
||||
Reference in New Issue
Block a user