You've already forked yamllint-docker
Compare commits
45 Commits
d8894f2848
...
v1.35.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
4d6a42376e
|
|||
|
3e0b6db034
|
|||
|
d213586484
|
|||
|
9710d3d75a
|
|||
|
955bce963c
|
|||
|
01f334cb27
|
|||
|
c0013168af
|
|||
|
9416db9aab
|
|||
|
ea8855db1e
|
|||
|
e801b3bbf1
|
|||
|
8da5d3ffd7
|
|||
|
05d65f9a8c
|
|||
|
bf90bd6727
|
|||
|
02212a0762
|
|||
| f9cb9391e7 | |||
|
27d530b662
|
|||
| 7dd8573554 | |||
|
1ceb92b6a4
|
|||
|
1eeb9568d5
|
|||
|
d1263d9b3c
|
|||
|
9a6baed073
|
|||
|
39e6c8618c
|
|||
|
83e3272876
|
|||
|
4d92b79cc2
|
|||
|
62c408e33b
|
|||
|
ce11a8a7c9
|
|||
|
19a2f23087
|
|||
|
6767f14f31
|
|||
|
699777ed4b
|
|||
|
f6bf6be70e
|
|||
|
acdb26116b
|
|||
|
912c6d8577
|
|||
|
f6b63328c6
|
|||
|
d6a705b2ab
|
|||
|
d26e98ef81
|
|||
|
e5f08c6bd7
|
|||
|
232707e21a
|
|||
|
9819f4a641
|
|||
|
692075a160
|
|||
|
0ce3daf1ff
|
|||
|
def8e22ebd
|
|||
|
2dbcc8845c
|
|||
|
ba2a1dce2d
|
|||
|
2894c04e11
|
|||
| 45e882501a |
40
.drone.yml
40
.drone.yml
@@ -11,12 +11,12 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: markdown lint
|
||||
commands:
|
||||
- markdownlint *.md
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@@ -66,10 +66,10 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.17.2
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@@ -132,10 +132,10 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.17.2
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@@ -198,10 +198,10 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.17.2
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@@ -262,10 +262,10 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.17.2
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@@ -328,7 +328,7 @@ node_selector:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build-manifest
|
||||
image: docker.io/plugins/manifest:1.4.0
|
||||
@@ -385,7 +385,7 @@ depends_on:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: latest-sync
|
||||
commands:
|
||||
@@ -399,7 +399,7 @@ steps:
|
||||
from_secret: container_image_registry_user
|
||||
DEST_CRED_PASSWORD:
|
||||
from_secret: container_image_registry_password
|
||||
image: quay.io/skopeo/stable:v1.14.0
|
||||
image: quay.io/skopeo/stable:v1.18.0
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
@@ -446,10 +446,10 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.17.2
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: amd64
|
||||
@@ -506,10 +506,10 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.17.2
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm64-v8
|
||||
@@ -571,7 +571,7 @@ node_selector:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build-manifest
|
||||
image: docker.io/plugins/manifest:1.4.0
|
||||
@@ -625,7 +625,7 @@ depends_on:
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: tagged-sync
|
||||
commands:
|
||||
@@ -639,7 +639,7 @@ steps:
|
||||
from_secret: container_image_registry_user
|
||||
DEST_CRED_PASSWORD:
|
||||
from_secret: container_image_registry_password
|
||||
image: quay.io/skopeo/stable:v1.14.0
|
||||
image: quay.io/skopeo/stable:v1.18.0
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
|
||||
11
Dockerfile
11
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM docker.io/library/alpine:3.18.5 AS build
|
||||
FROM docker.io/library/python:3.13.2-alpine AS build
|
||||
|
||||
ARG YAMLLINT_VERSION=master
|
||||
|
||||
@@ -8,9 +8,12 @@ RUN set -ex && \
|
||||
apk add git python3 py-pip
|
||||
|
||||
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
|
||||
python3 -m pip install /tmp/yamllint && \
|
||||
rm -rf /tmp/yamllint
|
||||
python3 -m venv /venv && \
|
||||
/venv/bin/pip3 install /tmp/yamllint && \
|
||||
rm -r -f /tmp/yamllint
|
||||
|
||||
ENV PATH="/venv/bin:${PATH}"
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/yamllint" ]
|
||||
ENTRYPOINT [ "yamllint" ]
|
||||
|
||||
6
Makefile
6
Makefile
@@ -1,6 +1,6 @@
|
||||
# YAMLLINT_VERSION
|
||||
# Only required to install a specifiy version
|
||||
YAMLLINT_VERSION?=v1.28.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||
YAMLLINT_VERSION?=v1.35.1 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||
@@ -9,8 +9,8 @@ CONTAINER_RUNTIME?=$(shell which podman)
|
||||
|
||||
# YAMLLINT_IMAGE_REGISTRY_NAME
|
||||
# Defines the name of the new container to be built using several variables.
|
||||
YAMLLINT_IMAGE_REGISTRY_NAME:=git.cryptic.systems
|
||||
YAMLLINT_IMAGE_REGISTRY_USER:=volker.raschek
|
||||
YAMLLINT_IMAGE_REGISTRY_NAME?=git.cryptic.systems
|
||||
YAMLLINT_IMAGE_REGISTRY_USER?=volker.raschek
|
||||
|
||||
YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
|
||||
YAMLLINT_IMAGE_NAME:=yamllint
|
||||
|
||||
@@ -1,42 +1,9 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"assignees": [ "volker.raschek" ],
|
||||
"automergeStrategy": "merge-commit",
|
||||
"automergeType": "pr",
|
||||
"labels": [ "renovate" ],
|
||||
"packageRules": [
|
||||
{
|
||||
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
|
||||
"automerge": true,
|
||||
"matchManagers": "droneci",
|
||||
"matchUpdateTypes": [ "minor", "patch"]
|
||||
},
|
||||
{
|
||||
"description": "Automatically update patch version of used container images in docker files",
|
||||
"addLabels": [ "renovate/container-image", "renovate/automerge" ],
|
||||
"automerge": true,
|
||||
"matchBaseBranches": [ "master" ],
|
||||
"matchManagers": [ "dockerfile" ],
|
||||
"matchUpdateTypes": [ "patch" ]
|
||||
},
|
||||
{
|
||||
"addLabels": [ "renovate/yamllint", "renovate/automerge" ],
|
||||
"automerge": false,
|
||||
"matchPackageNames": [ "yamllint" ],
|
||||
"matchManagers": [ "regex" ]
|
||||
}
|
||||
],
|
||||
"rebaseLabel": "renovate/rebase",
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"regexManagers": [
|
||||
{
|
||||
"description": "Update version",
|
||||
"fileMatch": [
|
||||
"^Makefile$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"YAMLLINT_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?"
|
||||
]
|
||||
}
|
||||
"extends": [
|
||||
"local>volker.raschek/renovate-config:default#master",
|
||||
"local>volker.raschek/renovate-config:container#master",
|
||||
"local>volker.raschek/renovate-config:actions#master",
|
||||
"local>volker.raschek/renovate-config:regexp#master"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user