1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-08-08 08:33:56 +02:00

Compare commits

...

49 Commits

Author SHA1 Message Date
dependabot[bot]
921c187d33 gems: update async-dns requirement from ~> 1.3.0 to >= 1.3, < 1.5
Updates the requirements on [async-dns](https://github.com/socketry/async-dns) to permit the latest version.
- [Changelog](https://github.com/socketry/async-dns/blob/main/release.cert)
- [Commits](https://github.com/socketry/async-dns/compare/v1.3.0...v1.4.1)

---
updated-dependencies:
- dependency-name: async-dns
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 22:03:49 +00:00
cn
a2e4480e0a project: don't run solargraph by default 2025-02-27 23:02:48 +01:00
cn
466dd30ff4 gem: support Ruby 3.4 2025-02-27 23:02:48 +01:00
cn
07a2be0e7d gems: ignore irrelevant vulns in dev dependency solargraph 2025-02-27 23:02:48 +01:00
renovate[bot]
c2eab91a17 project: update aquasecurity/trivy to v0.59.1 2025-02-06 15:33:20 +01:00
renovate[bot]
957e9d851d project: update aquasecurity/trivy to v0.59.0 2025-02-03 10:15:22 +01:00
dependabot[bot]
45b5a7fb5f gems: update rubocop-rspec requirement from ~> 3.3.0 to ~> 3.4.0
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-02 21:13:29 +01:00
dependabot[bot]
8e0fc18f7c gems: update rubocop requirement from ~> 1.70.0 to ~> 1.71.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.70.0...v1.71.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-02 21:13:18 +01:00
dependabot[bot]
59c50396fb gems: update rubocop requirement from ~> 1.69.0 to ~> 1.70.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.69.0...v1.70.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 13:29:48 +01:00
renovate[bot]
d11dcc9b39 docker: update alpine Docker tag to v3.21.2 2025-01-09 10:04:27 +01:00
dependabot[bot]
9be5e929fb gems: update rubocop-rspec requirement from ~> 3.2.0 to ~> 3.3.0
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 16:26:00 +01:00
renovate[bot]
39796681ab docker: update alpine Docker tag to v3.21.0 2024-12-12 16:13:29 +01:00
dependabot[bot]
9a8b04085f gems: update rubocop requirement from ~> 1.68.0 to ~> 1.69.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.68.0...v1.69.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 13:31:00 +01:00
dependabot[bot]
90127eb00c gems: update rubocop requirement from ~> 1.67.0 to ~> 1.68.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.67.0...v1.68.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 22:25:59 +01:00
dependabot[bot]
b18c1d779f gems: update rubocop-rspec requirement from ~> 3.1.0 to ~> 3.2.0
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 12:15:27 +01:00
dependabot[bot]
9a77a511cd gems: update rubocop requirement from ~> 1.66.0 to ~> 1.67.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.66.0...v1.67.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 18:10:09 +02:00
dependabot[bot]
cfb5463bff gems: update rubocop-rspec requirement from ~> 3.0.1 to ~> 3.1.0
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 11:46:33 +02:00
renovate[bot]
45e82dc86a docker: update alpine Docker tag to v3.20.3 2024-09-12 10:39:51 +02:00
dependabot[bot]
8656fd141b gems: update rubocop requirement from ~> 1.65.0 to ~> 1.66.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.65.0...v1.66.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 14:05:16 +02:00
renovate[bot]
b9d9f41913 project: update aquasecurity/trivy to v0.54.1 2024-08-01 16:12:13 +02:00
renovate[bot]
b88b109259 docker: update alpine Docker tag to v3.20.2 2024-07-25 08:52:21 +02:00
dependabot[bot]
80e91fcb5d gems: update rubocop requirement from ~> 1.64.0 to ~> 1.65.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 14:17:02 +02:00
renovate[bot]
5d09b50b0e project: update aquasecurity/trivy to v0.53.0 2024-07-04 14:49:25 +02:00
renovate[bot]
e18bc8910c docker: update alpine Docker tag to v3.20.1 2024-06-27 10:15:08 +02:00
renovate[bot]
e145885b57 ci: update docker/build-push-action action to v6 2024-06-20 16:05:40 +02:00
dependabot[bot]
76c9208940 gems: update rubocop-rspec requirement from ~> 2.31.0 to ~> 3.0.1
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.31.0...v3.0.1)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 15:32:08 +02:00
dependabot[bot]
0ab9ace8c8 gems: update rubocop-rspec requirement from ~> 2.30.0 to ~> 2.31.0
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 13:21:42 +02:00
renovate[bot]
27867076f3 project: update aquasecurity/trivy to v0.52.0 2024-06-06 10:50:20 +02:00
dependabot[bot]
8a270e37fc gems: update rubocop-rspec requirement from ~> 2.29.2 to ~> 2.30.0
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.29.2...v2.30.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 13:59:06 +02:00
renovate[bot]
d1e3d6f9d2 project: update aquasecurity/trivy to v0.51.4 2024-05-30 09:10:56 +02:00
dependabot[bot]
dc0eb621e7 gems: update rubocop requirement from ~> 1.63.5 to ~> 1.64.0
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.63.5...v1.64.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 16:16:29 +02:00
renovate[bot]
78b4f956cd project: update aquasecurity/trivy to v0.51.2 2024-05-23 13:42:13 +02:00
Christian Nicolai
85c6378d73 ci: update wait time for Docker E2E test 2024-05-23 13:41:34 +02:00
renovate[bot]
556f087a10 docker: update alpine Docker tag to v3.20.0 2024-05-23 13:41:34 +02:00
Christian Nicolai
c962f3eb84 gems: downgrade solargraph to version 0.49.0
This revert be33b1917a due to https://github.com/castwide/solargraph/issues/701
2024-05-23 13:39:55 +02:00
dependabot[bot]
581885daa0 gems: update rubocop-rspec requirement from ~> 2.26.1 to ~> 2.29.2
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.26.1...v2.29.2)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 22:18:52 +02:00
dependabot[bot]
267a96bf73 gems: update rubocop requirement from ~> 1.61.0 to ~> 1.63.5
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.61.0...v1.63.5)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 21:46:44 +02:00
renovate[bot]
44a4a28094 project: update aquasecurity/trivy to v0.51.1 2024-05-16 21:46:29 +02:00
3f962fa3bb docs: remove Depfu badge 2024-05-16 21:43:41 +02:00
1171e0cb92 gems: disable Depfu for Dependabot since PR creation fails 2024-05-16 21:41:43 +02:00
cn
6a933194f3 project: fix Renovate config 2024-05-16 17:26:48 +02:00
cn
e546d03d9f ci: add Renovate config validator 2024-05-16 17:26:48 +02:00
renovate[bot]
65d52675c9 project: update aquasecurity/trivy to v0.50.4 2024-04-25 10:58:03 +02:00
renovate[bot]
636d6f6379 project: update aquasecurity/trivy to v0.50.1 2024-03-28 02:26:20 +01:00
renovate[bot]
26381244aa project: update aquasecurity/trivy to v0.50.0 2024-03-21 10:26:13 +01:00
depfu[bot]
d51937c68b gems: update rubocop to version 1.61.0 2024-03-01 16:13:13 +01:00
renovate[bot]
dbc4073b66 project: update aquasecurity/trivy to v0.49.1 2024-02-08 10:49:32 +01:00
renovate[bot]
d83f8d8e69 docker: update alpine Docker tag to v3.19.1 2024-02-01 10:19:22 +01:00
cn
95acdcbc70 gem: support Ruby 3.3 2024-01-18 23:14:41 +01:00
10 changed files with 72 additions and 23 deletions

13
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
---
version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "gems"
labels: ["dependabot"]
open-pull-requests-limit: 10
pull-request-branch-name:
separator: "-"

View File

@@ -1,6 +1,6 @@
{
extends: [
"config:base",
"config:recommended",
":dependencyDashboard",
":prHourlyLimitNone",
":prConcurrentLimitNone",
@@ -30,8 +30,9 @@
commitMessagePrefix: "ci: ",
},
],
regexManagers: [
customManagers: [
{
customType: "regex",
fileMatch: ["\.rb$", "^Rakefile$"],
matchStrings: [
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.*_version = '(?<currentValue>.*)'\\s"

View File

@@ -42,7 +42,7 @@ jobs:
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push Docker image for dyndnsd ${{ env.DYNDNSD_VERSION }}
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: docker
build-args: |

View File

@@ -21,6 +21,8 @@ jobs:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
@@ -42,3 +44,13 @@ jobs:
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

View File

@@ -1,5 +1,21 @@
# Changelog
## 3.11.0
IMPROVEMENTS:
- add Ruby 3.4 support
## 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:

View File

@@ -1,6 +1,6 @@
# dyndnsd.rb
![ci](https://github.com/cmur2/dyndnsd/workflows/ci/badge.svg) [![Dependencies](https://badges.depfu.com/badges/4f25da8493f7a29f652ac892fbf9227b/overview.svg)](https://depfu.com/github/cmur2/dyndnsd)
![ci](https://github.com/cmur2/dyndnsd/workflows/ci/badge.svg)
A small, lightweight and extensible DynDNS server written with Ruby and Rack.

View File

@@ -3,11 +3,9 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'bundler/audit/task'
RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new
Bundler::Audit::Task.new
desc 'Run experimental solargraph type checker'
task :solargraph do
@@ -18,7 +16,7 @@ end
hadolint_version = 'v2.12.0'
# renovate: datasource=github-tags depName=aquasecurity/trivy
trivy_version = 'v0.48.3'
trivy_version = 'v0.59.1'
namespace :docker do
ci_image = 'cmur2/dyndnsd:ci'
@@ -50,7 +48,7 @@ namespace :docker do
chmod a+w e2e/db.json
SCRIPT
sh "docker run -d --name=dyndnsd-ci -v $(pwd)/e2e:/etc/dyndnsd -p 8080:8080 -p 5353:5353 #{ci_image}"
sh 'sleep 1'
sh 'sleep 5'
puts '----------------------------------------'
# `dig` needs `sudo apt-get install -y -q dnsutils`
sh <<~SCRIPT
@@ -68,7 +66,14 @@ namespace :docker do
end
end
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
namespace :bundle do
desc 'Check for vulnerabilities with bundler-audit'
task :audit do
sh 'bundler-audit check --ignore GHSA-vvfq-8hwr-qm4m'
end
end
task default: [:rubocop, :spec, 'bundle:audit']
desc 'Run all tasks desired for CI'
task ci: [:default, 'docker:lint', :build, 'docker:build', 'docker:e2e']

View File

@@ -1,4 +1,4 @@
FROM alpine:3.19.0
FROM alpine:3.21.2
EXPOSE 5353 8080

View File

@@ -1,4 +1,4 @@
FROM alpine:3.19.0
FROM alpine:3.21.2
EXPOSE 5353 8080

View File

@@ -27,23 +27,25 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 3.0'
s.add_runtime_dependency 'async', '~> 1.31.0'
s.add_runtime_dependency 'async-dns', '~> 1.3.0'
s.add_runtime_dependency 'metriks'
s.add_runtime_dependency 'opentelemetry-exporter-jaeger', '~> 0.22.0'
s.add_runtime_dependency 'opentelemetry-instrumentation-rack', '~> 0.22.0'
s.add_runtime_dependency 'opentelemetry-sdk', '~> 1.2.0'
s.add_runtime_dependency 'rack', '~> 3.0'
s.add_runtime_dependency 'rackup', '~> 2'
s.add_runtime_dependency 'webrick', '>= 1.6.1'
s.add_dependency 'async', '~> 1.31.0'
s.add_dependency 'async-dns', '>= 1.3', '< 1.5'
s.add_dependency 'base64', '~> 0.2.0' # needed for async
s.add_dependency 'logger', '~> 1.6.0'
s.add_dependency 'metriks'
s.add_dependency 'opentelemetry-exporter-jaeger', '~> 0.22.0'
s.add_dependency 'opentelemetry-instrumentation-rack', '~> 0.22.0'
s.add_dependency 'opentelemetry-sdk', '~> 1.2.0'
s.add_dependency 'rack', '~> 3.0'
s.add_dependency 'rackup', '~> 2'
s.add_dependency 'webrick', '>= 1.6.1'
s.add_development_dependency 'bundler'
s.add_development_dependency 'bundler-audit', '~> 0.9.0'
s.add_development_dependency 'rack-test'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rubocop', '~> 1.60.0'
s.add_development_dependency 'rubocop', '~> 1.71.0'
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
s.add_development_dependency 'rubocop-rspec', '~> 2.26.1'
s.add_development_dependency 'solargraph', '~> 0.50.0'
s.add_development_dependency 'rubocop-rspec', '~> 3.4.0'
s.add_development_dependency 'solargraph', '~> 0.49.0'
end