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

Compare commits

...

33 Commits

Author SHA1 Message Date
Christian Nicolai
a2879c6c9a release: 3.5.3 2022-05-05 08:20:35 +02:00
Renovate Bot
f882381f9d project: update aquasecurity/trivy to v0.27.1 2022-04-28 09:03:03 +02:00
depfu[bot]
fb536da665 gems: update rubocop to version 1.28.1 2022-04-22 21:28:22 +02:00
Renovate Bot
49b7b07b52 project: update aquasecurity/trivy to v0.26.0 2022-04-21 08:38:14 +02:00
depfu[bot]
2854155db2 gems: update rubocop-rspec to version 2.10.0 2022-04-20 10:50:04 +02:00
Renovate Bot
b40c6f8c30 project: update aquasecurity/trivy to v0.25.4 2022-04-14 09:07:08 +02:00
depfu[bot]
44605f0f04 gems: update rubocop to version 1.27.0 2022-04-09 11:59:05 +02:00
Christian Nicolai
63bf4123bd release: 3.5.2 2022-04-07 08:51:07 +02:00
Renovate Bot
990d4617e8 project: update aquasecurity/trivy to v0.25.3 2022-04-07 08:47:04 +02:00
Renovate Bot
0030e41a8d project: update hadolint/hadolint to v2.10.0 2022-04-07 08:46:42 +02:00
Renovate Bot
97a913f97c docker: update alpine to v3.15.4 2022-04-07 08:46:28 +02:00
Renovate Bot
b1ff774a55 docker: update alpine to v3.15.3 2022-04-01 00:43:50 +02:00
Renovate Bot
683767ed8c project: update hadolint/hadolint to v2.9.3 2022-04-01 00:43:41 +02:00
Renovate Bot
a45c1cca82 docker: update alpine to v3.15.2 2022-03-24 09:53:09 +01:00
Renovate Bot
0a053ad577 project: update aquasecurity/trivy to v0.24.4 2022-03-24 09:53:00 +01:00
Renovate Bot
51eae6da2f project: update hadolint/hadolint to v2.9.2 2022-03-24 09:52:40 +01:00
Renovate Bot
fa1d9c7e30 docker: update alpine to v3.15.1 2022-03-17 09:04:14 +01:00
Renovate Bot
b56adc8b79 project: update aquasecurity/trivy to v0.24.3 2022-03-17 08:45:35 +01:00
Renovate Bot
88c8bcefeb project: update hadolint/hadolint to v2.9.1 2022-03-17 08:45:23 +01:00
depfu[bot]
6c8510910a gems: update rubocop to version 1.26.0 2022-03-10 20:44:12 +01:00
Renovate Bot
6faae0d0fd project: update aquasecurity/trivy to v0.24.2 2022-03-10 08:58:39 +01:00
Renovate Bot
3b34e00fc3 project: update actions/checkout action to v3 2022-03-03 17:31:17 +01:00
Renovate Bot
d1463cc790 project: update aquasecurity/trivy to v0.24.1 2022-03-03 08:33:57 +01:00
depfu[bot]
aea182efcb gems: update rubocop-rspec to version 2.9.0 2022-03-01 14:07:08 +01:00
Renovate Bot
990dc14a48 project: update aquasecurity/trivy to v0.24.0 2022-02-24 08:39:35 +01:00
cn
558445af2e release: 3.5.1 2022-02-17 10:09:17 +01:00
cn
3f784ccaa1 ci: fix Trivy command after update 2022-02-17 10:06:51 +01:00
cn
dbc61d72fb ci: use actionlint on GHA workflows
- https://github.com/rhysd/actionlint is cool
2022-02-16 00:05:40 +01:00
cn
2838ad9eae ci: use JSON schema for GHA workflows 2022-02-11 01:29:46 +01:00
Christian Nicolai
84e513b4a2 ci: trivy 0.23.0 deprecated the light DB 2022-02-03 09:03:08 +01:00
Renovate Bot
0a4a052cc9 project: update aquasecurity/trivy to v0.23.0 2022-02-03 09:02:03 +01:00
depfu[bot]
b9f0a07aba gems: update rubocop-rspec to version 2.8.0 2022-01-25 13:37:46 +01:00
depfu[bot]
cb9f6f7027 gems: update rubocop to version 1.25.0 2022-01-19 11:38:22 +01:00
11 changed files with 64 additions and 15 deletions

17
.github/actionlint-matcher.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "actionlint",
"pattern": [
{
"regexp": "^(?:\\x1b\\[\\d+m)?(.+?)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*: (?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)* \\[(.+?)\\]$",
"file": 1,
"line": 2,
"column": 3,
"message": 4,
"code": 5
}
]
}
]
}

View File

@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
---
name: cd
@@ -10,11 +11,11 @@ jobs:
release-dockerimage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Extract dyndnsd version from tag name
run: |
echo "DYNDNSD_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
echo "DYNDNSD_VERSION=${GITHUB_REF#refs/*/v}" >> "$GITHUB_ENV"
- name: Wait for dyndnsd ${{ env.DYNDNSD_VERSION }} gem to be available
run: |
@@ -22,6 +23,7 @@ jobs:
for retry in $(seq 1 5); do
echo "Checking if dyndnsd $DYNDNSD_VERSION gem is retrievable from rubygems.org (try #$retry)..."
sudo gem install dyndnsd -v "$DYNDNSD_VERSION"
# shellcheck disable=SC2181
if [ $? -eq 0 ]; then
exit 0
fi

View File

@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
---
name: ci
@@ -22,7 +23,7 @@ jobs:
- '3.0'
- '3.1'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
@@ -32,3 +33,13 @@ jobs:
- name: Lint and Test
run: |
bundle exec rake ci
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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

View File

@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
---
name: dockerhub

View File

@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
---
name: vulnscan
@@ -10,15 +11,14 @@ jobs:
scan-released-dockerimages:
runs-on: ubuntu-latest
env:
TRIVY_LIGHT: 'true'
TRIVY_IGNORE_UNFIXED: 'true'
TRIVY_REMOVED_PKGS: 'true'
steps:
- name: Install Trivy
run: |
mkdir -p $GITHUB_WORKSPACE/bin
mkdir -p "$GITHUB_WORKSPACE/bin"
echo "$GITHUB_WORKSPACE/bin" >> "$GITHUB_PATH"
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b $GITHUB_WORKSPACE/bin
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b "$GITHUB_WORKSPACE/bin"
- name: Download Trivy DB
run: |
trivy image --download-db-only

View File

@@ -1,6 +1,24 @@
# Changelog
## 3.5.0 (January 8, 2021)
## 3.5.3 (May 5th, 2022)
OTHER:
- re-release 3.5.2 to rebuild Docker image with security vulnerabilities fixes
## 3.5.2 (April 7th, 2022)
OTHER:
- re-release 3.5.1 to rebuild Docker image with security vulnerabilities fixes
## 3.5.1 (February 17th, 2022)
OTHER:
- re-release 3.5.0 to rebuild Docker image with security vulnerabilities fixes
## 3.5.0 (January 8th, 2022)
IMPROVEMENTS:

View File

@@ -22,10 +22,10 @@ namespace :solargraph do
end
# renovate: datasource=github-tags depName=hadolint/hadolint
hadolint_version = 'v2.8.0'
hadolint_version = 'v2.10.0'
# renovate: datasource=github-tags depName=aquasecurity/trivy
trivy_version = 'v0.22.0'
trivy_version = 'v0.27.1'
namespace :docker do
ci_image = 'cmur2/dyndnsd:ci'
@@ -47,7 +47,7 @@ namespace :docker do
task :scan do
ver = trivy_version.gsub('v', '')
sh "if [ ! -e ./trivy ]; then wget -q -O - https://github.com/aquasecurity/trivy/releases/download/v#{ver}/trivy_#{ver}_Linux-64bit.tar.gz | tar -xzf - trivy; fi"
sh "./trivy #{ci_image}"
sh "./trivy image #{ci_image}"
end
desc 'End-to-end test the CI Docker image'

View File

@@ -1,4 +1,4 @@
FROM alpine:3.15.0
FROM alpine:3.15.4
EXPOSE 5353 8080

View File

@@ -1,4 +1,4 @@
FROM alpine:3.15.0
FROM alpine:3.15.4
EXPOSE 5353 8080

View File

@@ -41,8 +41,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.24.0'
s.add_development_dependency 'rubocop', '~> 1.28.1'
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
s.add_development_dependency 'rubocop-rspec', '~> 2.7.0'
s.add_development_dependency 'rubocop-rspec', '~> 2.10.0'
s.add_development_dependency 'solargraph', '~> 0.44.0'
end

View File

@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Dyndnsd
VERSION = '3.5.0'
VERSION = '3.5.3'
end