-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65f8439
commit 385b222
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#syntax=docker/dockerfile:1.12.0@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5 | ||
|
||
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 <<EOF | ||
url="https://github.com/jlewi/foyle/releases/download/v${version}/foyle_${version}_linux_${alt_arch}" | ||
filename="$( basename "${url}" )" | ||
|
||
check-github-release-asset "jlewi/foyle" "v${version}" "${filename}" | ||
curl --silent --show-error --location --fail --output "${uniget_cache_download}/${filename}" \ | ||
"${url}" | ||
|
||
install --mode=0755 \ | ||
"${uniget_cache_download}/${filename}" \ | ||
"${prefix}/bin/foyle" | ||
|
||
"${prefix}/bin/foyle" completion bash >"${prefix}/share/bash-completion/completions/foyle" | ||
"${prefix}/bin/foyle" completion fish >"${prefix}/share/fish/vendor_completions.d/foyle.fish" | ||
"${prefix}/bin/foyle" completion zsh >"${prefix}/share/zsh/vendor-completions/_foyle" | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# yaml-language-server: $schema=https://tools.uniget.dev/schema.yaml | ||
$schema: https://tools.uniget.dev/schema.yaml | ||
name: foyle | ||
license: | ||
name: Apache License 2.0 | ||
link: https://github.com/jlewi/foyle/blob/main/LICENSE | ||
version: "0.0.42" | ||
check: ${binary} version | cut -d, -f1 | cut -d' ' -f2 | ||
runtime_dependencies: | ||
- runme | ||
platforms: | ||
- linux/amd64 | ||
- linux/arm64 | ||
tags: | ||
- category/operations | ||
- lang/go | ||
- type/cli | ||
- type/daemon | ||
homepage: https://foyle.io/ | ||
repository: https://github.com/jlewi/foyle | ||
description: Copilot to help developers deploy and operate their applications | ||
messages: | ||
usage: | | ||
You need Visual Studio Code to use this tool. | ||
renovate: | ||
datasource: github-releases | ||
package: jlewi/foyle | ||
extractVersion: ^v(?<version>.+)$ | ||
priority: low |