From a9447892248ef8fd5053ad6881c7e4d0773557c2 Mon Sep 17 00:00:00 2001 From: Nicholas Dille Date: Tue, 5 Nov 2024 17:05:17 +0100 Subject: [PATCH] Added runme --- renovate.json | 12 ++++++++++ tools/runme/Dockerfile.template | 40 +++++++++++++++++++++++++++++++++ tools/runme/manifest.yaml | 23 +++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 tools/runme/Dockerfile.template create mode 100644 tools/runme/manifest.yaml diff --git a/renovate.json b/renovate.json index 1cd7764324..9ad510551a 100644 --- a/renovate.json +++ b/renovate.json @@ -7542,6 +7542,18 @@ "version: \"?(?.*?)\"?\\n" ] }, + { + "customType": "regex", + "datasourceTemplate": "github-releases", + "depNameTemplate": "stateful/runme", + "extractVersionTemplate": "^v(?.+)$", + "fileMatch": [ + "^tools/runme/manifest.yaml$" + ], + "matchStrings": [ + "version: \"?(?.*?)\"?\\n" + ] + }, { "customType": "regex", "datasourceTemplate": "github-releases", diff --git a/tools/runme/Dockerfile.template b/tools/runme/Dockerfile.template new file mode 100644 index 0000000000..1d4b6b7537 --- /dev/null +++ b/tools/runme/Dockerfile.template @@ -0,0 +1,40 @@ +#syntax=docker/dockerfile:1.11.0@sha256:1f2be5a2aa052cbd9aedf893d17c63277c3d1c51b3fb0f3b029c6b34f658d057 + +FROM registry.gitlab.com/uniget-org/images/ubuntu:24.04 AS prepare +COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \ + /etc/profile.d/ \ + /etc/profile.d/ +SHELL [ "bash", "-clo", "errexit" ] +ARG name +ARG version +RUN --mount=type=cache,target=/var/cache/uniget/download <"${prefix}/share/bash-completion/completions/runme" +"${prefix}/bin/runme" completion fish >"${prefix}/share/fish/vendor_completions.d/runme.fish" +"${prefix}/bin/runme" completion zsh >"${prefix}/share/zsh/vendor-completions/_runme" +EOF \ No newline at end of file diff --git a/tools/runme/manifest.yaml b/tools/runme/manifest.yaml new file mode 100644 index 0000000000..8412ce4e5a --- /dev/null +++ b/tools/runme/manifest.yaml @@ -0,0 +1,23 @@ +# yaml-language-server: $schema=https://tools.uniget.dev/schema.yaml +$schema: https://tools.uniget.dev/schema.yaml +name: runme +license: + name: Apache License 2.0 + link: https://github.com/stateful/runme/blob/main/LICENSE +version: "3.9.2" +check: "" +platforms: +- linux/amd64 +- linux/arm64 +tags: +- category/development +- lang/go +- type/cli +homepage: https://runme.dev/ +repository: https://github.com/stateful/runme +description: DevOps Notebooks Built with Markdown +renovate: + datasource: github-releases + package: stateful/runme + extractVersion: ^v(?.+)$ + priority: low \ No newline at end of file