diff --git a/app.yml b/app.yml index 82d8790ea..d780eaae3 100644 --- a/app.yml +++ b/app.yml @@ -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.6 +version: 3.33.7 category: 运维工具 language_support: 中文 desktop: diff --git a/app_desc.yaml b/app_desc.yaml index b9cc5eb2f..d4f0bd6aa 100644 --- a/app_desc.yaml +++ b/app_desc.yaml @@ -1,5 +1,5 @@ spec_version: 2 -app_version: "3.33.6" +app_version: "3.33.7" app: region: default bk_app_code: bk_sops diff --git a/config/default.py b/config/default.py index 34435ffd7..7148c12c2 100644 --- a/config/default.py +++ b/config/default.py @@ -214,7 +214,7 @@ # mako模板中: # 如果静态资源修改了以后,上线前改这个版本号即可 -STATIC_VERSION = "3.33.6" +STATIC_VERSION = "3.33.7" DEPLOY_DATETIME = datetime.datetime.now().strftime("%Y%m%d%H%M%S") STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")] diff --git a/gcloud/apigw/management/commands/sync_saas_apigw.py b/gcloud/apigw/management/commands/sync_saas_apigw.py index b0c6ad313..23929be36 100644 --- a/gcloud/apigw/management/commands/sync_saas_apigw.py +++ b/gcloud/apigw/management/commands/sync_saas_apigw.py @@ -14,8 +14,8 @@ import os import traceback -from django.core.management.base import BaseCommand from django.core.management import call_command +from django.core.management.base import BaseCommand import env @@ -44,6 +44,9 @@ def handle(self, *args, **kwargs): print("[bk-sops]call create_version_and_release_apigw with definition: %s" % definition_file_path) call_command("create_version_and_release_apigw", "--generate-sdks", file=definition_file_path) + print("[bk-sops] call grant_apigw_permissions with definition: %s" % definition_file_path) + call_command("grant_apigw_permissions", file=definition_file_path) + print("[bk-sops]call fetch_apigw_public_key") call_command("fetch_apigw_public_key")