Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Personal Server Community
Gaja
Commits
6889a9c1
Commit
6889a9c1
authored
Aug 01, 2019
by
Frank Rousseau
Browse files
Attempt to fix datbase config for CI
parent
e57477b6
Pipeline
#74128404
passed with stage
in 4 minutes and 53 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
config/test.exs
config/test.exs
+4
-4
No files found.
.gitlab-ci.yml
View file @
6889a9c1
...
...
@@ -7,7 +7,7 @@ variables:
DATABASE_NAME
:
gaja_test
DATABASE_HOST
:
postgres
DATABASE_USER
:
postgres
DATABASE_PASSWORD
:
"
p
assword
"
DATABASE_PASSWORD
:
"
p
ostgres
"
MIX_ENV
:
"
test"
before_script
:
...
...
config/test.exs
View file @
6889a9c1
...
...
@@ -11,10 +11,10 @@ config :logger, level: :warn
# Configure your database
config
:gaja
,
Gaja
.
Repo
,
username:
"postgres"
,
password:
"mysecretpassword"
,
database:
"gaja_test"
,
hostname:
"localhost"
,
username:
System
.
get_env
(
"DATABASE_USER"
,
"postgres"
)
,
password:
System
.
get_env
(
"DATABASE_PASS"
,
"mysecretpassword"
)
,
database:
System
.
get_env
(
"DATABASE_NAME"
,
"gaja_test"
)
,
hostname:
System
.
get_env
(
"DATABASE_HOST"
,
"localhost"
)
,
pool:
Ecto
.
Adapters
.
SQL
.
Sandbox
...
...
Write
Preview
Markdown
is supported
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