Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Grows Sporos
electrumfairchainsx
Commits
5a7d0d6a
Commit
5a7d0d6a
authored
Mar 27, 2021
by
TonyFord
Browse files
improvements
parent
bfa108b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5a7d0d6a
...
...
@@ -19,7 +19,7 @@ build-electrumfairchainsx:
before_script
:
-
chmod +x ./setenv && . setenv
script
:
-
chmod +x deploy/build &&
deploy/build
-
deploy/build
start-electrumfairchainsx
:
stage
:
start
...
...
@@ -33,7 +33,7 @@ start-electrumfairchainsx:
before_script
:
-
chmod +x ./setenv && . setenv
script
:
-
chmod +x deploy/start &&
deploy/start
-
deploy/start
new_ssl-electrumfairchainsx
:
stage
:
new_ssl
...
...
@@ -47,7 +47,7 @@ new_ssl-electrumfairchainsx:
before_script
:
-
chmod +x ./setenv && . setenv
script
:
-
chmod +x deploy/new_ssl &&
deploy/new_ssl
-
deploy/new_ssl
stop-electrumfairchainsx
:
stage
:
stop
...
...
@@ -61,7 +61,7 @@ stop-electrumfairchainsx:
before_script
:
-
chmod +x ./setenv && . setenv
script
:
-
chmod +x deploy/stop &&
deploy/stop
-
deploy/stop
uninstall-electrumfairchainsx
:
stage
:
uninstall
...
...
@@ -75,7 +75,7 @@ uninstall-electrumfairchainsx:
before_script
:
-
chmod +x ./setenv && . setenv
script
:
-
chmod +x deploy/uninstall &&
deploy/uninstall
-
deploy/uninstall
remove-electrumfairchainsx
:
stage
:
remove
...
...
@@ -89,7 +89,7 @@ remove-electrumfairchainsx:
before_script
:
-
chmod +x ./setenv && . setenv
script
:
-
chmod +x deploy/remove &&
deploy/remove
-
deploy/remove
status-electrumfairchainsx
:
stage
:
status
...
...
@@ -103,4 +103,4 @@ status-electrumfairchainsx:
before_script
:
-
chmod +x ./setenv && . setenv
script
:
-
chmod +x console/status &&
console/status
-
console/status
README.md
View file @
5a7d0d6a
...
...
@@ -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.
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 !) ######################
FAIRCHAINS_CONF # fairchains.conf / faircoin.conf
SSL_CONF # configuration to create ssl cert
FAIRCHAINS_ELECTRUMX_JSON # electrumx serve network configuration
FAIRCHAINS_JSON # blockchain parameters
FAIRCHAINS_CONF #
[optional]
fairchains.conf / faircoin.conf
SSL_CONF #
[mandatory]
configuration to create ssl cert
FAIRCHAINS_ELECTRUMX_JSON #
[optional]
electrumx serve network configuration
FAIRCHAINS_JSON #
[optional]
blockchain parameters
~~~
1.
run command, go to Gitlab
**CI/CD**
->
**Pipeline**
and
**Run Pipeline**
Enter variable name
**CMD**
...
...
@@ -38,7 +38,7 @@ remove # remove all data
1.
change configuration in ./env_file
1.
Initialize env vars
~~~
chmod +x ./setenv &&
. setenv
. setenv
~~~
1.
run command from project root folder
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment