From d96aea0fa8e8280a2d7459992bb5ce9bb691a8b5 Mon Sep 17 00:00:00 2001 From: niclasthobaben Date: Mon, 19 Sep 2022 10:58:34 +0200 Subject: [PATCH] renamed to teabot --- Jenkinsfile | 12 ++++++------ README.md | 2 +- docker-compose.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 82777fa..f524d40 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 ) } } diff --git a/README.md b/README.md index 131d5d8..0b1d193 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Gitea Bot +Teabot ============================ This bot/server manages issues in gitea repositories. diff --git a/docker-compose.yml b/docker-compose.yml index 185bca3..77ada9e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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}"