vidar 1.13.0.rc1 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/vidar/config.rb +1 -0
- data/lib/vidar/run.rb +1 -1
- data/lib/vidar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f49ba8ac500ed7d75ede24961bb859230d6550bcf77312377827cc1cee6f11
|
4
|
+
data.tar.gz: 5ec6e8705ab756efdaf5ea87c8f310128da0cdb40bfb35e6f1312facfcae4f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b8f0d3b050007fb76499083227ce72aab6cebd611a62e57bfc9da2d37c525d71a47a8e45df864785fd967820ef108e81cf14dc8268cc60d0590e9a9548a52d3
|
7
|
+
data.tar.gz: 27735597405749d168b4fc3c40a77b8cf0ae052bda5d232c39dc76754ff5f39032b29a482a6f78918d8d5e9e90af6541dcefbff472be3232c3796542b296c371
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.13.0 - 2024-07-23
|
4
|
+
|
5
|
+
Make docker compose command configurable and use `docker compose` instead `docker-compose` by default
|
6
|
+
|
7
|
+
## 1.12.0 - 2024-07-09
|
8
|
+
|
9
|
+
Make it possible to customize max_tries in monitor_deploy_status (#92)
|
10
|
+
|
3
11
|
## 1.11.0 - 2024-06-04
|
4
12
|
|
5
13
|
Add set_image command.
|
data/Gemfile.lock
CHANGED
data/lib/vidar/config.rb
CHANGED
@@ -5,6 +5,7 @@ module Vidar
|
|
5
5
|
|
6
6
|
DEFAULT_OPTIONS = {
|
7
7
|
compose_file: -> { "docker-compose.ci.yml" },
|
8
|
+
compose_cmd: -> { "docker compose" },
|
8
9
|
default_branch: -> { (DEFAULT_BRANCHES & branches).first || DEFAULT_BRANCHES.first },
|
9
10
|
current_branch: -> { (ENV['SEMAPHORE_GIT_WORKING_BRANCH'] || `git rev-parse --abbrev-ref HEAD`.strip).tr("/", "-") },
|
10
11
|
revision: -> { `git rev-parse HEAD`.strip },
|
data/lib/vidar/run.rb
CHANGED
@@ -7,7 +7,7 @@ module Vidar
|
|
7
7
|
|
8
8
|
def docker_compose(command)
|
9
9
|
args = %w[revision current_branch].map { |arg| "#{arg.upcase}=#{Config.get!(arg.to_sym)}" }
|
10
|
-
system("#{args.join(' ')}
|
10
|
+
system("#{args.join(' ')} #{Config.get!(:compose_cmd)} -f #{Config.get!(:compose_file)} #{command}") || exit(1)
|
11
11
|
end
|
12
12
|
|
13
13
|
def kubectl(command, namespace: Config.get!(:namespace))
|
data/lib/vidar/version.rb
CHANGED