17 Commits

Author SHA1 Message Date
43025883e1 chore(deps): update dependency igorshubovych/markdownlint-cli to v0.35.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-17 15:37:09 +02:00
01eb154d4a fix: migrate to git.cryptic.systems
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-17 15:34:50 +02:00
f453a2b92b chore(deps): update dependency docker.io/volkerraschek/drone-email to v0.1.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-17 15:05:29 +02:00
83c137e24f chore(deps): update dependency git.cryptic.systems/volker.raschek/markdownlint to v0.34.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-15 16:12:49 +02:00
3f6e9136ed fix(ci): use a container image mirror for docker.io
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 16:10:45 +02:00
fdc5b39f6a fix(ci): add missing properties
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-15 15:51:14 +02:00
be0df123a8 chore(deps): update dependency igorshubovych/markdownlint-cli to v0.34.0
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2023-06-08 21:35:51 +02:00
bf55a651a1 feat(ci): migrate to volker.raschek/git v1.2.1
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-08 18:12:08 +02:00
f199db68d3 chore(deps): update dependency quay.io/skopeo/stable to v1.11.2
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2023-04-13 01:12:23 +02:00
5b1adb7440 feat(ci): use gitea as registry and docker as mirror
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-10 18:36:51 +02:00
f672c8fb13 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.33.0
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
2023-01-07 19:43:02 +01:00
709eda51ef chore(deps): update dependency igorshubovych/markdownlint-cli to v0.33.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-07 08:33:33 +01:00
91fc78e658 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-21 16:42:38 +02:00
556a2e2006 chore(deps): update dependency igorshubovych/markdownlint-cli to v0.32.2
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
2022-08-21 00:52:28 +02:00
04b1345a71 fix(ci): remove docker socket volume
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 17:36:25 +02:00
a5446ba303 fix(ci): use docker.io/volkerraschek/drone-email:0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 16:01:54 +02:00
df22dc8219 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 13:15:30 +02:00
4 changed files with 403 additions and 228 deletions

View File

@@ -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.2.1
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.32.0 image: git.cryptic.systems/volker.raschek/markdownlint:0.34.0
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@@ -18,15 +24,17 @@ steps:
- name: email-notification - name: email-notification
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@@ -46,53 +54,57 @@ 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.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile
dry_run: true dry_run: true
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-amd64 tags: latest-amd64
repo: volkerraschek/markdownlint
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
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger: trigger:
branch: branch:
exclude: exclude:
@@ -108,53 +120,57 @@ kind: pipeline
type: docker type: docker
name: dry-run-arm-v7 name: dry-run-arm-v7
clone:
disable: true
depends_on:
- linter
platform: platform:
os: linux os: linux
arch: arm arch: arm
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile
dry_run: true dry_run: true
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm-v7 tags: latest-arm-v7
repo: volkerraschek/markdownlint
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: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger: trigger:
branch: branch:
exclude: exclude:
@@ -170,53 +186,57 @@ 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.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile
dry_run: true dry_run: true
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm64-v8 tags: latest-arm64-v8
repo: volkerraschek/markdownlint
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: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger: trigger:
branch: branch:
exclude: exclude:
@@ -232,52 +252,56 @@ 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.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-amd64 tags: latest-amd64
repo: volkerraschek/markdownlint
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
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger: trigger:
branch: branch:
- master - master
@@ -292,52 +316,56 @@ kind: pipeline
type: docker type: docker
name: latest-arm-v7 name: latest-arm-v7
clone:
disable: true
depends_on:
- linter
platform: platform:
os: linux os: linux
arch: arm arch: arm
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm-v7 tags: latest-arm-v7
repo: volkerraschek/markdownlint
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: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger: trigger:
branch: branch:
- master - master
@@ -352,52 +380,56 @@ 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.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm64-v8 tags: latest-arm64-v8
repo: volkerraschek/markdownlint
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: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger: trigger:
branch: branch:
- master - master
@@ -412,7 +444,18 @@ kind: pipeline
type: kubernetes type: kubernetes
name: latest-manifest name: latest-manifest
clone:
disable: true
depends_on:
- latest-amd64
- latest-arm-v7
- latest-arm64-v8
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: build-manifest - name: build-manifest
image: docker.io/plugins/manifest:latest image: docker.io/plugins/manifest:latest
settings: settings:
@@ -420,21 +463,23 @@ steps:
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: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@@ -444,10 +489,65 @@ steps:
- changed - changed
- failure - failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: kubernetes
name: latest-sync
clone:
disable: true
depends_on: depends_on:
- latest-amd64 - latest-manifest
- latest-arm-v7
- latest-arm64-v8 steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.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/markdownlint 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.11.2
- 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
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger: trigger:
branch: branch:
@@ -463,51 +563,55 @@ 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.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
dockerfile: Dockerfile
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
repo: volkerraschek/markdownlint mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
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:
- MARKDOWNLINT_VERSION=${DRONE_TAG} - MARKDOWNLINT_VERSION=${DRONE_TAG}
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@@ -519,51 +623,55 @@ kind: pipeline
type: docker type: docker
name: tagged-arm-v7 name: tagged-arm-v7
clone:
disable: true
platform: platform:
os: linux os: linux
arch: arm arch: arm
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: arm-v7 auto_tag_suffix: arm-v7
dockerfile: Dockerfile
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
repo: volkerraschek/markdownlint mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
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:
- MARKDOWNLINT_VERSION=${DRONE_TAG} - MARKDOWNLINT_VERSION=${DRONE_TAG}
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@@ -575,51 +683,55 @@ 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.2.1
- name: build - name: build
image: docker.io/plugins/docker:latest 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
dockerfile: Dockerfile
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
repo: volkerraschek/markdownlint mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
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:
- MARKDOWNLINT_VERSION=${DRONE_TAG} - MARKDOWNLINT_VERSION=${DRONE_TAG}
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
when: when:
status: status:
- changed - changed
- failure - failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger: trigger:
event: event:
- tag - tag
@@ -631,7 +743,18 @@ kind: pipeline
type: kubernetes type: kubernetes
name: tagged-manifest name: tagged-manifest
clone:
disable: true
depends_on:
- tagged-amd64
- tagged-arm-v7
- tagged-arm64-v8
steps: steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
- name: build-manifest - name: build-manifest
image: docker.io/plugins/manifest:latest image: docker.io/plugins/manifest:latest
settings: settings:
@@ -639,21 +762,23 @@ steps:
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: notify - name: email-notification
image: docker.io/drillster/drone-email:latest
environment: environment:
PLUGIN_HOST: SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_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.2
from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 150 cpu: 150
@@ -663,10 +788,62 @@ steps:
- changed - changed
- failure - failure
trigger:
event:
- tag
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: kubernetes
name: tagged-sync
clone:
disable: true
depends_on: depends_on:
- tagged-amd64 - tagged-manifest
- tagged-arm-v7
- tagged-arm64-v8 steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.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/markdownlint 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.11.2
- 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
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger: trigger:
event: event:

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
# IntelliJ # IntelliJ
.idea/ .idea/
sync.sh

View File

@@ -1,6 +1,6 @@
# MARKDOWNLINT_VERSION # MARKDOWNLINT_VERSION
# Only required to install a specifiy version # Only required to install a specifiy version
MARKDOWNLINT_VERSION?=v0.32.1 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli MARKDOWNLINT_VERSION?=v0.35.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
# 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

View File

@@ -1,4 +1,4 @@
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}} {{#if build.tags}}
tags: tags:
{{#each build.tags}} {{#each build.tags}}
@@ -7,19 +7,16 @@ tags:
- "latest" - "latest"
{{/if}} {{/if}}
manifests: manifests:
- - image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
platform: platform:
architecture: amd64 architecture: amd64
os: linux os: linux
- - image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
platform: platform:
architecture: arm architecture: arm
os: linux os: linux
variant: v7 variant: v7
- - image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform: platform:
architecture: arm64 architecture: arm64
os: linux os: linux