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

Commit 1a85627

Browse files
committed
Added cue #3536
1 parent 2c0e50a commit 1a85627

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
@@ -750,6 +750,17 @@
750750
"datasourceTemplate": "github-releases",
751751
"extractVersionTemplate": "^v(?<version>.+?)$"
752752
},
753+
{
754+
"fileMatch": [
755+
"^tools/cue/manifest.yaml$"
756+
],
757+
"matchStrings": [
758+
"version: \"?(?<currentValue>.*?)\"?\\n"
759+
],
760+
"depNameTemplate": "cue-lang/cue",
761+
"datasourceTemplate": "github-releases",
762+
"extractVersionTemplate": "^v(?<version>.+?)$"
763+
},
753764
{
754765
"fileMatch": [
755766
"^tools/curl/manifest.yaml$"

tools/cue/Dockerfile.template

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5+
6+
ARG name
7+
ARG version
8+
9+
RUN <<EOF
10+
curl --silent --location "https://github.com/cue-lang/cue/releases/download/v${version}/cue_v${version}_linux_${alt_arch}.tar.gz" \
11+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner \
12+
cue
13+
"${prefix}${target}/bin/cue" completion bash >"${prefix}${target}/share/bash-completion/completions/cue"
14+
"${prefix}${target}/bin/cue" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/cue.fish"
15+
"${prefix}${target}/bin/cue" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_cue"
16+
EOF

tools/cue/manifest.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: cue
2+
version: 0.4.3
3+
check: ${binary} version | cut -d' ' -f3 | tr -d v
4+
tags:
5+
- type/cli
6+
homepage: https://github.com/cue-lang/cue
7+
description: Validate and define text-based and dynamic configuration
8+
renovate:
9+
datasource: github-releases
10+
package: cue-lang/cue
11+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)