renamed to teabot
nclazz/teabot/pipeline/head This commit looks good Details

develop
Niclas Thobaben 2022-09-19 10:58:34 +02:00
parent 77fb599cc5
commit d96aea0fa8
3 changed files with 8 additions and 8 deletions

12
Jenkinsfile vendored
View File

@ -8,7 +8,7 @@ pipeline {
DOCKER_REGISTRY = "docker.nclazz.de"
DOCKER_GROUP = 'nclazz-bots'
DOCKER_IMAGE = 'gitea-bot'
DOCKER_IMAGE = 'teabot'
DOCKER_TAG = "${ BRANCH_NAME == "master" ? "latest" : "develop" }"
DOCKER_VERSION = "1.0.0"
@ -39,13 +39,13 @@ pipeline {
}
steps {
deployToSwarm(
name: 'nclazz-gitea-bot',
name: 'nclazz-teabot',
file: "${env.WORKSPACE}/docker-compose.yml",
forceUpdate: true,
askApproval: false,
slackChannel: 'deployment',
env: [
PORT: 7007,
PORT: 7008,
VERSION: env.DOCKER_VERSION,
AUTH_TOKEN: env.NCLAZZ,
GITEA_TOKEN: env.GITEA_TOKEN,
@ -53,11 +53,11 @@ pipeline {
]
)
exposeService(
name: 'nclazz-gitea-bot',
fqdn: 'gitea-bot.nclazz.de',
name: 'nclazz-teabotbot',
fqdn: 'teabot.nclazz.de',
description: 'Gitea bot',
location: '/',
backendPort: 7007
backendPort: 7008
)
}
}

View File

@ -1,4 +1,4 @@
Gitea Bot
Teabot
============================
This bot/server manages issues in gitea repositories.

View File

@ -1,7 +1,7 @@
version: '3.8'
services:
service:
image: docker.nclazz.de/nclazz-bots/gitea-bot:$VERSION
image: docker.nclazz.de/nclazz-bots/teabot:$VERSION
environment:
GITEA_TOKEN: "${GITEA_TOKEN}"
NCLAZZ_AUTH_TOKEN: "${AUTH_TOKEN}"