mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-06 18:29:37 +00:00
commit
9eacb86807
@ -17,6 +17,8 @@
|
|||||||
"buildBotChangeSource.py",
|
"buildBotChangeSource.py",
|
||||||
"qtUpdater.py",
|
"qtUpdater.py",
|
||||||
"secretManager.py",
|
"secretManager.py",
|
||||||
"NPM.py"
|
"NPM.py",
|
||||||
|
"git/gitBin.sh"
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
from BuildBotLib.buildBotModule import *
|
from BuildBotLib.buildBotModule import *
|
||||||
from buildbot.plugins import util
|
from buildbot.plugins import util
|
||||||
from buildbot.plugins import changes
|
from buildbot.plugins import changes
|
||||||
|
import os
|
||||||
|
|
||||||
class buildBotChangeSource(BuildBotModule):
|
class buildBotChangeSource(BuildBotModule):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -11,30 +12,35 @@ class buildBotChangeSource(BuildBotModule):
|
|||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
repourl = 'git@github.com:QuasarApp/Snake.git',
|
repourl = 'git@github.com:QuasarApp/Snake.git',
|
||||||
project = 'qmake-Snake',
|
project = 'qmake-Snake',
|
||||||
|
gitbin = os.path.dirname(os.path.realpath(__file__)) + "/git/gitBin.sh",
|
||||||
branches = True, # получаем изменения со всех веток
|
branches = True, # получаем изменения со всех веток
|
||||||
pollInterval = 60
|
pollInterval = 60
|
||||||
),
|
),
|
||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
repourl = 'git@github.com:QuasarApp/Console-QtDeployer.git',
|
repourl = 'git@github.com:QuasarApp/Console-QtDeployer.git',
|
||||||
project = 'qmake-CQtDeployer',
|
project = 'qmake-CQtDeployer',
|
||||||
|
gitbin = os.path.dirname(os.path.realpath(__file__)) + "/git/gitBin.sh",
|
||||||
branches = True, # получаем изменения со всех веток
|
branches = True, # получаем изменения со всех веток
|
||||||
pollInterval = 61
|
pollInterval = 61
|
||||||
),
|
),
|
||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
repourl = 'git@github.com:QuasarApp/Qt-Secret.git',
|
repourl = 'git@github.com:QuasarApp/Qt-Secret.git',
|
||||||
project = 'qmake-Qt-Secret',
|
project = 'qmake-Qt-Secret',
|
||||||
|
gitbin = os.path.dirname(os.path.realpath(__file__)) + "/git/gitBin.sh",
|
||||||
branches = True, # получаем изменения со всех веток
|
branches = True, # получаем изменения со всех веток
|
||||||
pollInterval = 62
|
pollInterval = 62
|
||||||
),
|
),
|
||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
repourl = 'git@github.com:QuasarApp/Hanoi-Towers.git',
|
repourl = 'git@github.com:QuasarApp/Hanoi-Towers.git',
|
||||||
project = 'qmake-Hanoi-Towers',
|
project = 'qmake-Hanoi-Towers',
|
||||||
|
gitbin = os.path.dirname(os.path.realpath(__file__)) + "/git/gitBin.sh",
|
||||||
branches = True, # получаем изменения со всех веток
|
branches = True, # получаем изменения со всех веток
|
||||||
pollInterval = 63
|
pollInterval = 63
|
||||||
),
|
),
|
||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
repourl = 'https://github.com/usermeme/chat-vironit.git',
|
repourl = 'https://github.com/usermeme/chat-vironit.git',
|
||||||
project = 'npm-Chat',
|
project = 'npm-Chat',
|
||||||
|
gitbin = os.path.dirname(os.path.realpath(__file__)) + "/git/gitBin.sh",
|
||||||
branch = 'master',
|
branch = 'master',
|
||||||
pollInterval = 64
|
pollInterval = 64
|
||||||
)
|
)
|
||||||
|
3
BuildBotLib/git/gitBin.sh
Executable file
3
BuildBotLib/git/gitBin.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[ "${1}" = "log" ] && { shift && git log --ignore-missing "${@}"; } || git "${@}"
|
Loading…
x
Reference in New Issue
Block a user