Compare commits

...

9 Commits

Author SHA1 Message Date
Markus Pesch 126140c94c
fix(drone) bump markdown-lint image
continuous-integration/drone/push Build is passing Details
2022-02-10 10:09:37 +01:00
Markus Pesch 67a902acaf
fix(drone): force rebuild image
continuous-integration/drone/push Build is passing Details
2022-02-10 09:58:10 +01:00
Markus Pesch 76a6abc21d
fix: set workdir
continuous-integration/drone/push Build is passing Details
2022-02-10 09:40:13 +01:00
Markus Pesch b56d837ef2 Merge pull request 'chore(deps): update dependency markdownlint-ci to v0.31.1' (#5) from renovate/markdownlint-ci-0.x into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: #5
2022-02-09 19:22:21 +00:00
CSRBot 1356b5b048 chore(deps): update dependency markdownlint-ci to v0.31.1
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2022-02-09 20:15:23 +01:00
Markus Pesch bd50e4f7b2
fix: define default branch
continuous-integration/drone/push Build is passing Details
2022-02-09 20:09:48 +01:00
Markus Pesch 6037be6651
fix: build markdownlint-ci from source code
continuous-integration/drone/push Build is failing Details
2022-02-09 20:04:48 +01:00
Markus Pesch 42588b3de7
fix(ci): add package rules
continuous-integration/drone/push Build is passing Details
2022-01-30 18:29:55 +01:00
CSRBot 4c8744948a chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.30.0
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-11-20 12:04:10 +00:00
4 changed files with 71 additions and 35 deletions

View File

@ -10,7 +10,7 @@ steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.29.0
image: docker.io/volkerraschek/markdownlint:0.31.1
resources:
limits:
cpu: 50
@ -54,16 +54,17 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
tags: latest-amd64
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
@ -115,16 +116,17 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
tags: latest-arm-v7
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify
image: drillster/drone-email
@ -176,16 +178,17 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
tags: latest-arm64-v8
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify
image: drillster/drone-email
@ -237,15 +240,16 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
force_tag: true
no_cache: true
purge: true
tags: latest-amd64
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
@ -296,15 +300,16 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
force_tag: true
no_cache: true
purge: true
tags: latest-arm-v7
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify
image: drillster/drone-email
@ -355,15 +360,16 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: false
force_tag: true
no_cache: true
purge: true
tags: latest-arm64-v8
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
- name: notify
image: drillster/drone-email
@ -465,9 +471,11 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: amd64
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
@ -475,7 +483,6 @@ steps:
from_secret: container_image_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
@ -520,9 +527,11 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: arm-v7
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
@ -530,7 +539,6 @@ steps:
from_secret: container_image_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
@ -575,9 +583,11 @@ steps:
- name: build
image: plugins/docker
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: arm64-v8
auto_tag_suffix: ard64-v8
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
@ -585,7 +595,6 @@ steps:
from_secret: container_image_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock

View File

@ -1,18 +1,19 @@
FROM docker.io/library/alpine:3.12
FROM docker.io/library/node:lts-alpine3.15 AS build
ARG NODEJS_VERSION=12.22.6-r0
ARG MARKDOWNLINT_VERSION
ARG MARKDOWNLINT_VERSION=master
RUN set -ex && \
apk add --no-cache nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION}
apk update && \
apk upgrade && \
apk add --no-cache git
RUN if [ ! -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli@${MARKDOWNLINT_VERSION}; fi
RUN if [ -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli; fi
RUN set -ex && \
npm cache clean --force && \
apk del nodejs-npm
RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/markdownlint-cli /markdownlint && \
cd /markdownlint && \
npm install --production && \
npm install --global
WORKDIR /work
ENTRYPOINT ["/usr/bin/markdownlint"]
CMD ["."]
RUN ln -fs /work /workspace
ENTRYPOINT [ "/usr/local/bin/markdownlint" ]

View File

@ -1,6 +1,6 @@
# MARKDOWNLINT_VERSION
# Only required to install a specifiy version
MARKDOWNLINT_VERSION?=
MARKDOWNLINT_VERSION?=v0.31.1 # renovate: datasource=github-releases depName=markdownlint-ci lookupName=igorshubovych/markdownlint-cli versioning=semver
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a

View File

@ -1,8 +1,34 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": true,
"assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/markdownlint-cli", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "markdownlint-cli" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch"
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update version",
"fileMatch": [
"^Makefile$"
],
"matchStrings": [
"MARKDOWNLINT_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*) (lookupName=(?<lookupName>.*))? (versioning=(?<versioning>.*))?"
]
}
]
}