mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
ci: postgres test
This commit is contained in:
parent
a5b95dc481
commit
1b65818ece
1
.github/workflows/dev.yml
vendored
1
.github/workflows/dev.yml
vendored
@ -84,6 +84,7 @@ jobs:
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- run: context=ci prefix=.postgres task dc:up
|
||||
- run: context=ci prefix=.bolt task dc:up
|
||||
- run: context=ci prefix=.mysql task dc:up
|
||||
|
||||
|
@ -2,14 +2,13 @@ version: '2'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: mysql:5.6
|
||||
image: postgres:14
|
||||
environment:
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
||||
MYSQL_DATABASE: semaphore
|
||||
MYSQL_USER: semaphore
|
||||
MYSQL_PASSWORD: semaphore
|
||||
POSTGRES_USER: semaphore
|
||||
POSTGRES_PASSWORD: semaphore
|
||||
POSTGRES_DB: semaphore
|
||||
ports:
|
||||
- "3306:3306"
|
||||
- "5432:5432"
|
||||
|
||||
semaphore_ci:
|
||||
image: semaphoreui/semaphore:ci-compose
|
||||
|
@ -3,10 +3,13 @@
|
||||
cat <<EOF
|
||||
{
|
||||
"postgres": {
|
||||
"host": "postgres:5342",
|
||||
"host": "postgres:5432",
|
||||
"user": "semaphore",
|
||||
"pass": "semaphore",
|
||||
"name": "semaphore"
|
||||
"name": "semaphore",
|
||||
"options": {
|
||||
"sslmode": "disable"
|
||||
}
|
||||
},
|
||||
"dialect": "postgres",
|
||||
"access_key_encryption": "${SEMAPHORE_ACCESS_KEY_ENCRYPTION}"
|
||||
|
Loading…
Reference in New Issue
Block a user