renuo-cli 4.28.0 → 4.29.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: ea0940fbcb4f6adcee05932e3706029dfd00c20aae778925992fd20c4e4122d7
|
|
4
|
+
data.tar.gz: d00eb2084014053724e2c8dfdc6e4b1595bdf3edbfd7d3185d6edcc628bbfdd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aee1f47d1bac9b8082fb450f6b14e4225d6af5b30233cc129fa6b1559871d0901b40924ebbbf163ab88ea493a124cddacb3725fb087acdab47b58fd8088906ab
|
|
7
|
+
data.tar.gz: 672f554707e987a99d6dae554b2585a0bf4e7add4f69187e8a06df303e61e94938d6af17e28a54f2c8aa4624b6bafb3f2a9c2b5d56de06a69b14e7ab7bbe4a64
|
|
@@ -53,8 +53,9 @@ class Renuo::Cli::Commands::ConfigureSemaphore
|
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
def create_semaphore_deployment_targets
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
%w[main develop].each do |branch|
|
|
57
|
+
system("sem create dt #{branch} -p #{project_name} --object-rule branch,exact,#{branch}")
|
|
58
|
+
end
|
|
58
59
|
end
|
|
59
60
|
|
|
60
61
|
def render(template_file)
|
|
@@ -108,7 +108,9 @@ class Renuo::Cli::Commands::Release # rubocop:disable Metrics/ClassLength
|
|
|
108
108
|
end
|
|
109
109
|
|
|
110
110
|
def checkout_project
|
|
111
|
-
|
|
111
|
+
# Blobless clone: file contents are only fetched when needed, so large files in the history are skipped
|
|
112
|
+
clone = "git clone --filter=blob:none git@#{@host}:#{@repo_path}.git"
|
|
113
|
+
abort(">> Project not found.") unless system("#{MOVE_TO_TMP_FOLDER} && #{clone}")
|
|
112
114
|
|
|
113
115
|
system(cmd_in_folder("git checkout #{main_branch} && git pull origin #{main_branch} &&" \
|
|
114
116
|
"git checkout #{develop_branch} && git pull origin #{develop_branch}"))
|
|
@@ -45,7 +45,7 @@ class Renuo::Cli::Services::Deploio
|
|
|
45
45
|
def dropped_keys(*path, kind:)
|
|
46
46
|
env = copied_spec.dig(*path) || []
|
|
47
47
|
env.reject { |variable| keep_envs.include?(variable["sensitive"] ? "sensitive-#{kind}" : kind) }
|
|
48
|
-
.
|
|
48
|
+
.pluck("name")
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def copied_spec
|
data/lib/renuo/cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: renuo-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.29.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Renuo AG
|
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
181
181
|
- !ruby/object:Gem::Version
|
|
182
182
|
version: '0'
|
|
183
183
|
requirements: []
|
|
184
|
-
rubygems_version: 4.0.
|
|
184
|
+
rubygems_version: 4.0.23
|
|
185
185
|
specification_version: 4
|
|
186
186
|
summary: The Renuo CLI automates some common workflows.
|
|
187
187
|
test_files: []
|