Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ehasa-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
WIMMA Lab 2019
Overflow
ehasa-backend
Commits
ea1bd6fc
Commit
ea1bd6fc
authored
5 years ago
by
L4168
Browse files
Options
Downloads
Patches
Plain Diff
tiistai
parent
0abb106a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#66564
failed
5 years ago
Stage: purge
Stage: e2e-test
Stage: rf-test
Stage: push-results
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+0
-7
0 additions, 7 deletions
.gitlab-ci.yml
docker-compose.yml
+3
-1
3 additions, 1 deletion
docker-compose.yml
docker/run.sh
+10
-0
10 additions, 0 deletions
docker/run.sh
with
13 additions
and
8 deletions
.gitlab-ci.yml
+
0
−
7
View file @
ea1bd6fc
...
...
@@ -33,13 +33,6 @@ e2e-testing:
-
docker image prune -f
-
docker-compose build --no-cache
-
docker-compose up -d
after_script
:
-
sleep
3
-
echo "create database ehasa;" | docker exec -i postgis psql -U postgres
-
echo "create user ehasa;" | docker exec -i postgis psql -U postgres
-
echo "alter user ehasa with encrypted password 'salasana';" | docker exec -i postgis psql -U postgres
-
echo "grant all privileges on database ehasa to ehasa;" | docker exec -i postgis psql -U postgres
-
echo 'create extension "uuid-ossp";' | docker exec -i postgis psql -U postgres ehasa
allow_failure
:
true
rf-test
:
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
3
−
1
View file @
ea1bd6fc
...
...
@@ -8,5 +8,7 @@ services:
postgres
:
image
:
mdillon/postgis
container_name
:
postgis
volumes
:
-
./docker:/docker-entrypoint-initdb.d
ports
:
-
5432:5432
\ No newline at end of file
-
5432:5432
This diff is collapsed.
Click to expand it.
docker/run.sh
0 → 100644
+
10
−
0
View file @
ea1bd6fc
#!/bin/bash
psql
-U
postgres
<<
EOF
create database ehasa;
\c
ehasa;
create user ehasa;
alter user ehasa with encrypted password 'salasana';
grant all privileges on database ehasa to ehasa;
create extension "uuid-ossp";
EOF
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