souls 0.33.10 → 0.33.14
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: 15f9c74575ad4f3d425e1e24a912c1018a0afcb6a75b013a8d1d4766c6ae522e
|
4
|
+
data.tar.gz: f77611374d57e3fef5cee516c86e54454f0bd8284a0e65b67e1d0ed7aecddc79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81049293753c7fbb341ce97c4064360e4255b34c7b3059e04f288d25e5619476db9a53a14ab65423da11399753f27b8c14afb3e91b94c9a89fd188c13b406c7a
|
7
|
+
data.tar.gz: 696d8002644a878f3cf8acfe3aebda9bd935a9096d9371e8f72185224c9fb11e980f553bd52b83a821a4e9e5a00c9c83f1eda656df201b2ee629eb30c9dfb606
|
@@ -28,10 +28,11 @@ module Souls
|
|
28
28
|
end
|
29
29
|
key = text.join(",").gsub(/^,/, "").chomp!
|
30
30
|
github_repo = `git remote show origin -n | grep 'Fetch URL:' | awk '{print $3}'`.strip
|
31
|
+
github_repo = "https://github.com/#{github_repo.match(/\:(.+).git/)[1]}" if github_repo.include?("git@github")
|
31
32
|
puts(Paint[key, :white])
|
32
33
|
puts(Paint["======= above(ここまで)=======", :cyan])
|
33
34
|
github_secret_url = "#{github_repo}/settings/secrets/actions"
|
34
|
-
souls_doc_url = "https://souls.elsoul.nl/docs/tutorial/zero-to-deploy/#
|
35
|
+
souls_doc_url = "https://souls.elsoul.nl/docs/tutorial/zero-to-deploy/#github-シークレットキーの登録"
|
35
36
|
txt1 = <<~TEXT
|
36
37
|
|
37
38
|
⬆⬆⬆ Copy the service account key above ⬆⬆⬆⬆
|
@@ -67,8 +68,10 @@ module Souls
|
|
67
68
|
"roles/pubsub.editor",
|
68
69
|
"roles/datastore.user",
|
69
70
|
"roles/iam.serviceAccountUser",
|
71
|
+
"roles/run.admin",
|
72
|
+
"roles/storage.admin",
|
70
73
|
"roles/storage.objectAdmin",
|
71
|
-
"roles/
|
74
|
+
"roles/iam.serviceAccounts.actAs"
|
72
75
|
]
|
73
76
|
roles.each do |role|
|
74
77
|
add_service_account_role(service_account: service_account, project_id: project_id, role: role)
|
@@ -4,7 +4,7 @@ module Souls
|
|
4
4
|
class << self
|
5
5
|
def create_instance(instance_name: "", root_pass: "Postgre123!", zone: "asia-northeast1-b")
|
6
6
|
instance_name = "#{Souls.configuration.app}-db" if instance_name.blank?
|
7
|
-
|
7
|
+
system(
|
8
8
|
"gcloud sql instances create #{instance_name} \
|
9
9
|
--database-version=POSTGRES_13 --cpu=2 --memory=7680MB --zone=#{zone} \
|
10
10
|
--root-password='#{root_pass}' --database-flags cloudsql.iam_authentication=on"
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.14
|
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.14
|