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
Commits
70239e68
Commit
70239e68
authored
2 months ago
by
Andrzej Such
Browse files
Options
Downloads
Patches
Plain Diff
Rename option 'postgrest-server' to 'server'
parent
71db7640
No related branches found
No related tags found
1 merge request
!823
Removing not used queries and python server
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yaml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yaml
docker/docker_entrypoint.sh
+4
-1
4 additions, 1 deletion
docker/docker_entrypoint.sh
with
5 additions
and
2 deletions
.gitlab-ci.yaml
+
1
−
1
View file @
70239e68
...
@@ -263,7 +263,7 @@ include:
...
@@ -263,7 +263,7 @@ include:
.hivemind-postgrest-serve-script
:
&hivemind-postgrest-serve-script
|
.hivemind-postgrest-serve-script
:
&hivemind-postgrest-serve-script
|
${DATA_CACHE_HAF}/await -t 5m http://haf-instance:8091 -- echo "HAF ready" 2>&1 | tee -i "$AWAIT_LOG_PATH" && \
${DATA_CACHE_HAF}/await -t 5m http://haf-instance:8091 -- echo "HAF ready" 2>&1 | tee -i "$AWAIT_LOG_PATH" && \
${DATA_CACHE_HAF}/await -t 5m postgres://haf_admin@haf-instance:5432/haf_block_log#schemas=hivemind_app -- echo "Hivemind database found" 2>&1 | tee -a -i "$AWAIT_LOG_PATH" && \
${DATA_CACHE_HAF}/await -t 5m postgres://haf_admin@haf-instance:5432/haf_block_log#schemas=hivemind_app -- echo "Hivemind database found" 2>&1 | tee -a -i "$AWAIT_LOG_PATH" && \
${WORKING_DIR}/docker_entrypoint.sh
postgrest-
server --webserver-port=${RUNNER_HIVEMIND_SERVER_HTTP_PORT} --log-level=${LOG_LEVEL}
${WORKING_DIR}/docker_entrypoint.sh server --webserver-port=${RUNNER_HIVEMIND_SERVER_HTTP_PORT} --log-level=${LOG_LEVEL}
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<| BASH SCRIPTS |<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<| BASH SCRIPTS |<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
...
...
This diff is collapsed.
Click to expand it.
docker/docker_entrypoint.sh
+
4
−
1
View file @
70239e68
...
@@ -191,11 +191,14 @@ case "$COMMAND" in
...
@@ -191,11 +191,14 @@ case "$COMMAND" in
date
--utc
--iso-8601
=
seconds
>
/tmp/block_processing_startup_time.txt
date
--utc
--iso-8601
=
seconds
>
/tmp/block_processing_startup_time.txt
run_hive
run_hive
;;
;;
postgrest-
server
)
server
)
HIVEMIND_ARGS
=(
"
${
HIVEMIND_ARGS
[@]
:1
}
"
)
HIVEMIND_ARGS
=(
"
${
HIVEMIND_ARGS
[@]
:1
}
"
)
log
"global"
"Running Hivemind with arguments '
${
HIVEMIND_ARGS
[*]
}
'"
log
"global"
"Running Hivemind with arguments '
${
HIVEMIND_ARGS
[*]
}
'"
run_hive
run_hive
;;
;;
*
)
log
"global"
"COMMAND - first argument is not valid. Available commands: setup, install_app, uninstall_app, sync, server"
;;
esac
esac
log
"global"
"Exiting docker entrypoint..."
log
"global"
"Exiting docker entrypoint..."
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment