|
5c31af55db
|
refactor(register): 添加注册服务接口说明注释
- 在 register.go 文件中添加了关于注册服务接口的使用说明注释
- 注释包含了 curl 命令示例和接口调用方式的说明
|
2025-01-21 23:27:31 +08:00 |
|
|
b6cb6875ae
|
Revert "chore(user): 打印配置信息"
This reverts commit b51ab4680f6c553a1925a135adca1ba3fb696f5b.
|
2025-01-21 23:25:50 +08:00 |
|
|
2c85024a08
|
Revert "refactor(app/user): 重构配置文件读取逻辑并移除未使用的依赖"
This reverts commit cedec8b669a814b75f930c04412b9ce328a0eb9d.
|
2025-01-21 23:25:49 +08:00 |
|
|
cedec8b669
|
refactor(app/user): 重构配置文件读取逻辑并移除未使用的依赖
- 重新组织配置文件读取逻辑,提高代码可读性
- 添加远程配置获取测试
- 移除未使用的 godotenv 依赖
|
2025-01-21 22:46:54 +08:00 |
|
|
b51ab4680f
|
chore(user): 打印配置信息
- 在配置加载后打印 RegistryAddress 和 MYSQL_DSN 配置信息
- 用于调试和验证配置是否正确加载
|
2025-01-21 22:29:34 +08:00 |
|
|
9927dbcb94
|
refactor(user): 注释掉 godotenv.Load() 调用
- 在 user 服务的 main 函数中注释掉了 godotenv.Load() 调用- 此修改可能是为了暂时禁用环境变量加载功能,或者准备在其他地方实现环境变量加载
|
2025-01-21 22:18:24 +08:00 |
|
|
79806c34d8
|
docs: 更新 README.md 中的功能列表
- 添加 helm 模板支持
- 更新 GitOps 部署,明确使用 argocd- 调整功能列表的格式,使描述更加清晰
|
2025-01-21 22:14:53 +08:00 |
|
|
1414be406d
|
refactor: 更新 Consul 服务地址配置
- 将配置文件中的 Consul 地址从具体 IP 修改为通用的 consul:8500
- 修改相关代码中的 Consul 解析地址为 consul:8500
-此更改提高了配置的可移植性和一致性,适用于开发、测试和生产环境
|
2025-01-21 21:51:34 +08:00 |
|
|
83a33f2668
|
docs(README): 添加 GitOps部署方式
- 在 README.md 文件中的部署方式列表中添加了 GitOps 部署- 此次更新反映了项目支持的新的部署方式,提高了文档的完整性和准确性
|
2025-01-21 21:50:31 +08:00 |
|
|
802e6498c8
|
ci:简化 GitHub Actions 工作流输出
-移除了不必要的输出项,只保留版本号
- 更新了 yq 命令和提交信息中版本号的引用
|
2025-01-21 21:46:29 +08:00 |
|
|
5cae75ce26
|
ci:优化 Docker 发布工作流
- 移除了不必要的空行
- 在 cosign sign步骤添加了输出变量
- 优化了 update-manifest 步骤的 needs 参数格式
|
2025-01-21 21:37:15 +08:00 |
|
|
1f60d18316
|
ci: 更新 Docker 镜像标签变量引用
- 修正 yq 命令中标签值的引用,使用正确的变量 ${{ needs.build.outputs.meta.outputs.version }}
- 更新 Git 自动提交消息中的变量引用,确保提交信息反映正确的镜像标签
|
2025-01-21 21:01:53 +08:00 |
|
|
4116fc71ef
|
ci: 更新 Docker 镜像发布配置
- 将 REGISTRY2 变量从 git.suyiiyii.top 修改为 registry.cn-shenzhen.aliyuncs.com
- 更新登录 REGISTRY2 所需的用户名和密码环境变量
|
2025-01-21 20:49:43 +08:00 |
|
|
2b75a2f97a
|
ci:修正 yq命令中标签值的引用- 将 yq 命令中的 '${{ needs.build.outputs.meta.outputs.tags }}' 修改为 '${{ needs.build.steps.meta.outputs.tags }}'- 此修改解决了标签值引用错误导致的问题
|
2025-01-21 20:49:33 +08:00 |
|
|
7a979cd1a0
|
ci(docker): 为 manifest 更新操作添加 GITHUB_TOKEN
在更新 manifest 时添加 GITHUB_TOKEN以解决权限问题。这个改动解决了在没有适当
权限时无法成功更新 manifest 的问题。
|
2025-01-21 20:38:42 +08:00 |
|
|
3e7652eeb2
|
ci:为 update-manifest job 添加仓库写权限
- 在 GitHub Actions 工作流中为 update-manifest job 添加 contents: write权限
- 这个修改是为了确保 job 能够正确更新仓库中的 manifests
|
2025-01-21 20:28:24 +08:00 |
|
|
14ad5aba68
|
ci: 更新 Docker 发布流程和镜像标签
- 在 Docker 发布流程中添加 update-manifest步骤
- 使用 yq 更新 values.yaml 中的镜像标签- 自动提交更新后的 manifest
|
2025-01-21 20:22:42 +08:00 |
|
|
0eb6f1d6e7
|
ci: 更新 Docker 镜像构建和发布流程
- 添加日期和提交 ID 环境变量,用于镜像标签
- 在 Docker 元数据提取步骤中添加标签参数
- 更新 Cosign签名步骤的输出
- 新增在推送事件后自动更新 manifest 分支的步骤
|
2025-01-21 20:16:42 +08:00 |
|
|
0e831b0fb5
|
Merge pull request #4 from suyiiyii/dependabot/go_modules/rpc_gen/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.24.0 to 0.33.0 in /rpc_gen
|
2025-01-21 19:44:04 +08:00 |
|
dependabot[bot]
|
a08c279e51
|
build(deps): bump golang.org/x/net from 0.24.0 to 0.33.0 in /rpc_gen
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.33.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2025-01-21 11:33:38 +00:00 |
|
|
3b3b87578f
|
update README.md
|
2025-01-21 19:23:42 +08:00 |
|
|
7d0ea25680
|
ci:修复 Docker 构建推送动作的版本引用
-将 docker/build-push-action 的版本从 v5.0.0 修改为 v5.0.0
- 修正了版本号中的拼写错误(将 rab88bba5387d719585280857ece09 更正为 ab88bba5387d719585280857ece09)
- 此更改确保了 CI 工作流程中 Docker 构建推送步骤的正确执行
|
2025-01-21 10:41:03 +08:00 |
|
|
dd94f229f8
|
ci(docker): 双平台发布 Docker 镜像
- 新增 Gitea 注册表作为第二个镜像发布平台
- 实现了在 GitHub Actions 中登录 Gitea 注册表并发布镜像
- 保留了原有的 GitHub Container Registry 发布流程
|
2025-01-21 10:39:02 +08:00 |
|
|
050e1480ae
|
chore: 移除 .idea 目录下的配置文件
- 删除了 .idea 目录下的多个配置文件,包括 .gitignore、hertz101.iml、modules.xml 和 vcs.xml
- 在根目录的 .gitignore 文件中添加了 .idea 目录,以忽略整个 .idea 文件夹
|
2025-01-21 10:28:00 +08:00 |
|
|
e204ccb2a7
|
feat(user): update repo deps
|
2025-01-21 10:23:21 +08:00 |
|
|
56839f5ded
|
build(conf): 更新配置文件处理依赖
- 在 app/facade/conf 和 app/user/conf 模块中添加 validator 和 yaml 库的导入
- 调整导入库的顺序,提高代码可读性
|
2025-01-20 23:46:29 +08:00 |
|
|
1f3066be16
|
feat(app): 添加 Dockerfile 和 .dockerignore 文件
- 在 app/facade 和 app/user 目录下新增 Dockerfile 文件,用于构建 Docker 镜像
- 在 app/facade 和 app/user目录下新增 .dockerignore 文件,用于指定不需要复制到容器中的文件和目录
- 更新 app/facade/conf/conf.go 和 app/user/conf/conf.go,使用 embed 包嵌入配置文件
- 移除不必要的库引用,简化代码结构
|
2025-01-20 23:41:18 +08:00 |
|
|
40a270c9d6
|
ci(docker): 更新 Docker 构建和发布工作流
-为不同的服务添加构建矩阵,支持 facade、auth 和 user 服务- 更新镜像名称,包含服务名称后缀
- 修改构建上下文,针对每个服务单独构建
|
2025-01-20 23:39:54 +08:00 |
|
|
e3aa2b22da
|
ci: 注释掉测试步骤- 在 GitHub Actions 工作流文件中注释掉了测试步骤- 这可能会影响测试覆盖率,但可能是暂时性的调整
|
2025-01-20 23:37:12 +08:00 |
|
|
3c12297e31
|
ci(github): 更新 Go 工作流以支持多个服务
- 添加矩阵策略,为 facade、auth 和 user 服务配置构建和测试
- 修改构建和测试步骤,以针对矩阵中的每个服务执行
|
2025-01-20 23:35:52 +08:00 |
|
|
1fc07c53be
|
Update go.yml
|
2025-01-20 23:32:09 +08:00 |
|
|
8f3d42dbde
|
Create docker-publish.yml
|
2025-01-20 23:30:48 +08:00 |
|
|
701a2661ae
|
Create go.yml
|
2025-01-20 23:30:34 +08:00 |
|
|
7f02ded1c2
|
build(auth): 添加 Dockerfile 和 .dockerignore 文件
- 新增 Dockerfile 用于构建和运行认证服务
- 添加 .dockerignore 文件以排除不必要的文件和目录
|
2025-01-20 23:24:16 +08:00 |
|
|
770687a2f6
|
feat(auth): 嵌入配置文件到可执行文件
- 使用 go:embed 导入配置文件,避免在运行时读取文件系统中的配置
- 移除了文件读取相关代码,简化了配置加载过程
- 这种方法提高了应用程序的可移植性和安全性
|
2025-01-20 23:21:21 +08:00 |
|
|
bf0daf8742
|
Merge remote-tracking branch 'refs/remotes/origin/main'
|
2025-01-20 23:07:16 +08:00 |
|
|
b1152c9ccd
|
auth: comment out dal.Init() in main function
|
2025-01-20 23:06:31 +08:00 |
|
|
1300485f35
|
update deps
|
2025-01-21 06:39:03 +08:00 |
|
|
7973802d96
|
hertz: add rpc call
|
2025-01-21 06:38:58 +08:00 |
|
|
dcb28a8459
|
update deps
|
2025-01-21 06:33:01 +08:00 |
|
|
2a409bdd2a
|
Merge pull request #3 from suyiiyii/dependabot/go_modules/app/facade/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.24.0 to 0.33.0 in /app/facade
|
2025-01-20 22:53:30 +08:00 |
|
dependabot[bot]
|
38e9008b4f
|
build(deps): bump golang.org/x/net from 0.24.0 to 0.33.0 in /app/facade
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.24.0...v0.33.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2025-01-20 14:52:46 +00:00 |
|
|
19851da7f1
|
successfully run facade
|
2025-01-20 21:45:01 +08:00 |
|
|
98273c7645
|
generate facade service
|
2025-01-20 21:17:47 +08:00 |
|
|
57b1f544d4
|
docs: add README for Hertz101 project with project overview and features
|
2025-01-20 20:33:41 +08:00 |
|
|
f7ed1821f6
|
Merge pull request #2 from suyiiyii/dependabot/go_modules/app/auth/golang.org/x/net-0.33.0
build(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 in /app/auth
|
2025-01-20 20:31:10 +08:00 |
|
dependabot[bot]
|
47b4b916e7
|
build(deps): bump golang.org/x/net from 0.27.0 to 0.33.0 in /app/auth
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.27.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.33.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2025-01-20 12:30:09 +00:00 |
|
|
5aabb0dfcc
|
Merge pull request #1 from suyiiyii/dependabot/go_modules/app/auth/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /app/auth
|
2025-01-20 20:28:52 +08:00 |
|
dependabot[bot]
|
d58ca9e77c
|
build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /app/auth
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.31.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2025-01-20 12:05:34 +00:00 |
|
|
033579702f
|
使用 viper 从 consul 读取配置文件
|
2025-01-20 20:03:45 +08:00 |
|