Commit 5a7d0d6a authored by TonyFord's avatar TonyFord
Browse files

improvements

parent bfa108b1
...@@ -19,7 +19,7 @@ build-electrumfairchainsx: ...@@ -19,7 +19,7 @@ build-electrumfairchainsx:
before_script: before_script:
- chmod +x ./setenv && . setenv - chmod +x ./setenv && . setenv
script: script:
- chmod +x deploy/build && deploy/build - deploy/build
start-electrumfairchainsx: start-electrumfairchainsx:
stage: start stage: start
...@@ -33,7 +33,7 @@ start-electrumfairchainsx: ...@@ -33,7 +33,7 @@ start-electrumfairchainsx:
before_script: before_script:
- chmod +x ./setenv && . setenv - chmod +x ./setenv && . setenv
script: script:
- chmod +x deploy/start && deploy/start - deploy/start
new_ssl-electrumfairchainsx: new_ssl-electrumfairchainsx:
stage: new_ssl stage: new_ssl
...@@ -47,7 +47,7 @@ new_ssl-electrumfairchainsx: ...@@ -47,7 +47,7 @@ new_ssl-electrumfairchainsx:
before_script: before_script:
- chmod +x ./setenv && . setenv - chmod +x ./setenv && . setenv
script: script:
- chmod +x deploy/new_ssl && deploy/new_ssl - deploy/new_ssl
stop-electrumfairchainsx: stop-electrumfairchainsx:
stage: stop stage: stop
...@@ -61,7 +61,7 @@ stop-electrumfairchainsx: ...@@ -61,7 +61,7 @@ stop-electrumfairchainsx:
before_script: before_script:
- chmod +x ./setenv && . setenv - chmod +x ./setenv && . setenv
script: script:
- chmod +x deploy/stop && deploy/stop - deploy/stop
uninstall-electrumfairchainsx: uninstall-electrumfairchainsx:
stage: uninstall stage: uninstall
...@@ -75,7 +75,7 @@ uninstall-electrumfairchainsx: ...@@ -75,7 +75,7 @@ uninstall-electrumfairchainsx:
before_script: before_script:
- chmod +x ./setenv && . setenv - chmod +x ./setenv && . setenv
script: script:
- chmod +x deploy/uninstall && deploy/uninstall - deploy/uninstall
remove-electrumfairchainsx: remove-electrumfairchainsx:
stage: remove stage: remove
...@@ -89,7 +89,7 @@ remove-electrumfairchainsx: ...@@ -89,7 +89,7 @@ remove-electrumfairchainsx:
before_script: before_script:
- chmod +x ./setenv && . setenv - chmod +x ./setenv && . setenv
script: script:
- chmod +x deploy/remove && deploy/remove - deploy/remove
status-electrumfairchainsx: status-electrumfairchainsx:
stage: status stage: status
...@@ -103,4 +103,4 @@ status-electrumfairchainsx: ...@@ -103,4 +103,4 @@ status-electrumfairchainsx:
before_script: before_script:
- chmod +x ./setenv && . setenv - chmod +x ./setenv && . setenv
script: script:
- chmod +x console/status && console/status - console/status
...@@ -10,13 +10,13 @@ The service is made for/controlled by gitlab runner. ...@@ -10,13 +10,13 @@ The service is made for/controlled by gitlab runner.
1. Fork this project to your group/repositories where you have set up a gitlab-runner 1. Fork this project to your group/repositories where you have set up a gitlab-runner
1. change the gitlab-runner tags in .gitlab-ci.yml 1. change the gitlab-runner tags in .gitlab-ci.yml
1. add env files ( select Type = file ! ), go to Gitlab **Settings** -> **CI/CD** -> **Variables** 1. add env files ( select Type = file ! ) to override defaults ./env_file , go to Gitlab **Settings** -> **CI/CD** -> **Variables**
~~~ ~~~
#### env files ( examples see env_file/... / select Type = file !) ###################### #### env files ( examples see env_file/... / select Type = file !) ######################
FAIRCHAINS_CONF # fairchains.conf / faircoin.conf FAIRCHAINS_CONF # [optional] fairchains.conf / faircoin.conf
SSL_CONF # configuration to create ssl cert SSL_CONF # [mandatory] configuration to create ssl cert
FAIRCHAINS_ELECTRUMX_JSON # electrumx serve network configuration FAIRCHAINS_ELECTRUMX_JSON # [optional] electrumx serve network configuration
FAIRCHAINS_JSON # blockchain parameters FAIRCHAINS_JSON # [optional] blockchain parameters
~~~ ~~~
1. run command, go to Gitlab **CI/CD** -> **Pipeline** and **Run Pipeline** 1. run command, go to Gitlab **CI/CD** -> **Pipeline** and **Run Pipeline**
Enter variable name **CMD** Enter variable name **CMD**
...@@ -38,7 +38,7 @@ remove # remove all data ...@@ -38,7 +38,7 @@ remove # remove all data
1. change configuration in ./env_file 1. change configuration in ./env_file
1. Initialize env vars 1. Initialize env vars
~~~ ~~~
chmod +x ./setenv && . setenv . setenv
~~~ ~~~
1. run command from project root folder 1. run command from project root folder
......
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