Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit f32f480

Browse files
committed
Added clusterlint #3533
1 parent 7d43ab9 commit f32f480

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,17 @@
660660
"datasourceTemplate": "github-releases",
661661
"extractVersionTemplate": "^v(?<version>.+?)$"
662662
},
663+
{
664+
"fileMatch": [
665+
"^tools/clusterlint/manifest.yaml$"
666+
],
667+
"matchStrings": [
668+
"version: \"?(?<currentValue>.*?)\"?\\n"
669+
],
670+
"depNameTemplate": "digitalocean/clusterlint",
671+
"datasourceTemplate": "github-releases",
672+
"extractVersionTemplate": "^v(?<version>.+?)$"
673+
},
663674
{
664675
"fileMatch": [
665676
"^tools/cmctl/manifest.yaml$"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
curl --silent --location --fail "https://github.com/digitalocean/clusterlint/releases/download/v${version}/clusterlint-v${version}-linux-${alt_arch}.tar.gz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner
11+
EOF

tools/clusterlint/manifest.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: clusterlint
2+
version: "0.5.0"
3+
check: ${binary} --version | cut -d' ' -f3 | tr -d v
4+
platforms:
5+
- linux/amd64
6+
tags:
7+
- org/digitalocean
8+
- category/operations
9+
- lang/go
10+
- type/cli
11+
homepage: https://github.com/digitalocean/clusterlint
12+
description: Best practices checker for Kubernetes clusters
13+
renovate:
14+
datasource: github-releases
15+
package: digitalocean/clusterlint
16+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)