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
Merge requests
!397
Something went wrong on our end
Resolve "CI pipeline should exit with error, when script cannot recreate existing database"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "CI pipeline should exit with error, when script cannot recreate existing database"
112-ci-pipeline-should-exit-with-error-when-script
into
develop
Overview
0
Commits
3
Pipelines
0
Changes
3
Merged
Wojciech Barcik
requested to merge
112-ci-pipeline-should-exit-with-error-when-script
into
develop
4 years ago
Overview
0
Commits
3
Pipelines
0
Changes
3
Expand
Closes
#112 (closed)
0
0
Merge request reports
Viewing commit
0ade9743
Prev
Next
Show latest version
3 files
+
38
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
0ade9743
Exit with error, when script cannot drop existing database
· 0ade9743
Wojciech Barcik
authored
4 years ago
scripts/ci/create-db.sh
+
0
−
4
Options
@@ -28,10 +28,6 @@ BEGIN
END
\$
$;
-- We drop database to enable retry of CI job.
\e
cho Dropping database
${
HIVEMIND_DB_NAME
}
DROP DATABASE IF EXISTS
${
HIVEMIND_DB_NAME
}
;
\e
cho Creating database
${
HIVEMIND_DB_NAME
}
CREATE DATABASE
${
HIVEMIND_DB_NAME
}
TEMPLATE
${
TEMPLATE
}
OWNER
${
RUNNER_POSTGRES_APP_USER
}
;
Loading