souls 0.38.3 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 717828ee9decce7c509e5b279a257e4a08f38fee4d7774b623de3bdb7432b28f
|
4
|
+
data.tar.gz: 7b03b2ece6ac27e53e2174f8cab6e4b1d61bea9edd8ee2c174e8480567fa0e7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5dea91114ae16e804e74ccd174ee24a4c10dda03afa728b9e8b31051ca119faaa3f4309e5b15530d0d97c83f15b34606c7251438943cb70cd006f1dde3b8a86
|
7
|
+
data.tar.gz: 5ff0aebfeae0fd215bdb3de186e6851c39aefe2a9ffb47c452bef3fb249f1ce26c4c107d904999d9b18a765fc677e8e74c3fbf04737d0ad00c4aa907b60e5f92
|
@@ -8,6 +8,7 @@ module Souls
|
|
8
8
|
create_firewall_ssh(app_name: app_name)
|
9
9
|
create_subnet(app_name: app_name, region: region, range: range)
|
10
10
|
create_connector(app_name: app_name, region: region)
|
11
|
+
create_router(app_name: app_name, region: region)
|
11
12
|
create_external_ip(app_name: app_name, region: region)
|
12
13
|
create_nat(app_name: app_name, region: region)
|
13
14
|
nat_credit(app_name: app_name)
|
@@ -53,6 +54,11 @@ module Souls
|
|
53
54
|
)
|
54
55
|
end
|
55
56
|
|
57
|
+
def create_router(app_name: "", region: "asia-northeast1")
|
58
|
+
app_name = Souls.configuration.app if app_name.blank?
|
59
|
+
system("gcloud compute routers create #{app_name}-router --network=#{app_name} --region=#{region}")
|
60
|
+
end
|
61
|
+
|
56
62
|
def create_external_ip(app_name: "", region: "asia-northeast1")
|
57
63
|
app_name = Souls.configuration.app if app_name.blank?
|
58
64
|
system("gcloud compute addresses create #{app_name}-worker-ip --region=#{region}")
|
@@ -99,9 +105,9 @@ module Souls
|
|
99
105
|
|
100
106
|
Edit `.github/workflow/worker.yml`
|
101
107
|
|
102
|
-
Add these 2 options in `- name: Deploy to Cloud Run` step
|
103
|
-
--vpc-connector=#{app_name}-connector \
|
104
|
-
--vpc-egress=all \
|
108
|
+
Add these 2 options in \n`- name: Deploy to Cloud Run` step
|
109
|
+
\n--vpc-connector=#{app_name}-connector \
|
110
|
+
\n--vpc-egress=all \
|
105
111
|
|
106
112
|
TEXT
|
107
113
|
cd = Paint[endroll, :white]
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.18.0
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.18.0
|