Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Merge requests
!38
Something went wrong on our end
Hivemind ci separate sync
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hivemind ci separate sync
hivemind_ci_separate_sync
into
develop
Overview
0
Commits
8
Pipelines
0
Changes
1
Merged
Bartek Wrona
requested to merge
hivemind_ci_separate_sync
into
develop
4 years ago
Overview
0
Commits
8
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
37d1868e
Prev
Next
Show latest version
1 file
+
10
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
37d1868e
Update .gitlab-ci.yaml
· 37d1868e
Bartek Wrona
authored
4 years ago
.gitlab-ci.yaml
+
10
−
1
Options
@@ -71,6 +71,13 @@ hivemind_sync:
-
"
echo
Attempting
to
starting
hive
sync
using
hived
node:
$HIVEMIND_SOURCE_HIVED_URL
.
Max
sync
block
is:
$HIVEMIND_MAX_BLOCK"
-
echo Attempting to access database $DB_URL
-
./local-site/bin/hive sync --test-max-block=$HIVEMIND_MAX_BLOCK --exit-after-sync --test-profile=False --steemd-url "$HIVEMIND_SOURCE_HIVED_URL" --database-url $DB_URL 2>&1 | tee -i hivemind-sync.log
-
echo Attempting to start hive server listening on $HIVEMIND_HTTP_PORT port...
-
if [ -f hive_server.pid ]; then kill -SIGINT `cat hive_server.pid`; fi;
-
rm -f hive_server.pid
-
screen -L -Logfile hive_server.log -dmS hive_server_$CI_JOB_ID ./local-site/bin/hive server --pid-file hive_server.pid --http-server-port $HIVEMIND_HTTP_PORT --steemd-url "$HIVEMIND_SOURCE_HIVED_URL" --database-url $DB_URL
-
for i in `seq 1 10`; do if [ -f hive_server.pid ]; then break; else sleep 1; fi; done
-
cat hive_server.pid
artifacts
:
paths
:
-
hivemind-sync.log
@@ -91,7 +98,7 @@ hivemind_start_server:
script
:
-
echo Attempting to start hive server listening on $HIVEMIND_HTTP_PORT port...
-
if [ -f hive_server.pid ]; then kill -SIGINT `cat hive_server.pid` fi;
-
if [ -f hive_server.pid ]; then kill -SIGINT `cat hive_server.pid`
;
fi;
-
rm -f hive_server.pid
-
screen -L -Logfile hive_server.log -dmS hive_server_$CI_JOB_ID ./local-site/bin/hive server --pid-file hive_server.pid --http-server-port $HIVEMIND_HTTP_PORT --steemd-url "$HIVEMIND_SOURCE_HIVED_URL" --database-url $DB_URL
-
for i in `seq 1 10`; do if [ -f hive_server.pid ]; then break; else sleep 1; fi; done
@@ -102,5 +109,7 @@ hivemind_start_server:
-
hive_server.pid
expire_in
:
1 week
when
:
manual
tags
:
-
hivemind
Loading