Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update master to 2.3.2 #267

Merged
merged 226 commits into from
Feb 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
6273865
integration: 整合蓝鲸登录代码
IMBlues Oct 19, 2021
f68b64c
refactor: 重构 Login 项目部分代码,引入 blue-krill 加密
IMBlues Nov 2, 2021
c4d3b29
refactor: ignore bkuser_global link in login module
IMBlues Nov 2, 2021
09005db
chore: add helm chart for login module
IMBlues Nov 3, 2021
b38998a
Merge branch 'login-merge' into login-merge
IMBlues Nov 8, 2021
ad602a4
fix: adjust minor config according to review
IMBlues Nov 8, 2021
7b2a34b
Merge branch 'login-merge' of https://github.com/IMBlues/bk-user into…
IMBlues Nov 8, 2021
8563cd6
Merge pull request #134 from IMBlues/login-merge
IMBlues Nov 8, 2021
4fc5227
feat: 支持密码过期返回token重置密码链接 & 支持初始密码强制修改
IMBlues Nov 9, 2021
d612e93
fix: 调整登录页面布局 #144
Nov 9, 2021
f1b14be
Merge branch 'TencentBlueKing:login-merge' into login-merge
IMBlues Nov 11, 2021
8382d5d
fix: 社区版登录页面优化 #144
Nov 15, 2021
cf91bb4
Merge pull request #148 from yuri0528/login
IMBlues Nov 17, 2021
fa4abf1
fix: 社区版登录页面布局优化 #144
Nov 19, 2021
b314108
Merge pull request #151 from yuri0528/login
IMBlues Nov 23, 2021
35df78a
Merge branch 'login-merge' into login-merge
IMBlues Nov 23, 2021
1ccaac3
Merge pull request #146 from IMBlues/login-merge
IMBlues Nov 23, 2021
123f86c
fix: 样式调整 #144
Nov 24, 2021
dacc296
integration: 整合蓝鲸登录代码
IMBlues Oct 19, 2021
b2ff5eb
refactor: 重构 Login 项目部分代码,引入 blue-krill 加密
IMBlues Nov 2, 2021
4e1ce4e
refactor: ignore bkuser_global link in login module
IMBlues Nov 2, 2021
5ce3ea9
chore: add helm chart for login module
IMBlues Nov 3, 2021
afc533f
fix: adjust minor config according to review
IMBlues Nov 8, 2021
1daf7a8
feat: 支持密码过期返回token重置密码链接 & 支持初始密码强制修改
IMBlues Nov 9, 2021
d6af5a8
fix: 调整登录页面布局 #144
Nov 9, 2021
ddeecf6
fix: 社区版登录页面优化 #144
Nov 15, 2021
a941f97
fix: 社区版登录页面布局优化 #144
Nov 19, 2021
b736574
Merge branch 'login-merge' of https://github.com/IMBlues/bk-user into…
IMBlues Nov 24, 2021
d82346c
fix: adjust error message for reset password
IMBlues Nov 24, 2021
e2ea29f
Merge pull request #156 from IMBlues/login-merge
IMBlues Nov 24, 2021
bc54ae8
fix: js引入错误 #144
Nov 25, 2021
a7c8823
Merge pull request #159 from yuri0528/login
IMBlues Nov 25, 2021
3f24204
Merge remote-tracking branch 'origin/development' into login-merge
IMBlues Nov 25, 2021
c50d65a
fix: add pre-upgrade for upgrading login
IMBlues Nov 25, 2021
581867b
chore: change default app_code to bk_usermgr same as system_id in bk_iam
IMBlues Nov 29, 2021
929b319
fix: remove form type from sumbit button
IMBlues Nov 29, 2021
ccc5b58
Merge pull request #172 from IMBlues/login-merge
IMBlues Nov 29, 2021
fbb7002
refactor: 登录时只查询近期一段时间的审计信息 #116
IMBlues Nov 29, 2021
74f1737
refactor: 登录时只查询近期一段时间的审计信息 #116
IMBlues Nov 29, 2021
210dd3e
Merge pull request #169 from IMBlues/development
IMBlues Dec 1, 2021
3b1e2a4
feat: make max_password_history as a setting
IMBlues Dec 1, 2021
894ae48
feat: make max_password_history as a setting
IMBlues Dec 1, 2021
633ca2a
Merge pull request #173 from IMBlues/development
IMBlues Dec 1, 2021
073cd03
Merge branch 'login-merge' into development
IMBlues Dec 1, 2021
8c3d7b7
fix: conflict error
IMBlues Dec 1, 2021
e9b2a9f
Merge pull request #175 from IMBlues/development
IMBlues Dec 1, 2021
833785b
chore: update required values & update chart version
IMBlues Dec 1, 2021
d944d6c
Merge pull request #176 from IMBlues/development
IMBlues Dec 1, 2021
eab88f7
fix: remove useless info
IMBlues Dec 1, 2021
aa5d9d1
Merge pull request #177 from IMBlues/development
IMBlues Dec 1, 2021
56a1710
refactor: allow no user group config when syncing ldap
IMBlues Dec 2, 2021
871af50
Merge pull request #179 from IMBlues/development
IMBlues Dec 2, 2021
1bc8e99
wip: fix language switch in ce login page
IMBlues Dec 2, 2021
7473afa
Merge pull request #180 from IMBlues/development
IMBlues Dec 2, 2021
25f6d78
refactor: allow no user group config when syncing ldap #2
IMBlues Dec 2, 2021
7b62ab9
Update eslint.yaml
IMBlues Dec 2, 2021
fa0a9ec
fix: reduce cyclomatic complexity
IMBlues Dec 2, 2021
e2bcf7a
Update eslint.yaml
IMBlues Dec 2, 2021
376c726
Merge pull request #182 from IMBlues/development
IMBlues Dec 2, 2021
f2aef47
refactor: 修正社区版登录页面国际化功能
IMBlues Dec 3, 2021
e718089
fix: reduce cyclomatic complexity
IMBlues Dec 3, 2021
91bd33c
Merge pull request #183 from IMBlues/development
IMBlues Dec 6, 2021
ba5b7d8
fix: 登录页图片更换 #144
Dec 6, 2021
5b4d821
fix: 调整社区版登录页面标题图片样式
IMBlues Dec 6, 2021
f49ffb9
Merge pull request #187 from IMBlues/development
IMBlues Dec 6, 2021
1098908
fix: 补上国际化步骤
IMBlues Dec 6, 2021
beb55e1
Merge pull request #188 from IMBlues/development
IMBlues Dec 6, 2021
f3714de
fix: update saas poetry.lock
IMBlues Dec 6, 2021
51ff702
fix: poetry install failure accroding to https://github.com/python-po…
IMBlues Dec 6, 2021
e6acec3
Merge pull request #189 from IMBlues/development
IMBlues Dec 6, 2021
330ea42
fix: 增加密码重复次数配置项 #149
Dec 2, 2021
6ec1290
fix: 登录页面优化 #144
Dec 7, 2021
ab58253
fix: 修改passwordRules参数 #149
Dec 8, 2021
fde60ed
refactor: exposing enabled of setting to frontend
IMBlues Dec 8, 2021
5b177dc
fix: 修复一些不存在的 setting 会无法读取到 enabled 字段
IMBlues Dec 9, 2021
84252ee
fix: revert eslint actions
IMBlues Dec 9, 2021
852b877
Merge pull request #200 from IMBlues/development
IMBlues Dec 9, 2021
520811a
feat: 数据同步增加默认重试次数,当所有重试都失败时处理异常 #197
IMBlues Dec 9, 2021
74e46f4
fix: eslint
Dec 10, 2021
2ace881
fix: 升级@babel/core版本
Dec 10, 2021
363eedd
fix: 图片更换,关闭背景点击事件 #144
Dec 13, 2021
2c4df45
Merge branch 'development' of https://github.com/TencentBlueKing/bk-u…
IMBlues Dec 13, 2021
4eaf255
fix: 调整社区版登录页面 logo 图片
IMBlues Dec 13, 2021
d7d1b34
Merge pull request #206 from IMBlues/fix-logo
IMBlues Dec 13, 2021
87d3663
update: 开启用户协议国际化
IMBlues Dec 13, 2021
c259515
Merge pull request #207 from IMBlues/fix-logo
IMBlues Dec 13, 2021
2a9a36f
fix: 修复总会多出一个无法被禁用的同步按钮
IMBlues Dec 13, 2021
a0331c0
fix: 修改按钮样式
Dec 14, 2021
6ce8bed
fix: 修改二级菜单显示不全问题 #158
Dec 15, 2021
03c51b5
fix: remove type restriction of category & update sdk
IMBlues Dec 17, 2021
0f8b845
update: 根据评论更新部分命名
IMBlues Dec 17, 2021
05f2bd7
Merge pull request #202 from IMBlues/development
IMBlues Dec 20, 2021
9fbc1ee
chore: 将部分部署相关变量挪入环境变量 && 修改日志采集配置命名风格
IMBlues Dec 20, 2021
194154c
Merge pull request #212 from IMBlues/development
IMBlues Dec 20, 2021
57682b5
fix: unlock eslint version
IMBlues Dec 21, 2021
4de80fa
fix: unlock eslint version
IMBlues Dec 21, 2021
2170f09
Merge pull request #203 from yuri0528/dev
IMBlues Dec 22, 2021
c76e45a
feature: eslint问题修复
Dec 22, 2021
94332ba
feature: eslint问题修复
Dec 22, 2021
33935b4
feature: eslint问题修复
Dec 22, 2021
4c457c7
Merge pull request #214 from EmilyMei/development
IMBlues Dec 22, 2021
d08b3a7
refactor: SaaS 支持多种 bk_token 后端
IMBlues Dec 22, 2021
12dfad9
Merge pull request #215 from IMBlues/development
IMBlues Dec 23, 2021
60ab28b
fix: 用户目录增加enabled参数 #149
Dec 27, 2021
bdfdce9
fix: 代码优化 #149
Dec 27, 2021
67c5a10
fix: 代码优化 #149
Dec 27, 2021
700069a
fix: 代码优化 #149
Dec 28, 2021
65822c5
Merge pull request #218 from yuri0528/dev-bugfix
IMBlues Dec 28, 2021
ac3f3a5
fix: 二级菜单显示问题 #158
Dec 28, 2021
e91b64c
chore: add helm chart for login module
IMBlues Nov 3, 2021
362f3da
fix: adjust minor config according to review
IMBlues Nov 8, 2021
4e7e210
feat: 支持密码过期返回token重置密码链接 & 支持初始密码强制修改
IMBlues Nov 9, 2021
ea59e62
fix: 社区版登录页面优化 #144
Nov 15, 2021
1adb03f
fix: 社区版登录页面布局优化 #144
Nov 19, 2021
44b1024
integration: 整合蓝鲸登录代码
IMBlues Oct 19, 2021
6c0d737
refactor: 重构 Login 项目部分代码,引入 blue-krill 加密
IMBlues Nov 2, 2021
3d3064b
refactor: ignore bkuser_global link in login module
IMBlues Nov 2, 2021
ba49402
chore: add helm chart for login module
IMBlues Nov 3, 2021
8cf4cc3
fix: adjust minor config according to review
IMBlues Nov 8, 2021
0f2a1e1
fix: 社区版登录页面优化 #144
Nov 15, 2021
5fe29ec
fix: 社区版登录页面布局优化 #144
Nov 19, 2021
c301d08
wip: fix language switch in ce login page
IMBlues Dec 2, 2021
6ec7730
fix: 登录页图片更换 #144
Dec 6, 2021
b133bf6
fix: 登录页面优化 #144
Dec 7, 2021
e9f92d8
fix: eslint
Dec 10, 2021
f07d143
fix: 二级菜单显示问题 #158
Dec 28, 2021
b8c194a
fix: 二级菜单显示问题 #158
Dec 28, 2021
54a95ad
refactor: 重构 bk-user Helm Chart
IMBlues Dec 30, 2021
f176cf1
add bkDomainScheme\README.md
bkpaas3 Dec 31, 2021
33fd56e
修改域名的默认值
bkpaas3 Dec 31, 2021
8bbaee3
minor fix
bkpaas3 Dec 31, 2021
4042196
refactor: 更新版本至 2.3.2-beta.1 && 更新发行文档
IMBlues Jan 5, 2022
d65f57e
Merge pull request #233 from IMBlues/development
IMBlues Jan 5, 2022
2c7e9dd
fix: remove annoying line
IMBlues Jan 5, 2022
5edae49
Merge pull request #234 from IMBlues/development
IMBlues Jan 5, 2022
158be86
fix: adding release.md as entrance
IMBlues Jan 5, 2022
f83df17
Merge pull request #235 from IMBlues/development
IMBlues Jan 5, 2022
3672e61
fix: minor change according to review
IMBlues Jan 5, 2022
66f51e7
refactor: 重构 bk-user Helm Chart
IMBlues Jan 6, 2022
d51f215
refactor: 重构 bk-user Helm Chart
IMBlues Jan 6, 2022
936fd42
feat: AD 目录支持同步自定义字段 #107
Canway-shiisa Jan 7, 2022
c0f5b24
feat: support global image registry
IMBlues Jan 11, 2022
6a42feb
resolving confilcts with development
IMBlues Jan 11, 2022
b538786
feat: AD 目录支持同步自定义字段 #107
Canway-shiisa Jan 11, 2022
71c6f56
fix: 修正了 Chart readme && 修正了 bk-login 部署 pod 名 && resolve mypy 问题
IMBlues Jan 11, 2022
7830370
Merge pull request #227 from IMBlues/refactor-helm
IMBlues Jan 11, 2022
61eba2b
feat: add support for plugin both in login & api
IMBlues Jan 11, 2022
88437df
feat: add support for plugin both in login & api
IMBlues Jan 11, 2022
8080d77
feat: AD 目录支持同步自定义字段 #107
Canway-shiisa Jan 11, 2022
a2bd517
fix: 自定义字段 #107
Jan 11, 2022
f5192db
fix: 自定义字段 #107
Jan 12, 2022
dbcc73b
fix: eslint
Jan 13, 2022
7c08c40
fix: eslint
Jan 13, 2022
263a4c6
fix: eslint
Jan 13, 2022
e095c2a
fix: eslint
Jan 13, 2022
0f645c8
fix: 国际化
Jan 13, 2022
6d77680
Merge pull request #237 from Canway-shiisa/development
IMBlues Jan 13, 2022
8e684ac
fix: 代码优化
Jan 13, 2022
a9e82fd
enhance: support global image secrets & support values for celery info
IMBlues Jan 13, 2022
88993e9
minor: update chart version
IMBlues Jan 13, 2022
31eb9a4
fix: 代码优化
Jan 13, 2022
f7e00ed
Merge pull request #242 from yuri0528/fix-custom
IMBlues Jan 13, 2022
02e92fe
Merge pull request #239 from IMBlues/refactor-helm
IMBlues Jan 13, 2022
8fa69d3
fix: correct mypy lint
IMBlues Jan 13, 2022
2d44c51
Merge pull request #243 from IMBlues/development
IMBlues Jan 13, 2022
79e0c03
fix: 自定义字段代码优化 #107
Jan 14, 2022
c84499f
feat: 增加了 v3 版用户拉取 API
IMBlues Jan 12, 2022
d8cb6e3
minor: 优化过滤写法
IMBlues Jan 12, 2022
c5788fb
minor: 优化过滤写法
IMBlues Jan 12, 2022
d5d3bc5
fix: get_extras causing unittest failure
IMBlues Jan 14, 2022
ba6114b
feat: suuport global hostAlias
IMBlues Jan 14, 2022
b539799
Merge pull request #248 from IMBlues/refactor-helm
IMBlues Jan 14, 2022
4be5980
fix: make general envs of login correct
IMBlues Jan 14, 2022
f634034
Merge pull request #249 from IMBlues/refactor-helm
IMBlues Jan 14, 2022
0addeb5
Merge pull request #247 from IMBlues/api-v3-new
IMBlues Jan 14, 2022
db6f2a7
chore: support custom command & args for saas
IMBlues Jan 14, 2022
0372d00
Merge pull request #250 from IMBlues/refactor-helm
IMBlues Jan 14, 2022
e08776e
chore: support custom command & args for saas
IMBlues Jan 17, 2022
b8b4bee
Merge pull request #251 from IMBlues/development
IMBlues Jan 17, 2022
5a55204
fix: count field type from str to int in api v3
IMBlues Jan 17, 2022
e76ff3b
feat: SaaS 页面支持 base64 密码传入
IMBlues Jan 17, 2022
a57ed3f
fix: delete useless symbol link
IMBlues Jan 17, 2022
77fde2e
fix: use legacy format in v3 apis response
IMBlues Jan 17, 2022
33f2fdb
Merge pull request #252 from IMBlues/development
IMBlues Jan 17, 2022
e27124f
feat: 多条件查询 #73
Dec 2, 2021
eab6ee2
feat: 增加了通过 yaml 配置插件 SettingMeta 的能力
IMBlues Jan 18, 2022
29b74ae
Merge pull request #253 from yuri0528/dev-search
IMBlues Jan 19, 2022
0b126b2
Merge branch 'development' of https://github.com/TencentBlueKing/bk-u…
IMBlues Jan 19, 2022
f2c391f
fix: 登录及修改密码使用base64加密 #126
yuri0528 Jan 19, 2022
d539cbe
Merge pull request #256 from yuri0528/bug-password
IMBlues Jan 19, 2022
1ea9fd2
Merge branch 'development' of https://github.com/TencentBlueKing/bk-u…
IMBlues Jan 19, 2022
ead3b6a
minor: change rtx sdk & reduce annoying logging
IMBlues Jan 20, 2022
e61fe9f
fix: reduce dependencies for unittest in actions
IMBlues Jan 20, 2022
f060e88
fix: reduce dependencies for unittest in actions
IMBlues Jan 20, 2022
5083d69
fix: reduce dependencies for unittest in actions
IMBlues Jan 20, 2022
399d022
fix: add cache for dependencies
IMBlues Jan 20, 2022
58f67cc
fix: update cache path
IMBlues Jan 20, 2022
77786b2
fix: add a condition for caching
IMBlues Jan 20, 2022
7bd0267
fix: 搜索框样式优化
Jan 21, 2022
dd3b376
Merge pull request #259 from yuri0528/dev-search
IMBlues Jan 21, 2022
0c28826
fix: add a condition for caching [WIP]
IMBlues Jan 21, 2022
d37b646
Merge branch 'development' of https://github.com/TencentBlueKing/bk-u…
IMBlues Jan 21, 2022
29e5fdd
fix: raise speed of unittest in actions [WIP]
IMBlues Jan 21, 2022
eb33c81
fix: raise speed of unittest in actions [WIP]
IMBlues Jan 21, 2022
9ce1fa1
fix: raise speed of unittest in actions [WIP]
IMBlues Jan 21, 2022
b5cc4de
fix: raise speed of unittest in actions [WIP]
IMBlues Jan 21, 2022
043cbec
fix: raise speed of unittest in actions [WIP]
IMBlues Jan 21, 2022
9fc3f47
Merge pull request #257 from IMBlues/fix-actions-2
IMBlues Jan 21, 2022
9e4677b
fix: 修正了 '账户' 字样
IMBlues Jan 23, 2022
7fecec2
Merge branch 'development' of https://github.com/TencentBlueKing/bk-u…
IMBlues Jan 23, 2022
340ad36
chore: update dependencies
IMBlues Jan 23, 2022
b830fdd
fix: 多条件查询优化 #73
Jan 23, 2022
6956ef6
fix: 减少 settings.yaml 的配置层级
IMBlues Jan 23, 2022
1b9122d
Merge branch 'development' of https://github.com/TencentBlueKing/bk-u…
IMBlues Jan 23, 2022
9aedf20
update: add unittest for loading settings
IMBlues Jan 23, 2022
8c7e5aa
Merge pull request #254 from IMBlues/development
IMBlues Jan 23, 2022
c366755
fix: 修复redis外部存储时访问地址拼接问题
IMBlues Jan 27, 2022
4471a5d
chore: adjust chart version
IMBlues Feb 10, 2022
2f88d25
Merge pull request #263 from IMBlues/refactor-helm
IMBlues Feb 10, 2022
2f91160
refactor: 整理日志配置,默认使用 stdout 输出
IMBlues Feb 10, 2022
dd874fe
refactor: 根据评论调整配置
IMBlues Feb 10, 2022
404de28
fix: 添加下级组织显示问题
Feb 10, 2022
99057cb
Merge pull request #264 from IMBlues/general-dev2
IMBlues Feb 10, 2022
3cd42bc
Merge pull request #265 from yuri0528/bug-tree
IMBlues Feb 10, 2022
bb6c70f
chore: update version to 2.3.2
IMBlues Feb 10, 2022
3158062
Merge pull request #266 from IMBlues/general-dev2
IMBlues Feb 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 10 additions & 6 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ jobs:
DB_DATABASE: bk_user_api_test
DB_USER: root
DB_PASSWORD: root
DB_PORT: 3306

steps:
- uses: actions/checkout@v2
- name: Set up MySQL
run: |
sudo /etc/init.d/mysql start
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }}
- uses: samin/mysql-action@v1.3
with:
mysql version: '5.7'
mysql database: ${{ env.DB_DATABASE }}
mysql root password: ${{ env.DB_PASSWORD }}
mysql user: ${{ env.DB_USER }}
mysql password: ${{ env.DB_PASSWORD }}
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand All @@ -38,7 +42,7 @@ jobs:
- name: Install dependencies
run: |
cd src/api/
poetry config virtualenvs.create false && poetry install
poetry config virtualenvs.create false && bash bin/install_ci_dependencies.sh
- name: Run api unittest
env:
DJANGO_SETTINGS_MODULE: "bkuser_core.config.overlays.unittest"
Expand All @@ -52,7 +56,7 @@ jobs:
DB_USER: ${{ env.DB_USER }}
DB_PASSWORD: ${{ env.DB_PASSWORD }}
DB_HOST: "127.0.0.1"
DB_PORT: "3306"
DB_PORT: ${{ env.DB_PORT }}
run: |
make link
cd src/api
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ src/pages/index-dev.html
# ignore global code
src/api/bkuser_global
src/saas/bkuser_global
src/login/bkuser_global
# sdk
src/saas/bkuser_sdk

Expand All @@ -220,12 +221,15 @@ src/pages/dist/
/poetry.lock

# helm
deploy/helm/*/charts/
deploy/helm/bk-user/charts/api/charts/
deploy/helm/bk-user/charts/saas/charts/
deploy/helm/bk-user/charts/login/charts/
deploy/helm/local_values.yaml
deploy/helm/dist/

deploy/helm/api/templates/c_*.*
deploy/helm/saas/templates/c_*.*
deploy/helm/login/templates/c_*.*
deploy/helm/bk-user-stack/templates/c_*.*

# local hooks
Expand Down
19 changes: 17 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
version ?= "development"
login_version ?= "development"
values ?=
image_repo ?= "ccr.ccs.tencentyun.com/bk.io"
chart_repo ?=
namespace ?= "bk-user"
test_release_name ?= "bk-user-test"

generate-release-md:
cd src/saas/ && poetry run python manage.py generate_release_md > release.md
rm docs/changelogs/*.md || true
cd src/saas/ && mkdir -p changelogs/ && poetry run python manage.py generate_release_md
mv src/saas/changelogs docs/
mv src/saas/release.md docs/

link:
rm src/api/bkuser_global || true
rm src/saas/bkuser_global || true
rm src/login/bkuser_global || true
rm src/saas/bkuser_sdk || true

ln -s ${PWD}/src/bkuser_global src/api || true
ln -s ${PWD}/src/bkuser_global src/saas || true
ln -s ${PWD}/src/bkuser_global src/login || true
ln -s ${PWD}/src/sdk/bkuser_sdk src/saas || true

generate-sdk:
Expand All @@ -23,17 +32,23 @@ build-api:
build-saas:
docker build -f src/saas/Dockerfile . -t ${image_repo}/bk-user-saas:${version}

build-all: build-api build-saas
build-login:
docker build -f src/login/Dockerfile . -t ${image_repo}/bk-login:${login_version}

build-all: build-api build-saas build-login

push:
docker push ${image_repo}/bk-user-api:${version}
docker push ${image_repo}/bk-user-saas:${version}
docker push ${image_repo}/bk-login:${login_version}

helm-sync:
mkdir -p deploy/helm/api/templates/
mkdir -p deploy/helm/saas/templates/
mkdir -p deploy/helm/login/templates/
ln -s ${PWD}/deploy/helm/chartty/* deploy/helm/api/templates/ || true
ln -s ${PWD}/deploy/helm/chartty/* deploy/helm/saas/templates/ || true
ln -s ${PWD}/deploy/helm/chartty/* deploy/helm/login/templates/ || true

ln -s ${PWD}/deploy/helm/chartty/c_*.tpl deploy/helm/bk-user-stack/templates/ || true

Expand Down
6 changes: 0 additions & 6 deletions deploy/helm/api/Chart.yaml

This file was deleted.

240 changes: 0 additions & 240 deletions deploy/helm/api/values.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions deploy/helm/bk-user-stack/Chart.lock

This file was deleted.

Loading