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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6f92a203680ee7463edb1aaff645c09db42216cadfe900e3695d62b8cd4ab34
4
- data.tar.gz: c0a671fd573fc10e6a7543c13180d66faf53545f34aecf49cafd6adef95f8327
3
+ metadata.gz: 15f49ba8ac500ed7d75ede24961bb859230d6550bcf77312377827cc1cee6f11
4
+ data.tar.gz: 5ec6e8705ab756efdaf5ea87c8f310128da0cdb40bfb35e6f1312facfcae4f90
5
5
  SHA512:
6
- metadata.gz: 4f8339afe484debe18424cb285ced98e442d12da2b4a638ecfb6e59cb925e04e2f762ccd123358f8bc3e2b57c8432620b7a0e290b5203d36d75d9154dc68fedb
7
- data.tar.gz: 100c2d9e2d62142f3568092f346013079c8a3392575192b7fc5954d60dc9670f511d37b6648bb6f97ec8b78fa95a97c6ddec9c2a5b8e30d59026d3d9976e85e7
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vidar (1.13.0.rc1)
4
+ vidar (1.13.0)
5
5
  colorize
6
6
  faraday
7
7
  thor (~> 1.0)
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(' ')} docker compose -f #{Config.get!(:compose_file)} #{command}") || exit(1)
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
@@ -1,3 +1,3 @@
1
1
  module Vidar
2
- VERSION = '1.13.0.rc1'.freeze
2
+ VERSION = '1.13.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0.rc1
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik