You've already forked yamllint-docker
Compare commits
38 Commits
d8894f2848
...
v1.30.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
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 |
44
.drone.yml
44
.drone.yml
@@ -11,12 +11,12 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- 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
|
- name: markdown lint
|
||||||
commands:
|
commands:
|
||||||
- markdownlint *.md
|
- markdownlint *.md
|
||||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0
|
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 150
|
cpu: 150
|
||||||
@@ -66,10 +66,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -132,10 +132,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -198,10 +198,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -262,10 +262,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -328,10 +328,10 @@ node_selector:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- 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
|
- name: build-manifest
|
||||||
image: docker.io/plugins/manifest:1.4.0
|
image: harbor.cryptic.systems/docker/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@@ -385,7 +385,7 @@ depends_on:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- 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
|
- name: latest-sync
|
||||||
commands:
|
commands:
|
||||||
@@ -399,7 +399,7 @@ steps:
|
|||||||
from_secret: container_image_registry_user
|
from_secret: container_image_registry_user
|
||||||
DEST_CRED_PASSWORD:
|
DEST_CRED_PASSWORD:
|
||||||
from_secret: container_image_registry_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
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@@ -446,10 +446,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: amd64
|
auto_tag_suffix: amd64
|
||||||
@@ -506,10 +506,10 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: git.cryptic.systems/volker.raschek/git:1.3.1
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/plugins/docker:20.17.2
|
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: arm64-v8
|
auto_tag_suffix: arm64-v8
|
||||||
@@ -571,10 +571,10 @@ node_selector:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- 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
|
- name: build-manifest
|
||||||
image: docker.io/plugins/manifest:1.4.0
|
image: harbor.cryptic.systems/docker/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@@ -625,7 +625,7 @@ depends_on:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- 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
|
- name: tagged-sync
|
||||||
commands:
|
commands:
|
||||||
@@ -639,7 +639,7 @@ steps:
|
|||||||
from_secret: container_image_registry_user
|
from_secret: container_image_registry_user
|
||||||
DEST_CRED_PASSWORD:
|
DEST_CRED_PASSWORD:
|
||||||
from_secret: container_image_registry_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
|
- name: email-notification
|
||||||
environment:
|
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
|
ARG YAMLLINT_VERSION=master
|
||||||
|
|
||||||
@@ -8,9 +8,12 @@ RUN set -ex && \
|
|||||||
apk add git python3 py-pip
|
apk add git python3 py-pip
|
||||||
|
|
||||||
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
|
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
|
||||||
python3 -m pip install /tmp/yamllint && \
|
python3 -m venv /venv && \
|
||||||
rm -rf /tmp/yamllint
|
/venv/bin/pip3 install /tmp/yamllint && \
|
||||||
|
rm -r -f /tmp/yamllint
|
||||||
|
|
||||||
|
ENV PATH="/venv/bin:${PATH}"
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/yamllint" ]
|
ENTRYPOINT [ "yamllint" ]
|
||||||
|
|||||||
6
Makefile
6
Makefile
@@ -1,6 +1,6 @@
|
|||||||
# YAMLLINT_VERSION
|
# YAMLLINT_VERSION
|
||||||
# Only required to install a specifiy version
|
# Only required to install a specifiy version
|
||||||
YAMLLINT_VERSION?=v1.28.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
YAMLLINT_VERSION?=v1.30.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||||
|
|
||||||
# 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
|
||||||
@@ -9,8 +9,8 @@ CONTAINER_RUNTIME?=$(shell which podman)
|
|||||||
|
|
||||||
# YAMLLINT_IMAGE_REGISTRY_NAME
|
# YAMLLINT_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.
|
||||||
YAMLLINT_IMAGE_REGISTRY_NAME:=git.cryptic.systems
|
YAMLLINT_IMAGE_REGISTRY_NAME?=git.cryptic.systems
|
||||||
YAMLLINT_IMAGE_REGISTRY_USER:=volker.raschek
|
YAMLLINT_IMAGE_REGISTRY_USER?=volker.raschek
|
||||||
|
|
||||||
YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
|
YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
|
||||||
YAMLLINT_IMAGE_NAME:=yamllint
|
YAMLLINT_IMAGE_NAME:=yamllint
|
||||||
|
|||||||
@@ -1,42 +1,9 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"assignees": [ "volker.raschek" ],
|
"extends": [
|
||||||
"automergeStrategy": "merge-commit",
|
"local>volker.raschek/renovate-config:default#master",
|
||||||
"automergeType": "pr",
|
"local>volker.raschek/renovate-config:container#master",
|
||||||
"labels": [ "renovate" ],
|
"local>volker.raschek/renovate-config:actions#master",
|
||||||
"packageRules": [
|
"local>volker.raschek/renovate-config:regexp#master"
|
||||||
{
|
|
||||||
"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>.*))?"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user