From c01a076118795befa23f3de6d73fe54783d4000e Mon Sep 17 00:00:00 2001 From: dd84ai Date: Fri, 24 Nov 2023 04:33:30 +0100 Subject: [PATCH] ops: deploy v1.3.1-998de7d vers --- Taskfile.yml | 2 +- app/forumer/run.go | 4 ++-- infra/tf/production/main.tf | 2 +- infra/tf/staging/main.tf | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 1e6a36a..dad907f 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,7 +1,7 @@ version: "3" env: - tag_version: v1.3.1 + tag_version: v1.3.1-998de7d tasks: build-version: diff --git a/app/forumer/run.go b/app/forumer/run.go index d948997..1cd623a 100644 --- a/app/forumer/run.go +++ b/app/forumer/run.go @@ -240,7 +240,7 @@ func (v *Forumer) update() { v.GetPost(thread, func(new_post *forum_types.Post) { for _, channel := range channelIDs { msgs, err := v.Discorder.GetLatestMessages(channel) - if logus.CheckError(err, "failed to get discord latest msgs") { + if logus.CheckError(err, "failed to get discord latest msgs", logus.ChannelID(channel)) { continue } v.TrySendMsg(channel, new_post, msgs) @@ -267,7 +267,7 @@ func (v *Forumer) RetryMsgs() { channelIDs, _ := v.Channels.List() for _, channel := range channelIDs { msgs, err := v.Discorder.GetLatestMessages(channel) - if logus.CheckError(err, "failed to get discord latest msgs") { + if logus.CheckError(err, "failed to get discord latest msgs", logus.ChannelID(channel)) { continue } diff --git a/infra/tf/production/main.tf b/infra/tf/production/main.tf index 056e279..d22c377 100644 --- a/infra/tf/production/main.tf +++ b/infra/tf/production/main.tf @@ -27,5 +27,5 @@ module "darkbot" { configurator_dbname = "production" consoler_prefix = "." secrets = local.secrets - tag_version = "v1.3.1" + tag_version = "v1.3.1-998de7d" } \ No newline at end of file diff --git a/infra/tf/staging/main.tf b/infra/tf/staging/main.tf index 4f6639c..863e9cf 100644 --- a/infra/tf/staging/main.tf +++ b/infra/tf/staging/main.tf @@ -27,7 +27,7 @@ module "darkbot" { configurator_dbname = "staging" consoler_prefix = "," secrets = local.secrets - tag_version = "v1.3.1" + tag_version = "v1.3.1-998de7d" debug = false }