renamed to teabot
nclazz/teabot/pipeline/head This commit looks good
Details
nclazz/teabot/pipeline/head This commit looks good
Details
parent
77fb599cc5
commit
d96aea0fa8
|
@ -8,7 +8,7 @@ pipeline {
|
||||||
|
|
||||||
DOCKER_REGISTRY = "docker.nclazz.de"
|
DOCKER_REGISTRY = "docker.nclazz.de"
|
||||||
DOCKER_GROUP = 'nclazz-bots'
|
DOCKER_GROUP = 'nclazz-bots'
|
||||||
DOCKER_IMAGE = 'gitea-bot'
|
DOCKER_IMAGE = 'teabot'
|
||||||
DOCKER_TAG = "${ BRANCH_NAME == "master" ? "latest" : "develop" }"
|
DOCKER_TAG = "${ BRANCH_NAME == "master" ? "latest" : "develop" }"
|
||||||
DOCKER_VERSION = "1.0.0"
|
DOCKER_VERSION = "1.0.0"
|
||||||
|
|
||||||
|
@ -39,13 +39,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
deployToSwarm(
|
deployToSwarm(
|
||||||
name: 'nclazz-gitea-bot',
|
name: 'nclazz-teabot',
|
||||||
file: "${env.WORKSPACE}/docker-compose.yml",
|
file: "${env.WORKSPACE}/docker-compose.yml",
|
||||||
forceUpdate: true,
|
forceUpdate: true,
|
||||||
askApproval: false,
|
askApproval: false,
|
||||||
slackChannel: 'deployment',
|
slackChannel: 'deployment',
|
||||||
env: [
|
env: [
|
||||||
PORT: 7007,
|
PORT: 7008,
|
||||||
VERSION: env.DOCKER_VERSION,
|
VERSION: env.DOCKER_VERSION,
|
||||||
AUTH_TOKEN: env.NCLAZZ,
|
AUTH_TOKEN: env.NCLAZZ,
|
||||||
GITEA_TOKEN: env.GITEA_TOKEN,
|
GITEA_TOKEN: env.GITEA_TOKEN,
|
||||||
|
@ -53,11 +53,11 @@ pipeline {
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
exposeService(
|
exposeService(
|
||||||
name: 'nclazz-gitea-bot',
|
name: 'nclazz-teabotbot',
|
||||||
fqdn: 'gitea-bot.nclazz.de',
|
fqdn: 'teabot.nclazz.de',
|
||||||
description: 'Gitea bot',
|
description: 'Gitea bot',
|
||||||
location: '/',
|
location: '/',
|
||||||
backendPort: 7007
|
backendPort: 7008
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Gitea Bot
|
Teabot
|
||||||
============================
|
============================
|
||||||
|
|
||||||
This bot/server manages issues in gitea repositories.
|
This bot/server manages issues in gitea repositories.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
service:
|
service:
|
||||||
image: docker.nclazz.de/nclazz-bots/gitea-bot:$VERSION
|
image: docker.nclazz.de/nclazz-bots/teabot:$VERSION
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN: "${GITEA_TOKEN}"
|
GITEA_TOKEN: "${GITEA_TOKEN}"
|
||||||
NCLAZZ_AUTH_TOKEN: "${AUTH_TOKEN}"
|
NCLAZZ_AUTH_TOKEN: "${AUTH_TOKEN}"
|
||||||
|
|
Loading…
Reference in New Issue