Compare commits

..

No commits in common. "1.4.0" and "1.3.1" have entirely different histories.
1.4.0 ... 1.3.1

4 changed files with 234 additions and 32 deletions

View File

@ -11,12 +11,12 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.42.0 image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@ -34,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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@ -66,10 +66,10 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build - name: build
image: docker.io/plugins/docker:20.18.4 image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -99,7 +99,73 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
when:
status:
- changed
- failure
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/git-docker
---
kind: pipeline
type: docker
name: dry-run-arm-v7
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build
image: docker.io/plugins/docker:20.10.9
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/git
tags: latest-arm-v7
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.2
when: when:
status: status:
- changed - changed
@ -132,10 +198,10 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build - name: build
image: docker.io/plugins/docker:20.18.4 image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -165,7 +231,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
when: when:
status: status:
- changed - changed
@ -198,10 +264,10 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build - name: build
image: docker.io/plugins/docker:20.18.4 image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -230,7 +296,71 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/git-docker
---
kind: pipeline
type: docker
name: latest-arm-v7
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build
image: docker.io/plugins/docker:20.10.9
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/git
tags: latest-arm-v7
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.2
when: when:
status: status:
- changed - changed
@ -262,10 +392,10 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build - name: build
image: docker.io/plugins/docker:20.18.4 image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -294,7 +424,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
when: when:
status: status:
- changed - changed
@ -319,6 +449,7 @@ clone:
depends_on: depends_on:
- latest-amd64 - latest-amd64
- latest-arm-v7
- latest-arm64-v8 - latest-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available # docker.io/plugins/manifest only for amd64 architectures available
@ -328,7 +459,7 @@ node_selector:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build-manifest - name: build-manifest
image: docker.io/plugins/manifest:1.4.0 image: docker.io/plugins/manifest:1.4.0
@ -353,7 +484,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@ -385,7 +516,7 @@ depends_on:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: latest-sync - name: latest-sync
commands: commands:
@ -399,7 +530,7 @@ steps:
from_secret: container_image_registry_user from_secret: container_image_registry_user
DEST_CRED_PASSWORD: DEST_CRED_PASSWORD:
from_secret: container_image_registry_password from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.17.0 image: quay.io/skopeo/stable:v1.13.2
- name: email-notification - name: email-notification
environment: environment:
@ -413,7 +544,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@ -446,10 +577,10 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build - name: build
image: docker.io/plugins/docker:20.18.4 image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
@ -480,7 +611,67 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/git-docker
---
kind: pipeline
type: docker
name: tagged-arm-v7
clone:
disable: true
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: arm-v7
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/git
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
build_args:
- GOSEC_VERSION=${DRONE_TAG}
- 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.2
when: when:
status: status:
- changed - changed
@ -506,10 +697,10 @@ platform:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build - name: build
image: docker.io/plugins/docker:20.18.4 image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: arm64-v8 auto_tag_suffix: arm64-v8
@ -540,7 +731,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
when: when:
status: status:
- changed - changed
@ -562,6 +753,7 @@ clone:
depends_on: depends_on:
- tagged-amd64 - tagged-amd64
- tagged-arm-v7
- tagged-arm64-v8 - tagged-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available # docker.io/plugins/manifest only for amd64 architectures available
@ -571,7 +763,7 @@ node_selector:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: build-manifest - name: build-manifest
image: docker.io/plugins/manifest:1.4.0 image: docker.io/plugins/manifest:1.4.0
@ -596,7 +788,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@ -625,7 +817,7 @@ depends_on:
steps: steps:
- name: clone - name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.0
- name: tagged-sync - name: tagged-sync
commands: commands:
@ -639,7 +831,7 @@ steps:
from_secret: container_image_registry_user from_secret: container_image_registry_user
DEST_CRED_PASSWORD: DEST_CRED_PASSWORD:
from_secret: container_image_registry_password from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.17.0 image: quay.io/skopeo/stable:v1.13.2
- name: email-notification - name: email-notification
environment: environment:
@ -653,7 +845,7 @@ steps:
from_secret: smtp_username from_secret: smtp_username
SMTP_PASSWORD: SMTP_PASSWORD:
from_secret: smtp_password from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
resources: resources:
limits: limits:
cpu: 150 cpu: 150

View File

@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.20.3 FROM docker.io/library/alpine:3.18.4
RUN apk add --no-cache \ RUN apk add --no-cache \
bash \ bash \
ca-certificates \ ca-certificates \

View File

@ -12,6 +12,12 @@ manifests:
platform: platform:
architecture: amd64 architecture: amd64
os: linux os: linux
-
image: git.cryptic.systems/volker.raschek/git:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
platform:
architecture: arm
os: linux
variant: v7
- -
image: git.cryptic.systems/volker.raschek/git:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8 image: git.cryptic.systems/volker.raschek/git:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform: platform:

View File

@ -1,11 +1,14 @@
{ {
"$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",
"automergeType": "pr",
"labels": [ "renovate" ], "labels": [ "renovate" ],
"packageRules": [ "packageRules": [
{ {
"addLabels": [ "renovate/droneci", "renovate/automerge" ], "addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true, "automerge": true,
"excludePackagePatterns": [ "plugins/docker" ],
"matchManagers": "droneci", "matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"] "matchUpdateTypes": [ "minor", "patch"]
}, },
@ -13,6 +16,7 @@
"description": "Automatically update patch version of used container images in docker files", "description": "Automatically update patch version of used container images in docker files",
"addLabels": [ "renovate/container-image", "renovate/automerge" ], "addLabels": [ "renovate/container-image", "renovate/automerge" ],
"automerge": true, "automerge": true,
"matchBaseBranches": [ "master" ],
"matchManagers": [ "dockerfile" ], "matchManagers": [ "dockerfile" ],
"matchUpdateTypes": [ "patch" ] "matchUpdateTypes": [ "patch" ]
} }