Commit Graph

1212 Commits

Author SHA1 Message Date
shenlan
c2b9eb897f
Update build-release.yml 2025-05-20 13:03:28 +08:00
shenlan
14c23a19fe
Merge pull request #82 from svc-design/svc-design-patch-2
Update and rename build-pulumigo.yml to build-release.yml
2025-05-20 13:01:51 +08:00
shenlan
e6bbd81605
Update build-release.yml 2025-05-20 12:53:43 +08:00
shenlan
95c027d567
Update build-release.yml 2025-05-20 12:37:06 +08:00
shenlan
90873d9e69
Update build-release.yml 2025-05-20 12:33:39 +08:00
shenlan
5f6250a20f
Update and rename build-pulumigo.yml to build-release.yml 2025-05-20 12:29:08 +08:00
shenlan
230a43e011
Merge pull request #81 from svc-design/svc-design-patch-1
Update Readme.md
2025-05-19 13:15:16 +08:00
shenlan
979aff26f5
Update Readme.md 2025-05-19 13:15:02 +08:00
shenlan
b64b99a7d0
Merge pull request #80 from svc-design/dependabot/go_modules/PulumiGo/github.com/gogo/protobuf-1.3.2
chore(deps): bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /PulumiGo
2025-05-19 13:09:10 +08:00
shenlan
70009419f4
Merge pull request #79 from svc-design/dependabot/go_modules/PulumiGo/google.golang.org/grpc-1.56.3
chore(deps): bump google.golang.org/grpc from 1.29.1 to 1.56.3 in /PulumiGo
2025-05-19 13:08:56 +08:00
dependabot[bot]
f3d7fa62c8
chore(deps): bump github.com/gogo/protobuf in /PulumiGo
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: github.com/gogo/protobuf
  dependency-version: 1.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 05:08:41 +00:00
dependabot[bot]
1712641171
chore(deps): bump google.golang.org/grpc in /PulumiGo
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.29.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.29.1...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.56.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 05:08:03 +00:00
shenlan
17b66dbd25
Merge pull request #77 from svc-design/dependabot/go_modules/PulumiGo/google.golang.org/protobuf-1.33.0
chore(deps): bump google.golang.org/protobuf from 1.24.0 to 1.33.0 in /PulumiGo
2025-05-19 13:07:35 +08:00
shenlan
a77d327615
Merge pull request #76 from svc-design/dependabot/go_modules/PulumiGo/golang.org/x/net-0.38.0
chore(deps): bump golang.org/x/net from 0.0.0-20200602114024-627f9648deb9 to 0.38.0 in /PulumiGo
2025-05-19 13:07:07 +08:00
dependabot[bot]
bb414b2e2c
chore(deps): bump google.golang.org/protobuf in /PulumiGo
Bumps google.golang.org/protobuf from 1.24.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-version: 1.33.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 05:07:02 +00:00
shenlan
1466570ec7
Merge pull request #75 from svc-design/dependabot/go_modules/PulumiGo/github.com/golang/glog-1.2.4
chore(deps): bump github.com/golang/glog from 0.0.0-20160126235308-23def4e6c14b to 1.2.4 in /PulumiGo
2025-05-19 13:05:42 +08:00
dependabot[bot]
e5d049785c
chore(deps): bump golang.org/x/net in /PulumiGo
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20200602114024-627f9648deb9 to 0.38.0.
- [Commits](https://github.com/golang/net/commits/v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 05:03:51 +00:00
dependabot[bot]
c70bb868a7
chore(deps): bump github.com/golang/glog in /PulumiGo
Bumps [github.com/golang/glog](https://github.com/golang/glog) from 0.0.0-20160126235308-23def4e6c14b to 1.2.4.
- [Release notes](https://github.com/golang/glog/releases)
- [Commits](https://github.com/golang/glog/commits/v1.2.4)

---
updated-dependencies:
- dependency-name: github.com/golang/glog
  dependency-version: 1.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 05:03:50 +00:00
shenlan
44b8d232c5
Merge pull request #73 from svc-design/PulumiGo
Pulumi go
2025-05-19 13:02:41 +08:00
Haitao Pan
9b30afee7d fix(ci): trigger release on merged pull_request 2025-05-19 13:01:06 +08:00
Haitao Pan
a07fcfd074 ci(pulumigo): split build, test, and release jobs for clarity and control 2025-05-19 11:55:40 +08:00
Haitao Pan
c78a1ba6a1 ci(pulumigo): add path-based trigger filter to build workflow
- Only trigger build on changes to main.go, cmd/, internal/, go.mod, go.sum
- Included .github/workflows/build-pulumigo.yml to allow workflow self-updates
- Schedule and manual dispatch remain available
2025-05-19 11:48:46 +08:00
Haitao Pan
b0cff02470 refactor(setup-dnat): refactor overlay config loading and current node variable extraction
- Replaced include_vars with set_fact to load overlay_config_path using standard YAML parser
- Combined overlay_data.sites and overlay_data.hubs to search for the current node by inventory_hostname
2025-05-19 11:32:30 +08:00
Haitao Pan
77d8f700d8 feat(setup-dnat): add DNAT role using overlay config with systemd integration 2025-05-19 11:32:30 +08:00
Haitao Pan
8f223c9327 refactor: migrate to PulumiGo structure and clean up CLI 2025-05-19 11:31:48 +08:00
shenlan
75d1ea931c
Merge pull request #74 from svc-design/vpn-overlay-wireguard-dnat
Vpn overlay wireguard dnat
2025-05-19 10:47:35 +08:00
Haitao Pan
13501153cd refactor(setup-dnat): refactor overlay config loading and current node variable extraction
- Replaced include_vars with set_fact to load overlay_config_path using standard YAML parser
- Combined overlay_data.sites and overlay_data.hubs to search for the current node by inventory_hostname
2025-05-19 10:44:26 +08:00
Haitao Pan
c287f03f52 feat(setup-dnat): add DNAT role using overlay config with systemd integration 2025-05-18 21:51:06 +08:00
Haitao Pan
494092ac5d Rename CloudWalker to PulumiGo 2025-05-16 19:41:03 +08:00
Haitao Pan
40c058beac Integrate Pulumi deployment logic
- Update Makefile to support Pulumi deployment commands
- Modify cmd/up.go to call the Pulumi deployment function
- Add pulumi.go, containing infrastructure deployment code
2025-05-16 17:57:07 +08:00
Haitao Pan
0fd4d49374 Initialize CloudWalker project structure and commands
- Add Makefile to support build, run, clean, and other commands
- Add CloudWalker CLI subcommands: init, up, down, export, import, ansible
- Generate go.mod file with cobra dependency
- Complete main.go and root.go, set up basic CLI startup
2025-05-16 17:50:51 +08:00
Haitao Pan
a1aa9fc5fd Support multi-peer site connections and unify node access structure, enhance tproxy configuration flexibility:
- Merge hubs and sites into node_map for unified access
- Refactor xray tproxy to use node_map and xray_xxx variables
- Update tproxy-config.json template references accordingly
- add vpn-keys entries including us-proxy, ca-proxy, icp-huawei
- Support list format for wireguard_peer to allow multiple peer connections
2025-05-14 17:51:23 +08:00
shenlan
3f092026af
Merge pull request #71 from svc-design/vpn-overlay
config(icp-aliyun): add WireGuard keys and xray client config
2025-05-14 11:39:03 +08:00
Haitao Pan
df5547e26c config(icp-aliyun): add WireGuard keys and xray client config 2025-05-12 16:25:56 +08:00
shenlan
68b4a30c7e
Merge pull request #70 from svc-design/vpn-overlay
Vpn overlay
2025-05-09 10:54:18 +08:00
Haitao Pan
5165a75e8d feat(vpn-overlay): update vxlan site setup
- Add vxlan-config.yaml.j2 template for vxlan site configuration
- Update setup_sit_vxlan.sh to support new vxlan deployment logic
2025-04-28 17:47:49 +08:00
Haitao Pan
d8367ba012 feat(vpn-overlay): dynamic Endpoint switching and WireGuard keys generation
- Support dynamic AllowedIPs and Endpoint based on enable_vless
- Fix wg1 -> wg0 in iptables rules
- Update config files
- Support dynamic WireGuard keys generation in gen_wireguard_keys.sh
2025-04-27 15:28:16 +08:00
Haitao Pan
24c6ff4de4 Merge branch 'main' into vpn-overlay 2025-04-27 13:49:15 +08:00
Haitao Pan
29685ad815 feat(wireguard-site): add iptables rules for traffic forwarding and NAT 2025-04-25 16:12:15 +08:00
Haitao Pan
0791158a1d chore(vxlan): add 'add' action placeholder to vxlan-setup systemd service
- Align with setup_sit_vxlan.sh which now supports 'add' and 'reset' modes
- Makes systemd unit compatible with explicit operation mode
2025-04-24 14:23:42 +08:00
Haitao Pan
8f6b3f6c2b feat(vxlan): add reset mode to setup_sit_vxlan.sh for cleanup 2025-04-24 13:28:35 +08:00
Haitao Pan
6c874ae754 feat(vxlan-overlay-hub): added and modified Ansible roles
- Added new role 'vxlan-overlay-hub' to ansible playbooks
- Renamed vpn-overlay.yaml playbook to vpn-overlay-vxlan-site.yaml
- Modified sit/vpn-overlay configuration according to the new setup
2025-04-23 11:48:51 +08:00
Haitao Pan
e9bd6ca9a8 feat(vpn-overlay): add deepflow-demo site config with VLESS WS+TLS
- Added new site 'deepflow-demo' under sit environment
- Configured WireGuard IP, bridge IP, local/remote IP
- Set VLESS endpoint (WS+TLS) with UUID and path
2025-04-22 14:09:53 +08:00
shenlan
4eab3289e3
Merge pull request #69 from svc-design/vpn-overlay-xray
feat(xray-site): add vpn-xray-client playbook and update site config …
2025-04-22 13:55:39 +08:00
Haitao Pan
66c5ed2e66 feat(xray-site): add vpn-xray-client playbook and update site config and template 2025-04-22 13:54:39 +08:00
shenlan
18db08ed93
Merge pull request #68 from svc-design/vpn-overlay-wireguard
refactor(wireguard-hub): restructure role path and update config files
2025-04-18 15:58:22 +08:00
Haitao Pan
ee5ae8759b refactor(wireguard-hub): restructure role path and update config files
- Moved WireGuard Hub role into playbooks directory structure
- Updated vpn-wireguard-hub.yaml to match new role path
- Modified vpn-keys.yaml and vpn-overlay.yaml
2025-04-18 15:56:21 +08:00
Haitao Pan
5aefe67164 feat(xray-tproxy): add playbook vpn-xray-tproxy 2025-04-18 13:17:12 +08:00
shenlan
aa948d62d1
Merge pull request #67 from svc-design/vpn-overlay-xray
Vpn overlay xray
2025-04-18 11:25:39 +08:00
Haitao Pan
5595e809ca refactor(xray-tproxy): split TProxy role from hub 2025-04-18 11:21:30 +08:00