Skip to content

Commit

Permalink
feat: 网关同步增加主动授权步骤 #7567
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls committed Sep 24, 2024
1 parent 7c7d1cb commit 882102a
Show file tree
Hide file tree
Showing 4 changed files with 7 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.6
version: 3.33.7
category: 运维工具
language_support: 中文
desktop:
Expand Down
2 changes: 1 addition & 1 deletion app_desc.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
# mako模板中:<script src="/a.js?v=${ STATIC_VERSION }"></script>
# 如果静态资源修改了以后,上线前改这个版本号即可

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")]
Expand Down
5 changes: 4 additions & 1 deletion gcloud/apigw/management/commands/sync_saas_apigw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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")

Expand Down

0 comments on commit 882102a

Please sign in to comment.