Compare commits

..

119 Commits

Author SHA1 Message Date
fecfd66d51
style(markdownlint): update configuration 2025-05-09 11:27:56 +02:00
42f7659a6e
docs(README): remove drone badge 2025-05-08 21:47:29 +02:00
cb5738008a
fix(makefile): remove the deletion of the base image via make clean 2025-05-08 18:44:10 +02:00
7884ae4567
fix(makefile): remove unqualified image name 2025-05-08 18:41:41 +02:00
d5d2541f78
chore(ci): use upstream container image registry 2025-04-02 21:32:26 +02:00
02188249c6
chore(ci): rollback plugins/docker to 20.18.6 2025-04-02 10:44:04 +02:00
e5e66c2ed4
chore(ci): use container image mirror 2025-04-02 09:54:48 +02:00
9a840d92fb
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.44.0 2025-04-01 19:42:40 +00:00
3d445a3191
fix(Makefile): make FQIN configurable 2025-04-01 20:46:16 +02:00
6f48785a7b
docs(README): adapt example 2025-03-30 20:35:55 +02:00
f96b608151
chore(renovate): use configuration preset 2025-03-30 20:35:55 +02:00
60de7f9a21
chore(deps): update docker.io/plugins/docker docker tag to v20.18.8 2025-03-26 20:26:22 +00:00
83977e4790
chore(deps): update quay.io/skopeo/stable docker tag to v1.18.0 2025-02-28 17:27:25 +00:00
353bcb372f
chore(deps): update docker.io/plugins/docker docker tag to v20.18.7 2025-02-18 08:25:28 +00:00
638a8696c0
chore(deps): update docker.io/library/alpine docker tag to v3.21.3 2025-02-14 20:22:11 +00:00
33cd4bf9c8
chore(deps): update docker.io/library/alpine docker tag to v3.21.2 2025-01-08 20:21:24 +00:00
724e86ff92
chore(deps): update docker.io/library/alpine docker tag to v3.21.1 2025-01-07 17:23:05 +00:00
d647050c7e
chore(deps): update docker.io/plugins/docker docker tag to v20.18.6 2024-12-25 05:24:24 +00:00
96156aae66
chore(deps): update docker.io/library/alpine docker tag to v3.21.0 2024-12-05 23:21:45 +00:00
1bc2a8d4be
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.43.0 2024-12-03 14:34:24 +00:00
204a9e5870
chore(deps): update docker.io/plugins/docker docker tag to v20.18.5 2024-11-29 11:25:42 +00:00
960e002f83
chore(deps): update git.cryptic.systems/volker.raschek/git docker tag to v1.4.0 2024-11-25 23:33:54 +00:00
a3b5b2acdc
chore(deps): update quay.io/skopeo/stable docker tag to v1.17.0 2024-11-21 17:26:18 +00:00
39138e5dab
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.42.0 2024-10-14 19:33:14 +00:00
659b7ed7a4
chore(deps): update docker.io/library/alpine docker tag to v3.20.3 2024-09-28 13:22:14 +00:00
b491e7398e
fix(renovate): update config 2024-09-28 13:29:20 +02:00
81cbda36f9
chore(deps): update docker.io/plugins/docker docker tag to v20.18.4 2024-09-03 19:20:38 +00:00
8c0da5b8d4
chore(deps): update quay.io/skopeo/stable docker tag to v1.16.1 2024-09-03 16:19:43 +00:00
16c35ed6e5
chore(deps): update quay.io/skopeo/stable docker tag to v1.16.0 2024-08-18 16:21:41 +00:00
aad5927bd6
chore(deps): update docker.io/plugins/docker docker tag to v20.18.3 2024-07-26 12:16:44 +00:00
28ee121a36
chore(deps): update docker.io/plugins/docker docker tag to v20.18.2 2024-07-23 19:21:53 +00:00
33476034ba
chore(deps): update quay.io/skopeo/stable docker tag to v1.15.2 2024-07-16 16:16:39 +00:00
e4a97ec8a5
chore(deps): update docker.io/plugins/docker docker tag to v20.18.1 2024-07-15 22:23:12 +00:00
8872bf853b
chore(deps): update quay.io/skopeo/stable docker tag to v1.15.1 2024-07-13 13:16:16 +00:00
aea4ab3aab
chore(deps): update docker.io/plugins/docker docker tag to v20.18.0 2024-07-13 12:00:52 +00:00
6e04807a7f
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.41.0 2024-05-27 13:52:42 +00:00
0a08c84105
chore(deps): update docker.io/plugins/docker docker tag to v20.17.5 2024-05-20 13:18:41 +00:00
5a89af6cdb
chore(deps): update docker.io/plugins/docker docker tag to v20.17.4 2024-05-13 10:17:47 +00:00
252e689da6
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.40.0 2024-05-07 23:05:21 +00:00
6a3117f348
chore(deps): update quay.io/skopeo/stable docker tag to v1.15.0 2024-03-31 16:16:12 +00:00
ad3c708a0a
chore(deps): update docker.io/plugins/docker docker tag to v20.17.3 2024-03-11 08:28:28 +00:00
ba2e0d52f4
chore(deps): update quay.io/skopeo/stable docker tag to v1.14.2 2024-02-18 17:15:53 +00:00
83b48c5d08
chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.39.0 2024-01-28 23:19:29 +00:00
948984f37f
chore(deps): update docker.io/library/alpine docker tag to v3.19.1 2024-01-27 02:11:38 +00:00
6d3f585ef7
fix(renovate): remove automerge options 2024-01-21 14:37:04 +01:00
b31a459603 Merge pull request 'chore(deps): update docker.io/plugins/docker docker tag to v20.17.2' () from renovate/docker.io-plugins-docker-20.x into master 2024-01-10 17:15:56 +00:00
943a265097 chore(deps): update docker.io/plugins/docker docker tag to v20.17.2 2024-01-10 17:15:29 +00:00
8d60f8602b Merge pull request 'chore(deps): update docker.io/library/alpine docker tag to v3.19.0' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2023-12-20 11:15:16 +00:00
1d44e519b5 chore(deps): update docker.io/library/alpine docker tag to v3.19.0 2023-12-09 16:26:57 +01:00
f88c6216a7 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.38.0 2023-12-09 14:48:02 +00:00
2636263222 chore(deps): update quay.io/skopeo/stable docker tag to v1.14.0 2023-12-06 17:24:08 +01:00
34a7582c97 chore(deps): update docker.io/library/alpine docker tag to v3.18.5 2023-11-30 23:13:43 +00:00
34d0b287f3 chore(deps): update docker.io/plugins/docker docker tag to v20.17.1 2023-11-15 14:15:47 +00:00
539a5b7268 chore(deps): update docker.io/plugins/docker docker tag to v20.17.0 2023-10-26 14:35:24 +00:00
e7cf218678 Merge pull request 'chore(deps): update docker.io/plugins/docker docker tag to v20.16.0' () from renovate/docker.io-plugins-docker-20.x into master 2023-10-25 20:33:39 +00:00
8eec2de076 chore(deps): update docker.io/plugins/docker docker tag to v20.16.0 2023-10-25 22:08:38 +02:00
64a010d682
fix: unsupport arm-v7 image 2023-10-25 14:24:50 +02:00
f403782fe5
core(deps): update git.cryptic.systems/volker.raschek/drone-email to 0.1.5 2023-10-02 13:52:46 +02:00
57868698b1
core(deps): update git.cryptic.systems/volker.raschek/git to 0.1.3 2023-10-02 13:51:05 +02:00
ec1c19d964 chore(deps): update docker.io/library/alpine docker tag to v3.18.4 2023-09-29 00:20:35 +02:00
d9b7532aac chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.37.0 2023-09-22 19:38:48 +02:00
a0760212a5 chore(deps): update quay.io/skopeo/stable docker tag to v1.13.3 2023-09-21 18:30:32 +02:00
6342bce0a4
revert(deps): update docker.io/plugins/docker docker tag to v20.14.4
This reverts commit 74ce9b82b4a011df21c2c0ce4d291f2190c6aa6f.
2023-09-03 16:21:01 +02:00
48c9451337
fix(renovate): exclude updating docker.io/plugins/docker 2023-09-03 16:20:48 +02:00
74ce9b82b4 chore(deps): update docker.io/plugins/docker docker tag to v20.14.4 2023-09-03 15:11:12 +02:00
c039f7b5c3 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.36.0 2023-09-03 12:50:42 +00:00
d7972ed1ff chore(deps): update quay.io/skopeo/stable docker tag to v1.13.2 2023-09-03 14:00:03 +02:00
69ae062415 chore(deps): update dependency quay.io/skopeo/stable to v1.13.1 2023-08-08 01:17:36 +02:00
aa2b077af1 chore(deps): update dependency docker.io/library/alpine to v3.18.3 2023-08-07 23:47:59 +02:00
9e1366b6f8 chore(deps): update dependency quay.io/skopeo/stable to v1.13.0 2023-07-19 21:32:32 +02:00
879fc0d196 chore(deps): update dependency quay.io/skopeo/stable to v1.12.0 2023-07-08 18:23:30 +02:00
ee40306fb7
fix(ci): migrate to git.cryptic.systems 2023-07-08 18:20:30 +02:00
a833ef8833 chore(deps): update dependency docker.io/library/alpine to v3.18.2 2023-06-18 21:53:23 +02:00
a20801bb87
fix(renovate): automerge patch versions of used container images in docker files 2023-06-18 21:49:36 +02:00
4f4b86e816
feat(ci): use docker.io/plugins/manifest v1.4.0 2023-06-18 14:53:10 +02:00
6d4c1f6344 chore(deps): update dependency git.cryptic.systems/volker.raschek/markdownlint to v0.35.0 2023-06-17 21:58:47 +02:00
5ab211e067
feat(ci): use git.cryptic.systems/volker.raschek/drone-email v0.1.2 2023-06-17 15:55:00 +02:00
12f2424bb5 chore(deps): update dependency docker.io/volkerraschek/drone-email to v0.1.2 2023-06-17 15:06:20 +02:00
54f71d9ed7 chore(deps): update dependency git.cryptic.systems/volker.raschek/markdownlint to v0.34.0 2023-06-09 09:16:51 +02:00
f330a16c0a
feat(ci): use git.cryptic.systems/volker.raschek/markdownlint v0.33.0 2023-06-08 19:38:49 +02:00
ebdf65d313
feat(ci): use docker.io/plugins/drone v20.10.9 2023-06-08 19:25:17 +02:00
cd39f8192f
feat(ci): migrate to volker.raschek/git v1.2.1 2023-06-08 18:56:19 +02:00
0f5dc5b903 Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.18.0' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2023-05-21 10:19:33 +00:00
481e1a9feb chore(deps): update dependency docker.io/library/alpine to v3.18.0 2023-05-18 13:58:57 +02:00
d453c03331 Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.17.1' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2023-01-20 15:47:02 +00:00
418a48faf7 chore(deps): update dependency docker.io/library/alpine to v3.17.1 2023-01-09 18:43:13 +01:00
f32d55e159 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.33.0 2023-01-07 19:43:36 +01:00
ddc77ce6e7 Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.16.2' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2022-09-11 11:19:14 +00:00
756648de8f chore(deps): update dependency docker.io/library/alpine to v3.16.2 2022-08-21 16:58:26 +02:00
419dcc7ef4 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.2 2022-08-21 16:43:00 +02:00
6b70268436
fix(ci): remove docker socket volume 2022-07-26 17:37:43 +02:00
f6d81edf30
fix(ci): use docker.io/volkerraschek/drone-email:0.1.1 2022-07-26 16:57:34 +02:00
27f0484122 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.1 2022-07-25 13:15:51 +02:00
8774ff7a2a Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.16.1' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2022-07-19 21:34:22 +00:00
add96a8308 chore(deps): update dependency docker.io/library/alpine to v3.16.1 2022-07-19 20:23:50 +02:00
f6b0db1ab8 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.0 2022-07-18 11:16:05 +02:00
11f944ffa5
chore(deps): update dependency docker.io/library/alpine to v3.16.0 2022-07-14 18:15:33 +02:00
dd01190751
fix: use podman instead of docker 2022-07-14 18:14:31 +02:00
0735e96913
fix(ci): resource limits 2022-05-22 13:10:08 +02:00
bf78871aea
fix(ci): use fully qualified image name 2022-05-22 13:02:29 +02:00
f63389ac04
fix(ci): use gitea to sync repo with github 2022-05-03 17:46:13 +02:00
3ff4747896 Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.15.4' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2022-04-15 21:28:23 +00:00
102390a79f chore(deps): update dependency docker.io/library/alpine to v3.15.4 2022-04-05 02:03:38 +02:00
fbca3c03ee Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.15.3' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2022-04-01 19:00:31 +00:00
0e6c19c4c0 chore(deps): update dependency docker.io/library/alpine to v3.15.3 2022-03-29 09:01:57 +02:00
aba1081455 Merge pull request 'chore(deps): update dependency docker.io/library/alpine to v3.15.1' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2022-03-17 17:58:47 +00:00
f483aad5aa chore(deps): update dependency docker.io/library/alpine to v3.15.1 2022-03-17 04:02:00 +01:00
49e7b2f36f chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.31.1 2022-02-09 19:31:59 +00:00
cfb484270d Merge pull request 'chore(deps): update docker.io/library/alpine docker tag to v3.15.0' () from renovate/docker.io-library-alpine-3.x into master
Reviewed-on: 
2022-01-30 20:41:17 +00:00
82073fa180 chore(deps): update docker.io/library/alpine docker tag to v3.15.0 2022-01-30 18:01:19 +00:00
eff0d2c0c9
fix(ci): add package rules 2022-01-30 18:20:35 +01:00
b858b9a4be
fix(ci): renovate rebase conditions 2021-10-30 12:13:31 +02:00
b96135d216 chore(deps): update docker.io/library/alpine docker tag to v3.14.2 2021-10-24 16:43:00 +02:00
89939dcbce
fix(ci): add renovate config 2021-10-24 16:40:49 +02:00
9e8776d1c7
fix(ci): dependencies and conditions 2021-10-12 21:55:11 +02:00
ddf966b6ec
fix: add build pipeline for tagged images 2021-09-10 19:22:33 +02:00
be1f4bb900
fix: build armv7 2021-09-07 13:10:38 +02:00
227b554dbf
feat: build container for multiple platforms 2021-09-06 22:58:30 +02:00
0104e01dcc
fix: drone, docker-compose, Dockerfile and Makefile 2021-08-30 20:37:14 +02:00
9 changed files with 851 additions and 108 deletions

@ -1,75 +1,666 @@
---
kind: pipeline kind: pipeline
type: docker type: kubernetes
name: build-image-x86_64 name: linter
clone:
disable: true
platform:
os: linux
steps: steps:
- name: build-image-latest - name: clone
image: docker.io/volkerraschek/build-image:latest image: git.cryptic.systems/volker.raschek/git:1.4.0
commands:
- make container-image/build
volumes:
- name: docker_socket
path: /var/run/docker.sock
when:
branch:
- master
- name: push-image-latest - name: markdown lint
image: docker.io/volkerraschek/build-image:latest
commands: commands:
- make container-image/push - markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
resources:
limits:
cpu: 150
memory: 150M
- name: email-notification
environment: environment:
CONTAINER_IMAGE_REGISTRY_PASSWORD: SMTP_FROM_ADDRESS:
from_secret: container_image_registry_password from_secret: smtp_from_address
volumes: SMTP_FROM_NAME:
- name: docker_socket from_secret: smtp_from_name
path: /var/run/docker.sock SMTP_HOST:
when:
branch:
- master
- name: delete-image-latest
image: docker.io/volkerraschek/build-image:latest
commands:
- make container-image/delete
volumes:
- name: docker_socket
path: /var/run/docker.sock
when:
branch:
- master
- name: push-readme
image: docker.io/volkerraschek/build-image:latest
commands:
- make push/README
environment:
CONTAINER_IMAGE_REGISTRY_PASSWORD:
from_secret: container_image_registry_password
volumes:
- name: docker_socket
path: /var/run/docker.sock
when:
branch:
- master
- name: notify
image: drillster/drone-email
environment:
PLUGIN_HOST:
from_secret: smtp_host from_secret: smtp_host
PLUGIN_USERNAME: SMTP_USERNAME:
from_secret: smtp_username from_secret: smtp_username
PLUGIN_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
PLUGIN_FROM: image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
from_secret: smtp_mail_address resources:
limits:
cpu: 150
memory: 150M
when: when:
status: status:
- changed - changed
- failure - failure
volumes: trigger:
- name: docker_socket event:
host: exclude:
path: /var/run/docker.sock - tag
---
kind: pipeline
type: docker
name: dry-run-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/network-tools
tags: latest-amd64
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: docker
name: dry-run-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/network-tools
tags: latest-arm64-v8
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: docker
name: latest-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/network-tools
tags: latest-amd64
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: docker
name: latest-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/network-tools
tags: latest-arm64-v8
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: kubernetes
name: latest-manifest
clone:
disable: true
depends_on:
- latest-amd64
- latest-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build-manifest
image: docker.io/plugins/manifest:1.4.0
settings:
auto_tag: false
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: kubernetes
name: latest-sync
clone:
disable: true
depends_on:
- latest-manifest
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: latest-sync
commands:
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/network-tools docker.io/volkerraschek
environment:
SRC_CRED_USERNAME:
from_secret: git_cryptic_systems_container_registry_user
SRC_CRED_PASSWORD:
from_secret: git_cryptic_systems_container_registry_password
DEST_CRED_USERNAME:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.18.0
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: docker
name: tagged-amd64
clone:
disable: true
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
settings:
auto_tag: true
auto_tag_suffix: amd64
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/network-tools
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: docker
name: tagged-arm64-v8
clone:
disable: true
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.6
settings:
auto_tag: true
auto_tag_suffix: arm64-v8
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/network-tools
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: kubernetes
name: tagged-manifest
clone:
disable: true
depends_on:
- tagged-amd64
- tagged-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build-manifest
image: docker.io/plugins/manifest:1.4.0
settings:
auto_tag: true
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/network-tools
---
kind: pipeline
type: kubernetes
name: tagged-sync
clone:
disable: true
depends_on:
- tagged-manifest
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: tagged-sync
commands:
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/network-tools docker.io/volkerraschek
environment:
SRC_CRED_USERNAME:
from_secret: git_cryptic_systems_container_registry_user
SRC_CRED_PASSWORD:
from_secret: git_cryptic_systems_container_registry_password
DEST_CRED_USERNAME:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.18.0
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/network-tools

136
.markdownlint.yaml Normal file

@ -0,0 +1,136 @@
# markdownlint YAML configuration
# https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml
# Default state for all rules
default: true
# Path to configuration file to extend
extends: null
# MD003/heading-style/header-style - Heading style
MD003:
# Heading style
style: "atx"
# MD004/ul-style - Unordered list style
MD004:
style: "dash"
# MD007/ul-indent - Unordered list indentation
MD007:
# Spaces for indent
indent: 2
# Whether to indent the first level of the list
start_indented: false
# MD009/no-trailing-spaces - Trailing spaces
MD009:
# Spaces for line break
br_spaces: 2
# Allow spaces for empty lines in list items
list_item_empty_lines: false
# Include unnecessary breaks
strict: false
# MD010/no-hard-tabs - Hard tabs
MD010:
# Include code blocks
code_blocks: true
# MD012/no-multiple-blanks - Multiple consecutive blank lines
MD012:
# Consecutive blank lines
maximum: 1
# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 120
# Number of characters for headings
heading_line_length: 120
# Number of characters for code blocks
code_block_line_length: 120
# Include code blocks
code_blocks: false
# Include tables
tables: false
# Include headings
headings: true
# Strict length checking
strict: false
# Stern length checking
stern: false
# MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines
MD022:
# Blank lines above heading
lines_above: 1
# Blank lines below heading
lines_below: 1
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025:
# Heading level
level: 1
# RegExp for matching title in front matter
front_matter_title: "^\\s*title\\s*[:=]"
# MD026/no-trailing-punctuation - Trailing punctuation in heading
MD026:
# Punctuation characters
punctuation: ".,;:!。,;:!"
# MD029/ol-prefix - Ordered list item prefix
MD029:
# List style
style: "one_or_ordered"
# MD030/list-marker-space - Spaces after list markers
MD030:
# Spaces for single-line unordered list items
ul_single: 1
# Spaces for single-line ordered list items
ol_single: 1
# Spaces for multi-line unordered list items
ul_multi: 1
# Spaces for multi-line ordered list items
ol_multi: 1
# MD033/no-inline-html - Inline HTML
MD033:
# Allowed elements
allowed_elements: []
# MD035/hr-style - Horizontal rule style
MD035:
# Horizontal rule style
style: "---"
# MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
MD036:
# Punctuation characters
punctuation: ".,;:!?。,;:!?"
# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading
MD041:
# Heading level
level: 1
# RegExp for matching title in front matter
front_matter_title: "^\\s*title\\s*[:=]"
# MD044/proper-names - Proper names should have the correct capitalization
MD044:
# List of proper names
names: []
# Include code blocks
code_blocks: false
# MD046/code-block-style - Code block style
MD046:
# Block style
style: "fenced"
# MD048/code-fence-style - Code fence style
MD048:
# Code fence syle
style: "backtick"

@ -1,5 +1,5 @@
ARG BASE_IMAGE FROM docker.io/library/alpine:3.21.3
FROM ${BASE_IMAGE}
RUN apk add bind-tools curl iputils RUN apk add bind-tools curl iputils
ENTRYPOINT [ "sleep", "3600" ]

@ -1,62 +1,42 @@
# CONTAINER_RUNTIME # CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a # The CONTAINER_RUNTIME variable will be used to specified the path to a
# container runtime. This is needed to start and run a container image. # container runtime. This is needed to start and run a container image.
CONTAINER_RUNTIME?=$(shell which docker) CONTAINER_RUNTIME?=$(shell which podman)
# BASE_IMAGE # NETWORKTOOLS_IMAGE_REGISTRY_NAME
# Defines the name of the container base image on which should be built the new
# CONTAINER_IMAGE.
BASE_IMAGE_REGISTRY_NAME:=docker.io
BASE_IMAGE_NAMESPACE:=library
BASE_IMAGE_NAME:=alpine
BASE_IMAGE_VERSION:=3.11.2
BASE_IMAGE_FULL=${BASE_IMAGE_REGISTRY_NAME}/${BASE_IMAGE_NAMESPACE}/${BASE_IMAGE_NAME}:${BASE_IMAGE_VERSION}
BASE_IMAGE_SHORT=${BASE_IMAGE_NAMESPACE}/${BASE_IMAGE_NAME}:${BASE_IMAGE_VERSION}
# CONTAINER_IMAGE_REGISTRY_NAME
# Defines the name of the new container to be built using several variables. # Defines the name of the new container to be built using several variables.
CONTAINER_IMAGE_REGISTRY_NAME:=docker.io NETWORKTOOLS_IMAGE_REGISTRY_NAME?=git.cryptic.systems
CONTAINER_IMAGE_REGISTRY_USER:=volkerraschek NETWORKTOOLS_IMAGE_REGISTRY_USER?=volker.raschek
CONTAINER_IMAGE_NAMESPACE?=${CONTAINER_IMAGE_REGISTRY_USER} NETWORKTOOLS_IMAGE_NAMESPACE?=${NETWORKTOOLS_IMAGE_REGISTRY_USER}
CONTAINER_IMAGE_NAME:=network-tools NETWORKTOOLS_IMAGE_NAME:=network-tools
CONTAINER_IMAGE_VERSION?=latest NETWORKTOOLS_IMAGE_VERSION?=latest
CONTAINER_IMAGE_FULL=${CONTAINER_IMAGE_REGISTRY_NAME}/${CONTAINER_IMAGE_NAMESPACE}/${CONTAINER_IMAGE_NAME}:${CONTAINER_IMAGE_VERSION} NETWORKTOOLS_IMAGE_FULLY_QUALIFIED=${NETWORKTOOLS_IMAGE_REGISTRY_NAME}/${NETWORKTOOLS_IMAGE_NAMESPACE}/${NETWORKTOOLS_IMAGE_NAME}:${NETWORKTOOLS_IMAGE_VERSION}
CONTAINER_IMAGE_SHORT=${CONTAINER_IMAGE_NAMESPACE}/${CONTAINER_IMAGE_NAME}:${CONTAINER_IMAGE_VERSION}
# BUILD CONTAINER IMAGE # BUILD CONTAINER IMAGE
# ============================================================================== # ==============================================================================
PHONY:=container-image/build PHONY:=container-image/build
container-image/build: container-image/build:
${CONTAINER_RUNTIME} build \ ${CONTAINER_RUNTIME} build \
--build-arg BASE_IMAGE=${BASE_IMAGE_FULL} \
--file Dockerfile \ --file Dockerfile \
--no-cache \ --no-cache \
--pull \ --pull \
--tag ${CONTAINER_IMAGE_FULL} \ --tag ${NETWORKTOOLS_IMAGE_FULLY_QUALIFIED} \
--tag ${CONTAINER_IMAGE_SHORT} \ --tag \
. .
# DELETE CONTAINER IMAGE # DELETE CONTAINER IMAGE
# ============================================================================== # ==============================================================================
PHONY:=container-image/delete PHONY:=container-image/delete
container-image/delete: container-image/delete:
- ${CONTAINER_RUNTIME} image rm ${CONTAINER_IMAGE_FULL} ${CONTAINER_IMAGE_SHORT} - ${CONTAINER_RUNTIME} image rm ${NETWORKTOOLS_IMAGE_FULLY_QUALIFIED}
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
# PUSH CONTAINER IMAGE # PUSH CONTAINER IMAGE
# ============================================================================== # ==============================================================================
PHONY+=container-image/push PHONY+=container-image/push
container-image/push: container-image/push:
echo ${CONTAINER_IMAGE_REGISTRY_PASSWORD} | ${CONTAINER_RUNTIME} login ${CONTAINER_IMAGE_REGISTRY_NAME} --username ${CONTAINER_IMAGE_REGISTRY_USER} --password-stdin echo ${NETWORKTOOLS_IMAGE_REGISTRY_PASSWORD} | ${CONTAINER_RUNTIME} login ${NETWORKTOOLS_IMAGE_REGISTRY_NAME} --username ${NETWORKTOOLS_IMAGE_REGISTRY_USER} --password-stdin
${CONTAINER_RUNTIME} push ${CONTAINER_IMAGE_FULL} ${CONTAINER_RUNTIME} push ${NETWORKTOOLS_IMAGE_FULLY_QUALIFIED}
# PUSH README
# ==============================================================================
PHONY+=push/README
push/README:
echo ${CONTAINER_IMAGE_REGISTRY_PASSWORD} | ${CONTAINER_RUNTIME} login ${CONTAINER_IMAGE_REGISTRY_NAME} --username ${CONTAINER_IMAGE_REGISTRY_USER} --password-stdin
docker pushrm ${CONTAINER_IMAGE_FULL}
# PHONY # PHONY
# ============================================================================== # ==============================================================================

@ -1,13 +1,11 @@
# network-tools # network-tools
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/network-tools/status.svg)](https://drone.cryptic.systems/volker.raschek/network-tools)
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/network-tools)](https://hub.docker.com/r/volkerraschek/network-tools) [![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/network-tools)](https://hub.docker.com/r/volkerraschek/network-tools)
This project, hosted on This project contains all sources to build the container image
[git.cryptic.systems](https://git.cryptic.systems/volker.raschek/network-tools), `docker.io/volkerraschek/network-tools`. The primary goal of the image is only
contains only files to build the container image. The container image contains to contain some network tools to debug container based environments like docker
network tools to analyse or monitor network communication. This can be helpful or kubernetes.
in a containerized environment.
## Usage ## Usage
@ -16,10 +14,11 @@ in a containerized environment.
To use this image execute the following command in a docker environment. To use this image execute the following command in a docker environment.
```bash ```bash
$ docker run \ docker run \
--entrypoint /bin/sh \
-it \
--rm \ --rm \
volkerraschek/network-tools:latest \ docker.io/volkerraschek/network-tools:latest
sh
``` ```
### Kubernetes ### Kubernetes

4
docker-compose.yml Normal file

@ -0,0 +1,4 @@
version: "3"
services:
network-tools:
image: volkerraschek/network-tools:latest

18
manifest.tmpl Normal file

@ -0,0 +1,18 @@
image: git.cryptic.systems/volker.raschek/network-tools:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
- "latest"
{{/if}}
manifests:
- image: git.cryptic.systems/volker.raschek/network-tools:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
platform:
architecture: amd64
os: linux
- image: git.cryptic.systems/volker.raschek/network-tools:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform:
architecture: arm64
os: linux
variant: v8

@ -6,8 +6,14 @@ spec:
containers: containers:
- name: network-tools - name: network-tools
image: docker.io/volkerraschek/network-tools:latest image: docker.io/volkerraschek/network-tools:latest
command: [ "sleep", "3600" ]
imagePullPolicy: Always imagePullPolicy: Always
resources:
limits:
cpu: 250m
memory: 250Mi
requests:
cpu: 100m
memory: 125Mi
securityContext: securityContext:
capabilities : capabilities :
add: add:

9
renovate.json Normal file

@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>volker.raschek/renovate-config:default#master",
"local>volker.raschek/renovate-config:container#master",
"local>volker.raschek/renovate-config:actions#master",
"local>volker.raschek/renovate-config:regexp#master"
]
}