Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
use updated dockerdns (#101)
Browse files Browse the repository at this point in the history
* use updated dockerdns

* rubocop appeasement

* do not pull always
  • Loading branch information
davidsiaw authored Jun 10, 2024
1 parent 093ebd0 commit 1c3e450
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 25 deletions.
37 changes: 15 additions & 22 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-08-05 04:59:54 UTC using RuboCop version 1.33.0.
# on 2024-06-07 07:43:43 UTC using RuboCop version 1.50.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand All @@ -15,7 +15,7 @@ Bundler/OrderedGems:
- 'docs/Gemfile'

# Offense count: 1
# Configuration parameters: Include.
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
Expand All @@ -27,45 +27,38 @@ Layout/EmptyLinesAroundMethodBody:
Exclude:
- 'docs/source/main.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Lint/AmbiguousOperator:
Exclude:
- 'lib/kaiser/cli.rb'

# Offense count: 3
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/plugin_spec.rb'

# Offense count: 11
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
# Offense count: 13
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 58

# Offense count: 7
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 162
Max: 28

# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Exclude:
- 'lib/kaiser/cli.rb'
Max: 477

# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 8

# Offense count: 16
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Offense count: 17
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 44
Max: 45

# Offense count: 1
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Expand All @@ -74,7 +67,7 @@ Metrics/ParameterLists:

# Offense count: 14
# Configuration parameters: ForbiddenDelimiters.
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
Exclude:
- 'lib/kaiser/cmds/attach.rb'
Expand All @@ -95,7 +88,7 @@ Naming/HeredocDelimiterNaming:
# Offense count: 1
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
Exclude:
- 'spec/plugin_spec.rb'
Expand All @@ -107,7 +100,7 @@ Style/Documentation:

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 134
5 changes: 3 additions & 2 deletions lib/kaiser/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,9 @@ def ensure_setup
--name #{Config.config[:shared_names][:dns]}
--network #{Config.config[:networkname]}
--privileged
-v /var/run/docker.sock:/docker.sock:ro
phensley/docker-dns
-e DOCKER_HOST='unix:///var/run/docker.sock'
-v /var/run/docker.sock:/var/run/docker.sock:ro
davidsiaw/dockerdns
--domain #{http_suffix}
--record :#{ip_of_container(Config.config[:shared_names][:nginx])}"
)
Expand Down
2 changes: 1 addition & 1 deletion lib/kaiser/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Kaiser
VERSION = '0.8.1'
VERSION = '0.8.2'
end

0 comments on commit 1c3e450

Please sign in to comment.