mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Add gitlab ci support
This commit is contained in:
parent
112be80ebd
commit
2284f20207
36 changed files with 247 additions and 64 deletions
|
@ -1,6 +1,5 @@
|
|||
import { QueryTypes, Sequelize } from 'sequelize'
|
||||
import { ServerInfo } from '../server/servers'
|
||||
import { PluginType } from '../../models/plugins/plugin.type'
|
||||
|
||||
let sequelizes: { [ id: number ]: Sequelize } = {}
|
||||
|
||||
|
@ -10,7 +9,7 @@ function getSequelize (internalServerNumber: number) {
|
|||
const dbname = 'peertube_test' + internalServerNumber
|
||||
const username = 'peertube'
|
||||
const password = 'peertube'
|
||||
const host = 'localhost'
|
||||
const host = process.env.GITLAB_CI ? 'postgres' : 'localhost'
|
||||
const port = 5432
|
||||
|
||||
const seq = new Sequelize(dbname, username, password, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue