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

Commit cc988a7

Browse files
committed
Added click #2248
1 parent 290dc20 commit cc988a7

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
@@ -617,6 +617,17 @@
617617
"datasourceTemplate": "github-releases",
618618
"extractVersionTemplate": "^v(?<version>.+?)$"
619619
},
620+
{
621+
"fileMatch": [
622+
"^tools/click/manifest.yaml$"
623+
],
624+
"matchStrings": [
625+
"version: \"?(?<currentValue>.*?)\"?\\n"
626+
],
627+
"depNameTemplate": "databricks/click",
628+
"datasourceTemplate": "github-releases",
629+
"extractVersionTemplate": "^v(?<version>.+?)$"
630+
},
620631
{
621632
"fileMatch": [
622633
"^tools/cloudflared/manifest.yaml$"

tools/click/Dockerfile.template

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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/databricks/click/releases/download/v${version}/click-v${version}-x86_64-unknown-linux-musl.tar.gz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --strip-components=1 --no-same-owner \
11+
click-v${version}-x86_64-unknown-linux-musl/click
12+
EOF

tools/click/manifest.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: click
2+
version: "0.6.2"
3+
check: ${binary} --version | cut -d' ' -f2
4+
platforms:
5+
- linux/amd64
6+
tags:
7+
- category/operations
8+
- lang/rust
9+
- type/cli
10+
homepage: https://github.com/databricks/click
11+
description: Command Line Interactive Controller for Kubernetes
12+
renovate:
13+
datasource: github-releases
14+
package: databricks/click
15+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)