mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-08-08 08:33:56 +02:00
Compare commits
51 Commits
v3.9.0
...
depfu-upda
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3f4cb2ea77 | ||
c9caa5ba66 | |||
6a933194f3 | |||
e546d03d9f | |||
![]() |
65d52675c9 | ||
![]() |
636d6f6379 | ||
![]() |
26381244aa | ||
![]() |
d51937c68b | ||
![]() |
dbc4073b66 | ||
![]() |
d83f8d8e69 | ||
95acdcbc70 | |||
![]() |
38fdf44c1f | ||
![]() |
e3d57ea3aa | ||
![]() |
90166c8ef2 | ||
![]() |
98b413eb6b | ||
![]() |
43df61b819 | ||
![]() |
8ee945ed31 | ||
![]() |
1ae0642541 | ||
![]() |
be33b1917a | ||
![]() |
e6c9773b8e | ||
![]() |
5a54dbe0c7 | ||
![]() |
aa20275888 | ||
![]() |
049e14afa5 | ||
![]() |
54544b75d1 | ||
![]() |
3274741721 | ||
![]() |
8d8a85a78f | ||
![]() |
cdfe350828 | ||
![]() |
337c86f47b | ||
![]() |
20d359f328 | ||
![]() |
4cf6591f38 | ||
![]() |
5a9244694a | ||
![]() |
015ee60420 | ||
![]() |
2d4b94c129 | ||
![]() |
aefd59aea8 | ||
![]() |
10fd5699ac | ||
![]() |
ecf425dd61 | ||
![]() |
70ad2148b9 | ||
![]() |
93e252443a | ||
![]() |
d9f0119ab8 | ||
![]() |
bf225b8e6a | ||
![]() |
6a9e05fb97 | ||
![]() |
bc4210d5ce | ||
![]() |
a54235fcf2 | ||
![]() |
be87ba8f31 | ||
![]() |
5e947316f6 | ||
c71b23d35e | |||
2258edaae6 | |||
![]() |
f8878077cf | ||
![]() |
2deb5f3337 | ||
![]() |
ca92b894cb | ||
e45902f5cf |
10
.github/renovate.json5
vendored
10
.github/renovate.json5
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
extends: [
|
||||
"config:base",
|
||||
"config:recommended",
|
||||
":dependencyDashboard",
|
||||
":prHourlyLimitNone",
|
||||
":prConcurrentLimitNone",
|
||||
@@ -15,11 +15,6 @@
|
||||
commitMessageTopic: "{{depName}}",
|
||||
commitMessageExtra: "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
|
||||
packageRules: [
|
||||
// Ruby dependencies are managed by depfu
|
||||
{
|
||||
matchManagers: ["bundler"],
|
||||
enabled: false,
|
||||
},
|
||||
// Commit message formats
|
||||
{
|
||||
matchDatasources: ["docker"],
|
||||
@@ -30,8 +25,9 @@
|
||||
commitMessagePrefix: "ci: ",
|
||||
},
|
||||
],
|
||||
regexManagers: [
|
||||
customManagers: [
|
||||
{
|
||||
customType: "regex",
|
||||
fileMatch: ["\.rb$", "^Rakefile$"],
|
||||
matchStrings: [
|
||||
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.*_version = '(?<currentValue>.*)'\\s"
|
||||
|
8
.github/workflows/cd.yml
vendored
8
.github/workflows/cd.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
release-dockerimage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Extract dyndnsd version from tag name
|
||||
run: |
|
||||
@@ -33,16 +33,16 @@ jobs:
|
||||
|
||||
# https://github.com/marketplace/actions/build-and-push-docker-images
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: cmur2
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image for dyndnsd ${{ env.DYNDNSD_VERSION }}
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: docker
|
||||
build-args: |
|
||||
|
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -15,13 +15,15 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
ruby-version:
|
||||
- '3.0'
|
||||
- '3.1'
|
||||
- '3.2'
|
||||
- '3.3'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Ruby ${{ matrix.ruby-version }}
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
@@ -35,9 +37,19 @@ jobs:
|
||||
actionlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check workflow files
|
||||
run: |
|
||||
echo "::add-matcher::.github/actionlint-matcher.json"
|
||||
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
|
||||
./actionlint
|
||||
|
||||
renovate-config-validator:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/renovatebot/renovate
|
||||
options: --user root
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check Renovate config
|
||||
run: renovate-config-validator --strict
|
||||
|
22
CHANGELOG.md
22
CHANGELOG.md
@@ -1,5 +1,27 @@
|
||||
# Changelog
|
||||
|
||||
## 3.10.0
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
||||
- add Ruby 3.3 support
|
||||
|
||||
OTHER:
|
||||
|
||||
- update base of Docker image to Alpine 3.19.0 (from 3.18.3 before)
|
||||
|
||||
## 3.9.2 (August 10th, 2023)
|
||||
|
||||
OTHER:
|
||||
|
||||
- update base of Docker image to Alpine 3.18.3 (from 3.18.2 before)
|
||||
|
||||
## 3.9.1 (July 6, 2023)
|
||||
|
||||
OTHER:
|
||||
|
||||
- update base of Docker image to Alpine 3.18.2 (from 3.18.0 before)
|
||||
|
||||
## 3.9.0 (June 8, 2023)
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# dyndnsd.rb
|
||||
|
||||
 [](https://depfu.com/github/cmur2/dyndnsd)
|
||||

|
||||
|
||||
A small, lightweight and extensible DynDNS server written with Ruby and Rack.
|
||||
|
||||
|
11
Rakefile
11
Rakefile
@@ -14,18 +14,11 @@ task :solargraph do
|
||||
sh 'solargraph typecheck'
|
||||
end
|
||||
|
||||
namespace :solargraph do
|
||||
desc 'Should be run by developer once to prepare initial solargraph usage (fill caches etc.)'
|
||||
task :init do
|
||||
sh 'solargraph download-core'
|
||||
end
|
||||
end
|
||||
|
||||
# renovate: datasource=github-tags depName=hadolint/hadolint
|
||||
hadolint_version = 'v2.12.0'
|
||||
|
||||
# renovate: datasource=github-tags depName=aquasecurity/trivy
|
||||
trivy_version = 'v0.42.0'
|
||||
trivy_version = 'v0.50.4'
|
||||
|
||||
namespace :docker do
|
||||
ci_image = 'cmur2/dyndnsd:ci'
|
||||
@@ -78,4 +71,4 @@ end
|
||||
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
|
||||
|
||||
desc 'Run all tasks desired for CI'
|
||||
task ci: ['solargraph:init', :default, 'docker:lint', :build, 'docker:build', 'docker:e2e']
|
||||
task ci: [:default, 'docker:lint', :build, 'docker:build', 'docker:e2e']
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.18.0
|
||||
FROM alpine:3.19.1
|
||||
|
||||
EXPOSE 5353 8080
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.18.0
|
||||
FROM alpine:3.19.1
|
||||
|
||||
EXPOSE 5353 8080
|
||||
|
||||
|
@@ -42,8 +42,8 @@ Gem::Specification.new do |s|
|
||||
s.add_development_dependency 'rack-test'
|
||||
s.add_development_dependency 'rake'
|
||||
s.add_development_dependency 'rspec'
|
||||
s.add_development_dependency 'rubocop', '~> 1.52.0'
|
||||
s.add_development_dependency 'rubocop', '~> 1.61.0'
|
||||
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
||||
s.add_development_dependency 'rubocop-rspec', '~> 2.22.0'
|
||||
s.add_development_dependency 'solargraph', '~> 0.49.0'
|
||||
s.add_development_dependency 'rubocop-rspec', '~> 2.29.2'
|
||||
s.add_development_dependency 'solargraph', '~> 0.50.0'
|
||||
end
|
||||
|
@@ -107,7 +107,7 @@ module Dyndnsd
|
||||
puts "DynDNSd version #{Dyndnsd::VERSION}"
|
||||
puts "Using config file #{config_file}"
|
||||
|
||||
config = YAML.safe_load(File.read(config_file))
|
||||
config = YAML.safe_load_file(config_file)
|
||||
|
||||
setup_logger(config)
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Dyndnsd
|
||||
VERSION = '3.9.0'
|
||||
VERSION = '3.9.2'
|
||||
end
|
||||
|
Reference in New Issue
Block a user