Commit a70b7ac7 authored by TonyFord's avatar TonyFord
Browse files

add create wallet

parent 4f73b4d9
......@@ -43,6 +43,23 @@ start:
- docker-compose up -d --remove-orphans
- export LH_PORT=${LH_PORT_jsonrpc} && curl https://git.fairkom.net/faircoin.co/admin/-/raw/master/nginx_proxy | sed -e s/DOMAIN/${CI_PROJECT_NAME}/g -e s/LH_PORT/${LH_PORT}/g > ${CI_PROJECT_NAME}
create_wallet:
stage: create
tags:
- FairCoin.Co
only:
refs:
- master
variables:
- $CMD =~ /create wallet/
- $PASSPHRASE
- $PASSWORD
before_script:
- export RUNNER_UID=`id -u`
- export RUNNER_GID=`id -g`
script:
- docker-compose exec -T faircoin ./run_electrumfair create --passphrase ${PASSPHRASE} --password ${PASSWORD} --wallet /home/faircoin/.electrumfair/wallets/${WALLET:-default_wallet}
stop:
stage: stop
tags:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment