Commit Graph

1095 Commits

Author SHA1 Message Date
Haitao Pan
23cf4c1201 update vpn-overlay/README.md 2025-04-02 21:43:04 +08:00
Haitao Pan
be60f3e617 feat(script): add vpn-overlay config 2025-04-02 15:19:12 +08:00
shenlan
aedee35c2f Merge pull request #42 from svc-design/iac_modules_pulumi-scripts
 Simplify Pulumi passphrase and teardown process
2025-03-31 10:10:33 +08:00
Haitao Pan
fe99e929de Simplify Pulumi passphrase and teardown process
- Auto-load ~/.pulumi-passphrase if available
- Improve 'down' command: destroy → refresh → stack rm
- Default EC2 instances to associate public IP
- Cleaned up help menu and removed old 'delete' logic
2025-03-31 10:09:30 +08:00
shenlan
b844db53bb Merge pull request #41 from svc-design/iac_modules_pulumi
Iac modules pulumi
2025-03-30 20:46:39 +08:00
Haitao Pan
ceef428b07 feat(script): async destroy with auto refresh 2025-03-30 20:45:28 +08:00
Haitao Pan
af8a848faa feat(iac): 完善 EC2/VPC/SG 模块,支持 AMI 自动解析与资源依赖控制
- 💡 支持 config/ 中通过关键词定义 EC2 实例的 AMI(如 'Ubuntu 22.04')
- ⚙️ 安全组规则支持 source_ranges/egress_ranges 配置化控制
-  增强 create_instances 函数,支持 user_data、spot/ondemand、TTL、owner 等标签
- 🔗 自动构建依赖关系,确保 VPC/Subnet/SG 完成后再部署 EC2
- ☁️ 使用 boto3 检查 AWS credentials,有效支持 ~/.aws/config profile 管理
- 🛠️ 支持 config 中动态启用/禁用模块(vpc/security_group/ec2)
- 🌐 完整验证 pulumi up/destroy/refresh 流程,确保干净状态

This commit enables modular, dynamic provisioning of AWS VPC, EC2 and Security Groups with Pulumi.
Supports keyword-based AMI resolution, secure profile-based credential loading, and full lifecycle control.
2025-03-30 20:30:08 +08:00
shenlan
a638f0ad4b Merge pull request #39 from svc-design/dependabot/npm_and_yarn/app/js-demo/backend/multi-b4d14387f7
build(deps): bump body-parser and express in /app/js-demo/backend
2025-03-30 16:33:26 +08:00
shenlan
23f447a31a Merge pull request #40 from svc-design/dependabot/npm_and_yarn/app/js-demo/backend/multi-6bc014718a
build(deps): bump path-to-regexp and express in /app/js-demo/backend
2025-03-30 16:32:47 +08:00
Haitao Pan
30779f819d feat(run.sh): add pip config for using Tsinghua PyPI mirror 2025-03-29 13:18:45 +08:00
Haitao Pan
81410d56bc fix(run.sh): ensure Pulumi uses virtualenv Python and auto-install SDK if missing 2025-03-29 13:13:43 +08:00
Haitao Pan
892302a5b5 feat: add venv support and restructure Pulumi config for non-interactive IaC workflow
- Use PROJECT_ROOT for all module paths (Pulumi, Terraform, Ansible)
- Move requirements.txt to project root and auto-create .venv if missing
- Setup pip dependencies before pulumi up
- Add non-interactive pulumi stack select/init
- Clean up old pulumi/requirements.txt
- Update .gitignore to exclude .venv, Pulumi and Terraform state files
2025-03-29 12:58:44 +08:00
Haitao Pan
c2020da184 feat(iac): Refactor structure and support multi-environment config loading
- Add config/sit and other environment-specific config directories
- Refactor deploy.py to support CONFIG_PATH environment variable
- Enable automatic merging of config/*/*.yaml files
- Enhance run.sh with Pulumi/Ansible/Terraform initialization checks
- Add inventory.py to dynamically generate Ansible hosts
- Improve ec2_instance.py with modular instance creation
- Organize base.yaml, vpc.yaml and related config files"
2025-03-29 11:09:24 +08:00
dependabot[bot]
3e7d4eaffd build(deps): bump path-to-regexp and express in /app/js-demo/backend
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `path-to-regexp` from 0.1.7 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.12)

Updates `express` from 4.18.2 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.21.2)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-28 12:30:09 +00:00
dependabot[bot]
bc4dc1696f build(deps): bump body-parser and express in /app/js-demo/backend
Bumps [body-parser](https://github.com/expressjs/body-parser) to 1.20.3 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `body-parser` from 1.20.1 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.1...1.20.3)

Updates `express` from 4.18.2 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.21.2)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-28 12:30:07 +00:00
Haitao Pan
cb57cb6782 add scripts/clean_git_binaries_fixed.sh 2025-03-28 20:12:48 +08:00
Haitao Pan
3f04917c98 merged: go-demo js-demo python python-demo rust-demo 2025-03-28 19:37:59 +08:00
Haitao Pan
0d4f42e7ad merged app demo code repos 2025-03-24 21:12:20 +08:00
shenlan
c07684a9e5 Merge pull request #30 from svc-design/iac_modules
Merged iac_modules repo
2025-03-24 20:57:52 +08:00
shenlan
57c07edcfb Merge pull request #29 from svc-design/Solutions
merged: observability, aigc_app_engine, containerd_platform, micro_se…
2025-03-24 20:56:54 +08:00
Haitao Pan
d1b1631f69 merged: observability, aigc_app_engine, containerd_platform, micro_service, sso_identity_provider, devops 2025-03-24 20:53:24 +08:00
Haitao Pan
43bcb35ab6 Merged iac_modules repo 2025-03-24 20:26:07 +08:00
shenlan
b133f30b7c Merge pull request #27 from svc-design/svc-design-patch-10
Update README.md
2025-03-24 20:19:47 +08:00
shenlan
2150010ef4 Merge pull request #28 from svc-design/terraform-backend-graph-database
add Solutions/terraform-backend-graph-database
2025-03-24 20:19:33 +08:00
Haitao Pan
8a59203eb4 add Solutions/terraform-backend-graph-database 2025-03-24 20:12:57 +08:00
shenlan
f581449857 Update README.md 2025-01-21 11:48:58 +08:00
Haitao Pan
a1132d9729 workflows/app-pipeline-keycloak-server: update 2025-01-21 11:47:01 +08:00
shenlan
7f89b26903 Merge pull request #26 from svc-design/svc-design-patch-9
Update README.md
2025-01-18 16:22:40 +08:00
shenlan
20507b2ac4 Update README.md 2025-01-18 16:22:24 +08:00
shenlan
463c9c8f64 Merge pull request #25 from svc-design/svc-design-patch-8
Update README.md
2025-01-18 16:21:37 +08:00
shenlan
71203e37ba Update README.md 2025-01-18 15:23:41 +08:00
shenlan
a00acd710c Merge pull request #24 from svc-design/svc-design-patch-7
Update README.md
2025-01-18 15:22:13 +08:00
shenlan
bc912b0465 Update README.md 2025-01-18 15:10:22 +08:00
shenlan
921a9c2735 Merge pull request #23 from svc-design/svc-design-patch-6
Update README.md
2025-01-17 21:36:29 +08:00
shenlan
1a7302441a Update README.md 2025-01-17 21:36:16 +08:00
shenlan
9232372a12 Merge pull request #22 from svc-design/svc-design-patch-5
Update README.md
2025-01-17 21:03:01 +08:00
shenlan
ccfb036ebf Update README.md 2025-01-17 21:02:48 +08:00
shenlan
3a3e429a7e Merge pull request #21 from svc-design/svc-design-patch-4
Update README.md
2025-01-17 20:40:54 +08:00
shenlan
ab9cece1a6 Update README.md 2025-01-16 21:40:21 +08:00
shenlan
917db0b3dd Merge pull request #20 from svc-design/svc-design-patch-2
Update README.md
2025-01-16 20:22:47 +08:00
shenlan
fc57fc42e0 Update README.md 2025-01-16 19:20:12 +08:00
shenlan
7a22e1f037 Merge pull request #19 from svc-design/svc-design-patch-1
Update README.md
2025-01-16 13:14:22 +08:00
shenlan
7eb4720010 Update README.md 2025-01-16 13:07:12 +08:00
Haitao Pan
cce463f0fa README.md: update 2025-01-14 19:52:44 +08:00
Haitao Pan
7c7a4ebd51 README.md: update 2025-01-14 19:44:41 +08:00
Haitao Pan
93f26c62dc Tested: KafkaConsumer.py KafkaProducer.py KafkaConsumerCheck.py 2025-01-11 18:54:03 +08:00
Haitao Pan
0c36d217b8 Tested: KafkaConsumer.py KafkaProducer.py 2025-01-11 08:43:02 +00:00
Haitao Pan
2a86d5683b update 2025-01-08 14:37:23 +08:00
Haitao Pan
24fd98a6de move cn-k3s-all-in-one.sh set-node-label.sh -> repo:ansible 2025-01-08 05:34:24 +00:00
Haitao Pan
42bee64f40 update 2025-01-08 05:32:46 +00:00