Skip to content

Commit

Permalink
fix: 修改版本和celery mq连接参数 TencentBlueKing#1464
Browse files Browse the repository at this point in the history
  • Loading branch information
huangpixu committed Jan 24, 2025
1 parent 7dea734 commit 89bbd7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ is_use_celery: True
author: 蓝鲸智云
introduction: 标准运维是通过一套成熟稳定的任务调度引擎,把在多系统间的工作整合到一个流程,助力运维实现跨系统调度自动化的SaaS应用。
introduction_en: SOPS is a SaaS application that utilizes a set of mature and stable task scheduling engines to help realize cross-system scheduling automation, and integrates the work among multiple systems into a single process.
version: 3.33.8
version: "3.34.1-rc.1"
category: 运维工具
language_support: 中文
desktop:
Expand Down
4 changes: 2 additions & 2 deletions app_desc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spec_version: 2
app_version: "3.33.8"
app_version: "3.34.1-rc.1"
app:
region: default
bk_app_code: bk_sops
Expand Down Expand Up @@ -226,7 +226,7 @@ modules:
plan: 4C1G5R
replicas: 2
web:
command: celery-prometheus-exporter --broker amqp://$RABBITMQ_USER:$RABBITMQ_PASSWORD@$RABBITMQ_HOST:$RABBITMQ_PORT/$RABBITMQ_VHOST --addr :$CELERY_EXPORTER_PORT --queue-list $CELERY_EXPORTER_QUEUE
command: celery-prometheus-exporter --broker celery-prometheus-exporter --broker amqp://app-bkapp-bk_sops-pr-549e:[email protected]:5672/app-bkapp-bk_sops-pr-549e --addr :$CELERY_EXPORTER_PORT --queue-list $CELERY_EXPORTER_QUEUE
plan: 4C1G5R
replicas: 1
node-timeout:
Expand Down
3 changes: 2 additions & 1 deletion config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
# mako模板中:<script src="/a.js?v=${ STATIC_VERSION }"></script>
# 如果静态资源修改了以后,上线前改这个版本号即可

STATIC_VERSION = "3.33.8"
STATIC_VERSION = "3.34.1-rc.1"
DEPLOY_DATETIME = datetime.datetime.now().strftime("%Y%m%d%H%M%S")

STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")]
Expand Down Expand Up @@ -688,6 +688,7 @@ def monitor_report_config():

from bk_monitor_report import MonitorReporter # noqa
from bk_monitor_report.contrib.celery import MonitorReportStep # noqa

from blueapps.core.celery import celery_app # noqa

reporter = MonitorReporter(
Expand Down

0 comments on commit 89bbd7e

Please sign in to comment.