retry service env
This commit is contained in:
parent
003852f884
commit
e02d0f39ec
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ steps:
|
||||||
image: ekidd/rust-musl-builder:experimental-stable
|
image: ekidd/rust-musl-builder:experimental-stable
|
||||||
user: root
|
user: root
|
||||||
environment:
|
environment:
|
||||||
LEMMY_DATABASE_URL: postgres://lemmy:password@localhost:5432/lemmy
|
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
RUST_TEST_THREADS: 1
|
RUST_TEST_THREADS: 1
|
||||||
commands:
|
commands:
|
||||||
|
@ -54,7 +54,7 @@ steps:
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: postgres
|
- name: database
|
||||||
image: postgres:12-alpine
|
image: postgres:12-alpine
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: lemmy
|
POSTGRES_USER: lemmy
|
||||||
|
|
Loading…
Reference in a new issue