20 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
5 changed files with 277 additions and 49 deletions

View File

@ -3,14 +3,20 @@ kind: pipeline
type: kubernetes
name: linter
clone:
disable: true
platform:
os: linux
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.32.1
image: git.cryptic.systems/volker.raschek/markdownlint:0.33.0
resources:
limits:
cpu: 150
@ -48,25 +54,32 @@ kind: pipeline
type: docker
name: dry-run-amd64
clone:
disable: true
platform:
os: linux
arch: amd64
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-amd64
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -104,25 +117,32 @@ kind: pipeline
type: docker
name: dry-run-arm-v7
clone:
disable: true
platform:
os: linux
arch: arm
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm-v7
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -160,25 +180,32 @@ kind: pipeline
type: docker
name: dry-run-arm64-v8
clone:
disable: true
platform:
os: linux
arch: arm64
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
registry: git.cryptic.systems
tags: latest-arm64-v8
repo: volkerraschek/markdownlint
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -216,24 +243,31 @@ kind: pipeline
type: docker
name: latest-amd64
clone:
disable: true
platform:
os: linux
arch: amd64
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
force_tag: true
no_cache: true
purge: true
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-amd64
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -270,24 +304,31 @@ kind: pipeline
type: docker
name: latest-arm-v7
clone:
disable: true
platform:
os: linux
arch: arm
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
force_tag: true
no_cache: true
purge: true
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm-v7
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -324,24 +365,31 @@ kind: pipeline
type: docker
name: latest-arm64-v8
clone:
disable: true
platform:
os: linux
arch: arm64
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
force_tag: true
no_cache: true
purge: true
registry: git.cryptic.systems
tags: latest-arm64-v8
repo: volkerraschek/markdownlint
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -378,7 +426,13 @@ kind: pipeline
type: kubernetes
name: latest-manifest
clone:
disable: true
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build-manifest
image: docker.io/plugins/manifest:latest
settings:
@ -386,9 +440,9 @@ steps:
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -417,6 +471,66 @@ depends_on:
- latest-arm-v7
- 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:
branch:
- master
@ -431,24 +545,31 @@ kind: pipeline
type: docker
name: tagged-amd64
clone:
disable: true
platform:
os: linux
arch: amd64
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: amd64
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
@ -481,24 +602,31 @@ kind: pipeline
type: docker
name: tagged-arm-v7
clone:
disable: true
platform:
os: linux
arch: arm
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: arm-v7
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
@ -531,24 +659,31 @@ kind: pipeline
type: docker
name: tagged-arm64-v8
clone:
disable: true
platform:
os: linux
arch: arm64
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:latest
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: arm64-v8
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
@ -581,7 +716,13 @@ kind: pipeline
type: kubernetes
name: tagged-manifest
clone:
disable: true
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: build-manifest
image: docker.io/plugins/manifest:latest
settings:
@ -589,9 +730,9 @@ steps:
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: container_image_registry_user
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: container_image_registry_password
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
@ -625,3 +766,60 @@ trigger:
- tag
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: kubernetes
name: tagged-sync
clone:
disable: true
steps:
- name: clone
image: docker.io/drone/git:1.2.1
- name: tagged-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
depends_on:
- tagged-manifest
trigger:
event:
- tag
repo:
- 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
.idea/
sync.sh

View File

@ -1,6 +1,6 @@
# MARKDOWNLINT_VERSION
# Only required to install a specifiy version
MARKDOWNLINT_VERSION?=v0.32.2 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
MARKDOWNLINT_VERSION?=v0.33.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
# CONTAINER_RUNTIME
# 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}}
tags:
{{#each build.tags}}
@ -7,19 +7,16 @@ tags:
- "latest"
{{/if}}
manifests:
-
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
platform:
architecture: amd64
os: linux
-
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
platform:
architecture: arm
os: linux
variant: v7
-
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform:
architecture: arm64
os: linux