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
Dynamic Exposure
OpenBuildingMap
database-obmbuildings
Commits
86bde927
Commit
86bde927
authored
Aug 16, 2021
by
Marius Kriegerowski
Browse files
Added gitlab-ci.yml
parent
3079fe89
Pipeline
#27100
passed with stage
in 53 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
86bde927
image
:
python:3-buster
test
:
before_script
:
-
apt-get update -y -qq
-
apt-get install postgresql -y -qq
services
:
-
name
:
$CI_REGISTRY/dynamicexposure/server-components/containers/docker-obm-database:master
alias
:
postgres
variables
:
POSTGRES_USER
:
"
postgres"
POSTGRES_PASSWORD
:
"
9doij23408usf"
PGPASSWORD
:
"
$POSTGRES_PASSWORD"
interruptible
:
true
script
:
-
|
for file in `ls migrations/*`
do
echo "importing $file"
psql -v ON_ERROR_STOP=1 -h postgres -U postgres -f $file
done
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