35 Commits

Author SHA1 Message Date
6e8a6e70f7 fix(ci): define container-runtime
Some checks failed
build-x86_64
build / build-x86_64 (push) Failing after 14s
2023-05-21 13:07:15 +02:00
bcf0eed0a9 Merge pull request 'chore(deps): update dependency quay.io/skopeo/stable to v1.12.0' (#18) from renovate/quay.io-skopeo-stable-1.x into master
Some checks failed
build-x86_64
Reviewed-on: #18
2023-05-21 10:47:09 +00:00
ab620531ed chore(deps): update dependency quay.io/skopeo/stable to v1.12.0
Some checks failed
build-x86_64
2023-05-18 13:58:38 +02:00
fc500c5605 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:52:33 +02:00
ceebed25a0 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:47:38 +02:00
55a7affa1a fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:46:57 +02:00
50ca134431 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:46:18 +02:00
1824582a49 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:45:21 +02:00
5b98632bbf fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:40:02 +02:00
5a8f64a0ff fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:39:27 +02:00
1fa4eadfc4 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:39:03 +02:00
67f6b13bae fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:29:23 +02:00
441402ae5c fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:28:39 +02:00
5c87f90b5d fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:20:21 +02:00
4b46541ba2 fix(ci): migrate to gitea actions 2023-04-13 22:19:39 +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
251fe34445 Merge pull request 'chore(deps): update dependency igorshubovych/markdownlint-cli to v0.32.1' (#8) from renovate/igorshubovych-markdownlint-cli-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #8
2022-07-25 10:32:13 +00:00
f3aeb335e7 chore(deps): update dependency igorshubovych/markdownlint-cli 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 12:31:28 +02:00
d2730585a3 fix(renovate): adapt markdownlint version regexp
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 12:28:36 +02:00
595e325c43 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-19 19:22:09 +02:00
770dc74913 fix: correct auto tag suffix
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 19:15:01 +02:00
4eff9bdbb0 fix: bump to v0.32.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 10:31:06 +02:00
67364ffee2 fix: use podman instead of docker
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 10:26:50 +02:00
8c92b356b3 fix(ci): resource limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-22 13:09:53 +02:00
29d1ea0ff2 fix(ci): use fully qualified image name
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-22 13:02:12 +02:00
0c87bbe6eb fix(ci): use gitea to sync repo with github
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-03 17:44:42 +02:00
16fc320a9e fix(ci): renovate search condition
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-14 22:03:46 +02:00
7 changed files with 373 additions and 248 deletions

View File

@ -3,34 +3,42 @@ kind: pipeline
type: kubernetes type: kubernetes
name: linter name: linter
clone:
disable: true
platform: platform:
os: linux os: linux
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.31.1 image: git.cryptic.systems/volker.raschek/markdownlint:0.33.0
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 50M memory: 150M
- 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: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@ -46,50 +54,51 @@ kind: pipeline
type: docker type: docker
name: dry-run-amd64 name: dry-run-amd64
clone:
disable: true
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dry_run: true dry_run: true
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
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: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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: depends_on:
- linter - linter
@ -108,50 +117,51 @@ kind: pipeline
type: docker type: docker
name: dry-run-arm-v7 name: dry-run-arm-v7
clone:
disable: true
platform: platform:
os: linux os: linux
arch: arm arch: arm
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dry_run: true dry_run: true
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
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: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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: depends_on:
- linter - linter
@ -170,50 +180,51 @@ kind: pipeline
type: docker type: docker
name: dry-run-arm64-v8 name: dry-run-arm64-v8
clone:
disable: true
platform: platform:
os: linux os: linux
arch: arm64 arch: arm64
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
dry_run: true dry_run: true
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
registry: git.cryptic.systems
tags: latest-arm64-v8 tags: latest-arm64-v8
repo: volkerraschek/markdownlint 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
- name: notify - name: email-notification
image: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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: depends_on:
- linter - linter
@ -232,49 +243,50 @@ kind: pipeline
type: docker type: docker
name: latest-amd64 name: latest-amd64
clone:
disable: true
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
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: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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: depends_on:
- linter - linter
@ -292,49 +304,50 @@ kind: pipeline
type: docker type: docker
name: latest-arm-v7 name: latest-arm-v7
clone:
disable: true
platform: platform:
os: linux os: linux
arch: arm arch: arm
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
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: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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: depends_on:
- linter - linter
@ -352,49 +365,50 @@ kind: pipeline
type: docker type: docker
name: latest-arm64-v8 name: latest-arm64-v8
clone:
disable: true
platform: platform:
os: linux os: linux
arch: arm64 arch: arm64
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: false auto_tag: false
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
registry: git.cryptic.systems
tags: latest-arm64-v8 tags: latest-arm64-v8
repo: volkerraschek/markdownlint 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
- name: notify - name: email-notification
image: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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: depends_on:
- linter - linter
@ -412,33 +426,41 @@ kind: pipeline
type: kubernetes type: kubernetes
name: latest-manifest name: latest-manifest
clone:
disable: true
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build-manifest - name: build-manifest
image: plugins/manifest image: docker.io/plugins/manifest:latest
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: 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: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@ -449,6 +471,66 @@ depends_on:
- latest-arm-v7 - latest-arm-v7
- latest-arm64-v8 - latest-arm64-v8
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: kubernetes
name: latest-sync
clone:
disable: true
depends_on:
- latest-manifest
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: latest-docker-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.12.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: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger: trigger:
branch: branch:
- master - master
@ -463,51 +545,52 @@ 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: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
repo: volkerraschek/markdownlint 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: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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 +602,52 @@ 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: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker 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
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
repo: volkerraschek/markdownlint 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: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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 +659,52 @@ 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: docker.io/drone/git:1.2.1
- name: build - name: build
image: plugins/docker image: docker.io/plugins/docker:20.10.9
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: ard64-v8 auto_tag_suffix: arm64-v8
force_tag: true force_tag: true
no_cache: true no_cache: true
purge: true purge: true
repo: volkerraschek/markdownlint 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: drillster/drone-email
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: docker.io/volkerraschek/drone-email:0.1.1
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,33 +716,41 @@ kind: pipeline
type: kubernetes type: kubernetes
name: tagged-manifest name: tagged-manifest
clone:
disable: true
steps: steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build-manifest - name: build-manifest
image: plugins/manifest image: docker.io/plugins/manifest:latest
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: 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: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
@ -677,54 +770,56 @@ trigger:
--- ---
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: sync name: tagged-sync
platform: clone:
os: linux disable: true
arch: amd64
steps: steps:
- name: github - name: clone
image: docker.io/appleboy/drone-git-push:latest image: docker.io/drone/git:1.2.1
resources:
limits: - name: tagged-docker-sync
cpu: 50 commands:
memory: 25M - 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
settings: environment:
branch: master SRC_CRED_USERNAME:
remote: ssh://git@github.com/volker-raschek/markdownlint-docker.git from_secret: git_cryptic_systems_container_registry_user
force: true SRC_CRED_PASSWORD:
ssh_key: from_secret: git_cryptic_systems_container_registry_password
from_secret: ssh_key DEST_CRED_USERNAME:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.12.0
- 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: docker.io/volkerraschek/drone-email:0.1.1
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources: resources:
limits: limits:
cpu: 50 cpu: 150
memory: 25M memory: 150M
when: when:
status: status:
- changed - changed
- failure - failure
depends_on: depends_on:
- latest-manifest - tagged-manifest
trigger: trigger:
branch:
- master
event: event:
- cron - tag
- push
repo: repo:
- volker.raschek/markdownlint-docker - volker.raschek/markdownlint-docker

View File

@ -0,0 +1,32 @@
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-x86_64:
runs-on: x86_64
steps:
- name: checkout repo
uses: actions/checkout@v3
# - name: Install docker
# run: |
# apt-get update
# apt-get upgrade --yes
# apt-get install --yes ca-certificates curl gnupg
# install -m 0755 -d /etc/apt/keyrings
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# chmod a+r /etc/apt/keyrings/docker.gpg
# echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
# apt-get update --yes
# apt-get install --yes docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: build application
env:
CONTAINER_RUNTIME: podman
shell: bash
run: make container-image/build

1
.gitignore vendored
View File

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

View File

@ -1,4 +1,4 @@
FROM docker.io/library/node:lts-alpine3.15 AS build FROM docker.io/library/node:lts-alpine3.16 AS build
ARG MARKDOWNLINT_VERSION=master ARG MARKDOWNLINT_VERSION=master

View File

@ -1,11 +1,11 @@
# MARKDOWNLINT_VERSION # MARKDOWNLINT_VERSION
# Only required to install a specifiy version # Only required to install a specifiy version
MARKDOWNLINT_VERSION?=v0.31.1 # renovate: datasource=github-releases depName=markdownlint-ci lookupName=igorshubovych/markdownlint-cli versioning=semver MARKDOWNLINT_VERSION?=v0.33.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
# 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)
# MARKDOWNLINT_IMAGE_REGISTRY_NAME # MARKDOWNLINT_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.

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

View File

@ -27,7 +27,7 @@
"^Makefile$" "^Makefile$"
], ],
"matchStrings": [ "matchStrings": [
"MARKDOWNLINT_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*) (lookupName=(?<lookupName>.*))? (versioning=(?<versioning>.*))?" "MARKDOWNLINT_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?"
] ]
} }
] ]