Compare commits
58 Commits
Author | SHA1 | Date | |
---|---|---|---|
79c91b779a | |||
f9afb57d03 | |||
6c8573e1e0 | |||
6dad7a9bb4 | |||
d0f006652d | |||
afc878e466 | |||
f194845760 | |||
672788a828 | |||
f015c2fbd0 | |||
389511f2b8 | |||
402001992f | |||
8c3ab12ea8 | |||
baab55b1a1 | |||
886263a32d | |||
5ce33e4f2a | |||
8b5afbb052 | |||
6e36075f04 | |||
2e0eaa6b66 | |||
a67f108a1d | |||
d749cd7c90 | |||
a002c4b2bb | |||
b92c3f3569 | |||
72cf223096 | |||
a5ebb4d962 | |||
db2dcf67f9 | |||
a3a5e49c8c | |||
be8820d618 | |||
60e43889e9 | |||
e2c4f26202 | |||
f62ac3cebd | |||
938f1c39dc | |||
b03ea1452e | |||
b24b0ca37a | |||
752d87e253 | |||
013e17710e | |||
eb096371d9 | |||
947bc7476e | |||
7ec22559fd | |||
52b1633c78 | |||
fad2d50ae6 | |||
81d452c7e5 | |||
8f6efbdb51 | |||
5cb4dd806a | |||
1717e277ea | |||
370783448d | |||
ec7620e1ad | |||
bc14169cde | |||
d20a40c6f9 | |||
b2dcc1989a | |||
718a072245 | |||
869f6f01de | |||
80a9ba39c5 | |||
3dcd57718a | |||
a445b4b69e | |||
6e80bb96a1 | |||
4b8ec2cc7c | |||
93077750ce | |||
59a94c206f |
315
.drone.yml
315
.drone.yml
@ -3,14 +3,20 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: linter
|
name: linter
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: markdown lint
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: docker.io/volkerraschek/markdownlint:0.32.2
|
image: git.cryptic.systems/volker.raschek/markdownlint:0.42.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -28,7 +34,7 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -48,13 +54,22 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: dry-run-amd64
|
name: dry-run-amd64
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- linter
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:latest
|
image: docker.io/plugins/docker:20.18.4
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -62,12 +77,15 @@ steps:
|
|||||||
force_tag: true
|
force_tag: true
|
||||||
no_cache: true
|
no_cache: true
|
||||||
purge: true
|
purge: true
|
||||||
repo: volkerraschek/mkisofs
|
mirror:
|
||||||
|
from_secret: docker_io_mirror
|
||||||
|
registry: git.cryptic.systems
|
||||||
|
repo: git.cryptic.systems/volker.raschek/mkisofs
|
||||||
tags: latest-amd64
|
tags: latest-amd64
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -81,15 +99,12 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- linter
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
exclude:
|
||||||
@ -105,13 +120,22 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: dry-run-arm64-v8
|
name: dry-run-arm64-v8
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- linter
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:latest
|
image: docker.io/plugins/docker:20.18.4
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -119,12 +143,15 @@ steps:
|
|||||||
force_tag: true
|
force_tag: true
|
||||||
no_cache: true
|
no_cache: true
|
||||||
purge: true
|
purge: true
|
||||||
repo: volkerraschek/mkisofs
|
mirror:
|
||||||
|
from_secret: docker_io_mirror
|
||||||
|
registry: git.cryptic.systems
|
||||||
|
repo: git.cryptic.systems/volker.raschek/mkisofs
|
||||||
tags: latest-arm64-v8
|
tags: latest-arm64-v8
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -138,15 +165,12 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- linter
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
exclude:
|
||||||
@ -162,25 +186,37 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: latest-amd64
|
name: latest-amd64
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- linter
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:latest
|
image: docker.io/plugins/docker:20.18.4
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
force_tag: true
|
force_tag: true
|
||||||
no_cache: true
|
no_cache: true
|
||||||
purge: true
|
purge: true
|
||||||
repo: volkerraschek/mkisofs
|
mirror:
|
||||||
|
from_secret: docker_io_mirror
|
||||||
|
registry: git.cryptic.systems
|
||||||
|
repo: git.cryptic.systems/volker.raschek/mkisofs
|
||||||
tags: latest-amd64
|
tags: latest-amd64
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -194,15 +230,12 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- linter
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
@ -217,25 +250,37 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: latest-arm64-v8
|
name: latest-arm64-v8
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- linter
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:latest
|
image: docker.io/plugins/docker:20.18.4
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
force_tag: true
|
force_tag: true
|
||||||
no_cache: true
|
no_cache: true
|
||||||
purge: true
|
purge: true
|
||||||
repo: volkerraschek/mkisofs
|
mirror:
|
||||||
|
from_secret: docker_io_mirror
|
||||||
|
registry: git.cryptic.systems
|
||||||
|
repo: git.cryptic.systems/volker.raschek/mkisofs
|
||||||
tags: latest-arm64-v8
|
tags: latest-arm64-v8
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -249,15 +294,12 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- linter
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
@ -272,17 +314,32 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: latest-manifest
|
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:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: docker.io/plugins/manifest:latest
|
image: docker.io/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
spec: manifest.tmpl
|
spec: manifest.tmpl
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -296,7 +353,7 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -306,9 +363,65 @@ steps:
|
|||||||
- changed
|
- changed
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
|
- push
|
||||||
|
repo:
|
||||||
|
- volker.raschek/mkisofs-docker
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: latest-sync
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- latest-amd64
|
- latest-manifest
|
||||||
- latest-arm64-v8
|
|
||||||
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
|
- 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/mkisofs 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.16.1
|
||||||
|
|
||||||
|
- 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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -324,25 +437,34 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: tagged-amd64
|
name: tagged-amd64
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:latest
|
image: docker.io/plugins/docker:20.18.4
|
||||||
settings:
|
settings:
|
||||||
auto_tag_suffix: amd64
|
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
auto_tag_suffix: amd64
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
force_tag: true
|
force_tag: true
|
||||||
no_cache: true
|
no_cache: true
|
||||||
purge: true
|
purge: true
|
||||||
repo: volkerraschek/mkisofs
|
mirror:
|
||||||
|
from_secret: docker_io_mirror
|
||||||
|
registry: git.cryptic.systems
|
||||||
|
repo: git.cryptic.systems/volker.raschek/mkisofs
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
build_args:
|
build_args:
|
||||||
- MKISOFS_VERSION=${DRONE_TAG}
|
- MKISOFS_VERSION=${DRONE_TAG}
|
||||||
|
|
||||||
@ -358,7 +480,7 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
@ -375,25 +497,34 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: tagged-arm64-v8
|
name: tagged-arm64-v8
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:latest
|
image: docker.io/plugins/docker:20.18.4
|
||||||
settings:
|
settings:
|
||||||
auto_tag_suffix: arm64-v8
|
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
auto_tag_suffix: arm64-v8
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
force_tag: true
|
force_tag: true
|
||||||
no_cache: true
|
no_cache: true
|
||||||
purge: true
|
purge: true
|
||||||
repo: volkerraschek/mkisofs
|
mirror:
|
||||||
|
from_secret: docker_io_mirror
|
||||||
|
registry: git.cryptic.systems
|
||||||
|
repo: git.cryptic.systems/volker.raschek/mkisofs
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
build_args:
|
build_args:
|
||||||
- MKISOFS_VERSION=${DRONE_TAG}
|
- MKISOFS_VERSION=${DRONE_TAG}
|
||||||
|
|
||||||
@ -409,7 +540,7 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
@ -426,17 +557,32 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: tagged-manifest
|
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:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: docker.io/plugins/manifest:latest
|
image: docker.io/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
spec: manifest.tmpl
|
spec: manifest.tmpl
|
||||||
username:
|
username:
|
||||||
from_secret: container_image_registry_user
|
from_secret: git_cryptic_systems_container_registry_user
|
||||||
password:
|
password:
|
||||||
from_secret: container_image_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -450,7 +596,7 @@ steps:
|
|||||||
from_secret: smtp_username
|
from_secret: smtp_username
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD:
|
||||||
from_secret: smtp_password
|
from_secret: smtp_password
|
||||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@ -460,9 +606,62 @@ steps:
|
|||||||
- changed
|
- changed
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
repo:
|
||||||
|
- volker.raschek/mkisofs-docker
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: tagged-sync
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- tagged-amd64
|
- tagged-manifest
|
||||||
- tagged-arm64-v8
|
|
||||||
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||||
|
|
||||||
|
- 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/mkisofs 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.16.1
|
||||||
|
|
||||||
|
- 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:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
FROM docker.io/library/rockylinux:9.0
|
FROM docker.io/library/rockylinux:9.3.20231119
|
||||||
|
|
||||||
ARG MKISOFS_VERSION
|
ARG MKISOFS_VERSION
|
||||||
|
|
||||||
RUN yum update --assumeyes && \
|
RUN yum update --assumeyes && \
|
||||||
yum install --assumeyes bash curl
|
yum install --assumeyes bash bash-completion
|
||||||
|
|
||||||
RUN if [ -z ${MKISOFS_VERSION+x} ]; then \
|
RUN if [ -z ${MKISOFS_VERSION+x} ]; then \
|
||||||
yum install --assumeyes xorriso; \
|
yum install --assumeyes xorriso; \
|
||||||
|
4
Makefile
4
Makefile
@ -9,8 +9,8 @@ CONTAINER_RUNTIME?=$(shell which podman)
|
|||||||
|
|
||||||
# MKISOFS_IMAGE_REGISTRY_NAME
|
# MKISOFS_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.
|
||||||
MKISOFS_IMAGE_REGISTRY_NAME:=docker.io
|
MKISOFS_IMAGE_REGISTRY_NAME:=git.cryptic.systems
|
||||||
MKISOFS_IMAGE_REGISTRY_USER:=volkerraschek
|
MKISOFS_IMAGE_REGISTRY_USER:=volker.raschek
|
||||||
|
|
||||||
MKISOFS_IMAGE_NAMESPACE?=${MKISOFS_IMAGE_REGISTRY_USER}
|
MKISOFS_IMAGE_NAMESPACE?=${MKISOFS_IMAGE_REGISTRY_USER}
|
||||||
MKISOFS_IMAGE_NAME:=mkisofs
|
MKISOFS_IMAGE_NAME:=mkisofs
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
image: volkerraschek/mkisofs:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
image: git.cryptic.systems/volker.raschek/mkisofs:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
@ -8,12 +8,12 @@ tags:
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
manifests:
|
manifests:
|
||||||
-
|
-
|
||||||
image: volkerraschek/mkisofs:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
image: git.cryptic.systems/volker.raschek/mkisofs:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
||||||
platform:
|
platform:
|
||||||
architecture: amd64
|
architecture: amd64
|
||||||
os: linux
|
os: linux
|
||||||
-
|
-
|
||||||
image: volkerraschek/mkisofs:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
image: git.cryptic.systems/volker.raschek/mkisofs:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
||||||
platform:
|
platform:
|
||||||
architecture: arm64
|
architecture: arm64
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -1,30 +1,29 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"assignees": [ "volker.raschek" ],
|
"assignees": [ "volker.raschek" ],
|
||||||
"automergeStrategy": "merge-commit",
|
"customManagers": [
|
||||||
"automergeType": "pr",
|
{
|
||||||
|
"customType": "regex",
|
||||||
|
"description": "Extract renovate config",
|
||||||
|
"fileMatch": [
|
||||||
|
"^Makefile$"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"^[^\\s]*VERSION(:|\\?)?=\"?(?<currentValue>[\\w.]*)\"? # renovate:([\\s]+datasource=['\"]*(?<datasource>[^\\s\"']*)['\"]*|[\\s]+depName=['\"]*(?<depName>[^\\s'\"]*)['\"]*|[\\s]+registryUrl=['\"]*(?<registryUrl>[^\\s'\"]*)['\"]*|[\\s]+versioning=['\"]*(?<versioning>[^\\s'\"]*)['\"]*|[\\s]+extractVersion=['\"]*(?<extractVersion>[^\\s'\"]*)['\"]*)*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"labels": [ "renovate" ],
|
"labels": [ "renovate" ],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
|
"description": "Automatically update grouped public container images - patch",
|
||||||
|
"addLabels": ["renovate/automerge","renovate/container-images"],
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
"matchManagers": "droneci",
|
"enabled": true,
|
||||||
|
"matchDatasources": ["docker"],
|
||||||
"matchUpdateTypes": ["minor", "patch"]
|
"matchUpdateTypes": ["minor", "patch"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rebaseLabel": "renovate/rebase",
|
"rebaseLabel": "renovate/rebase",
|
||||||
"rebaseWhen": "behind-base-branch",
|
"rebaseWhen": "behind-base-branch"
|
||||||
"regexManagers": [
|
|
||||||
{
|
|
||||||
"description": "Update container images of mkisofs.sh",
|
|
||||||
"fileMatch": [
|
|
||||||
"^mkisofs.sh$"
|
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"^CREATEREPO_IMAGE_FULLY_QUALIFIED=(?<depName>.*):(?<currentValue>.*)$",
|
|
||||||
"^MKISOFS_IMAGE_FULLY_QUALIFIED=(?<depName>.*):(?<currentValue>.*)$"
|
|
||||||
],
|
|
||||||
"datasourceTemplate": "docker"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user