Skip to content
GitLab
Explore
Sign in
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
7f71ce6a
Commit
7f71ce6a
authored
1 year ago
by
Bartek Wrona
Browse files
Options
Downloads
Patches
Plain Diff
haf_app_admin eliminated from setup scripts
parent
2a71792d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!827
Merge develop changes to master
,
!645
Updated HAf submodule to latest develop
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/install_app.sh
+1
-1
1 addition, 1 deletion
scripts/install_app.sh
scripts/setup_postgres.sh
+2
-2
2 additions, 2 deletions
scripts/setup_postgres.sh
with
3 additions
and
3 deletions
scripts/install_app.sh
+
1
−
1
View file @
7f71ce6a
...
...
@@ -61,7 +61,7 @@ while [ $# -gt 0 ]; do
done
if
[
-z
"
$POSTGRES_URL
"
]
;
then
POSTGRES_ACCESS
=
"postgresql://haf_
app_
admin@
$POSTGRES_HOST
:
$POSTGRES_PORT
/haf_block_log"
POSTGRES_ACCESS
=
"postgresql://haf_admin@
$POSTGRES_HOST
:
$POSTGRES_PORT
/haf_block_log"
else
POSTGRES_ACCESS
=
$POSTGRES_URL
fi
...
...
This diff is collapsed.
Click to expand it.
scripts/setup_postgres.sh
+
2
−
2
View file @
7f71ce6a
...
...
@@ -30,7 +30,7 @@ print_help () {
supplement_builtin_roles
()
{
local
pg_access
=
"
$1
"
echo
"Attempting to supplement definition of hivemind builtin roles..."
psql
$pg_access
-v
ON_ERROR_STOP
=
on
-c
'GRANT hivemind TO haf_
app_
admin;'
psql
$pg_access
-v
ON_ERROR_STOP
=
on
-c
'GRANT hivemind TO haf_admin;'
}
POSTGRES_HOST
=
"/var/run/postgresql"
...
...
@@ -69,7 +69,7 @@ while [ $# -gt 0 ]; do
done
if
[
-z
"
$POSTGRES_URL
"
]
;
then
POSTGRES_ACCESS
=
"postgresql://haf_
app_
admin@
${
POSTGRES_HOST
}
:
${
POSTGRES_PORT
}
/haf_block_log"
POSTGRES_ACCESS
=
"postgresql://haf_admin@
${
POSTGRES_HOST
}
:
${
POSTGRES_PORT
}
/haf_block_log"
else
POSTGRES_ACCESS
=
$POSTGRES_URL
fi
...
...
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