containers: simplify aports-dev container image

More changes:
- Drop yq from YAML generating task. Jsonnet's output (using
  quote_keys=false) is pretty good already. `jsonnet-lint` right now
  isn't happy though.
- Update versions of container images
This commit is contained in:
Hoang Nguyen 2024-01-14 00:00:00 +07:00
parent 1549f55dfe
commit 3852df5f14
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
26 changed files with 1280 additions and 1113 deletions

View File

@ -26,8 +26,8 @@ tasks:
jsonnet:
aliases:
- default
deps:
- jsonnet-lint
# deps:
# - jsonnet-lint
cmd: |-
find . \
-name "*.jsonnet" \

View File

@ -127,4 +127,5 @@ std.manifestYamlDoc([
],
tags: ['gotelemetry', 'golang'],
},
] + [task(x) for x in modules])
] + [task(x) for x in modules],
quote_keys=false)

View File

@ -4,217 +4,217 @@
# Do NOT edit!!
- copy:
dest: '{{ xdg_dir.config_home }}/starship.toml'
dest: "{{ xdg_dir.config_home }}/starship.toml"
force: true
mode: "644"
src: starship.toml
name: starship | Copy shell prompt config
src: "starship.toml"
name: "starship | Copy shell prompt config"
tags:
- shells
- starship
- "shells"
- "starship"
- include_tasks:
apply:
tags:
- terminal
- '{{ item }}'
file: '{{ item }}.yml'
loop: '{{ terminal_emulators }}'
name: Configure terminal emulators
- "terminal"
- "{{ item }}"
file: "{{ item }}.yml"
loop: "{{ terminal_emulators }}"
name: "Configure terminal emulators"
tags:
- terminal
- foot
- alacritty
- "terminal"
- "foot"
- "alacritty"
- copy:
dest: '{{ xdg_dir.config_home }}/user-dirs.dirs'
dest: "{{ xdg_dir.config_home }}/user-dirs.dirs"
mode: "644"
src: user-dirs.dirs
name: xdg-user-dirs | Configure XDG_USER_DIRS definitions
tags: xdg-user-dirs
src: "user-dirs.dirs"
name: "xdg-user-dirs | Configure XDG_USER_DIRS definitions"
tags: "xdg-user-dirs"
- block:
- file:
mode: "755"
path: '{{ xdg_dir.config_home }}/go/telemetry'
state: directory
name: golang | Create Go config directory
- copy:
content: |
off {{ '%Y-%m-%d' | strftime }}
dest: '{{ xdg_dir.config_home }}/go/telemetry/mode'
mode: "644"
name: golang | Set mode file to off with current date
name: golang | Set telemetry to off
- file:
mode: "755"
path: "{{ xdg_dir.config_home }}/go/telemetry"
state: "directory"
name: "golang | Create Go config directory"
- copy:
content: |
off {{ '%Y-%m-%d' | strftime }}
dest: "{{ xdg_dir.config_home }}/go/telemetry/mode"
mode: "644"
name: "golang | Set mode file to off with current date"
name: "golang | Set telemetry to off"
tags:
- gotelemetry
- golang
- import_tasks: aerc.yml
name: Configure aerc
tags: aerc
- import_tasks: amfora.yml
name: Configure amfora
tags: amfora
- import_tasks: animdl.yml
name: Configure animdl
tags: animdl
- import_tasks: bash.yml
name: Configure bash
- "gotelemetry"
- "golang"
- import_tasks: "aerc.yml"
name: "Configure aerc"
tags: "aerc"
- import_tasks: "amfora.yml"
name: "Configure amfora"
tags: "amfora"
- import_tasks: "animdl.yml"
name: "Configure animdl"
tags: "animdl"
- import_tasks: "bash.yml"
name: "Configure bash"
tags:
- shells
- bash
- import_tasks: bat.yml
name: Configure bat
tags: bat
- import_tasks: btop.yml
name: Configure btop
tags: btop
- import_tasks: calcurse.yml
name: Configure calcurse
tags: calcurse
- import_tasks: castero.yml
name: Configure castero
tags: castero
- import_tasks: cava.yml
name: Configure cava
tags: cava
- "shells"
- "bash"
- import_tasks: "bat.yml"
name: "Configure bat"
tags: "bat"
- import_tasks: "btop.yml"
name: "Configure btop"
tags: "btop"
- import_tasks: "calcurse.yml"
name: "Configure calcurse"
tags: "calcurse"
- import_tasks: "castero.yml"
name: "Configure castero"
tags: "castero"
- import_tasks: "cava.yml"
name: "Configure cava"
tags: "cava"
- become: true
import_tasks: chromium.yml
name: Configure chromium
tags: chromium
- import_tasks: element-desktop.yml
name: Configure element-desktop
tags: element-desktop
- import_tasks: emacs.yml
name: Configure emacs
tags: emacs
- import_tasks: fcitx5.yml
name: Configure fcitx5
tags: fcitx5
- import_tasks: fish.yml
name: Configure fish
import_tasks: "chromium.yml"
name: "Configure chromium"
tags: "chromium"
- import_tasks: "element-desktop.yml"
name: "Configure element-desktop"
tags: "element-desktop"
- import_tasks: "emacs.yml"
name: "Configure emacs"
tags: "emacs"
- import_tasks: "fcitx5.yml"
name: "Configure fcitx5"
tags: "fcitx5"
- import_tasks: "fish.yml"
name: "Configure fish"
tags:
- shells
- fish
- import_tasks: fontconfig.yml
name: Configure fontconfig
tags: fontconfig
- import_tasks: fuzzel.yml
name: Configure fuzzel
tags: launcher
when: launcher == "fuzzel"
- import_tasks: gallery-dl.yml
name: Configure gallery-dl
tags: gallery-dl
- import_tasks: gdb.yml
name: Configure gdb
tags: gdb
- import_tasks: git.yml
name: Configure git
tags: git
- import_tasks: glow.yml
name: Configure glow
tags: glow
- import_tasks: gnupg.yml
name: Configure gnupg
tags: gnupg
- import_tasks: gopass.yml
name: Configure gopass
tags: gopass
- import_tasks: imv.yml
name: Configure imv
tags: imv
when: image_viewer == "imv"
- import_tasks: k9s.yml
name: Configure k9s
tags: k9s
- import_tasks: lazygit.yml
name: Configure lazygit
tags: lazygit
- import_tasks: lsd.yml
name: Configure lsd
tags: lsd
- import_tasks: mimeapps.yml
name: Configure mimeapps
tags: mimeapps
- import_tasks: mpd.yml
name: Configure mpd
tags: mpd
- import_tasks: mpv.yml
name: Configure mpv
tags: mpv
- import_tasks: newsboat.yml
name: Configure newsboat
tags: newsboat
- import_tasks: notification.yml
name: Configure notification
tags: notification
- import_tasks: npm.yml
name: Configure npm
tags: npm
- import_tasks: nushell.yml
name: Configure nushell
- "shells"
- "fish"
- import_tasks: "fontconfig.yml"
name: "Configure fontconfig"
tags: "fontconfig"
- import_tasks: "fuzzel.yml"
name: "Configure fuzzel"
tags: "launcher"
when: "launcher == \"fuzzel\""
- import_tasks: "gallery-dl.yml"
name: "Configure gallery-dl"
tags: "gallery-dl"
- import_tasks: "gdb.yml"
name: "Configure gdb"
tags: "gdb"
- import_tasks: "git.yml"
name: "Configure git"
tags: "git"
- import_tasks: "glow.yml"
name: "Configure glow"
tags: "glow"
- import_tasks: "gnupg.yml"
name: "Configure gnupg"
tags: "gnupg"
- import_tasks: "gopass.yml"
name: "Configure gopass"
tags: "gopass"
- import_tasks: "imv.yml"
name: "Configure imv"
tags: "imv"
when: "image_viewer == \"imv\""
- import_tasks: "k9s.yml"
name: "Configure k9s"
tags: "k9s"
- import_tasks: "lazygit.yml"
name: "Configure lazygit"
tags: "lazygit"
- import_tasks: "lsd.yml"
name: "Configure lsd"
tags: "lsd"
- import_tasks: "mimeapps.yml"
name: "Configure mimeapps"
tags: "mimeapps"
- import_tasks: "mpd.yml"
name: "Configure mpd"
tags: "mpd"
- import_tasks: "mpv.yml"
name: "Configure mpv"
tags: "mpv"
- import_tasks: "newsboat.yml"
name: "Configure newsboat"
tags: "newsboat"
- import_tasks: "notification.yml"
name: "Configure notification"
tags: "notification"
- import_tasks: "npm.yml"
name: "Configure npm"
tags: "npm"
- import_tasks: "nushell.yml"
name: "Configure nushell"
tags:
- shells
- nushell
- import_tasks: nvim.yml
name: Configure nvim
tags: nvim
- import_tasks: pyradio.yml
name: Configure pyradio
tags: pyradio
- import_tasks: ripgrep.yml
name: Configure ripgrep
tags: ripgrep
- import_tasks: river.yml
name: Configure river
tags: river
- import_tasks: rofi.yml
name: Configure rofi
tags: launcher
when: launcher == "rofi"
- import_tasks: streamlink.yml
name: Configure streamlink
tags: streamlink
- import_tasks: superd.yml
name: Configure superd
tags: superd
- import_tasks: swappy.yml
name: Configure swappy
tags: swappy
- import_tasks: sway.yml
name: Configure sway
tags: sway
- import_tasks: translate-shell.yml
name: Configure translate-shell
tags: translate-shell
- import_tasks: vifm.yml
name: Configure vifm
tags: vifm
- import_tasks: waybar.yml
name: Configure waybar
tags: waybar
- import_tasks: weechat.yml
name: Configure weechat
tags: weechat
- import_tasks: wofi.yml
name: Configure wofi
tags: launcher
when: launcher == "wofi"
- import_tasks: xdg-desktop-portal-wlr.yml
name: Configure xdg-desktop-portal-wlr
tags: xdg-desktop-portal-wlr
- import_tasks: xonsh.yml
name: Configure xonsh
- "shells"
- "nushell"
- import_tasks: "nvim.yml"
name: "Configure nvim"
tags: "nvim"
- import_tasks: "pyradio.yml"
name: "Configure pyradio"
tags: "pyradio"
- import_tasks: "ripgrep.yml"
name: "Configure ripgrep"
tags: "ripgrep"
- import_tasks: "river.yml"
name: "Configure river"
tags: "river"
- import_tasks: "rofi.yml"
name: "Configure rofi"
tags: "launcher"
when: "launcher == \"rofi\""
- import_tasks: "streamlink.yml"
name: "Configure streamlink"
tags: "streamlink"
- import_tasks: "superd.yml"
name: "Configure superd"
tags: "superd"
- import_tasks: "swappy.yml"
name: "Configure swappy"
tags: "swappy"
- import_tasks: "sway.yml"
name: "Configure sway"
tags: "sway"
- import_tasks: "translate-shell.yml"
name: "Configure translate-shell"
tags: "translate-shell"
- import_tasks: "vifm.yml"
name: "Configure vifm"
tags: "vifm"
- import_tasks: "waybar.yml"
name: "Configure waybar"
tags: "waybar"
- import_tasks: "weechat.yml"
name: "Configure weechat"
tags: "weechat"
- import_tasks: "wofi.yml"
name: "Configure wofi"
tags: "launcher"
when: "launcher == \"wofi\""
- import_tasks: "xdg-desktop-portal-wlr.yml"
name: "Configure xdg-desktop-portal-wlr"
tags: "xdg-desktop-portal-wlr"
- import_tasks: "xonsh.yml"
name: "Configure xonsh"
tags:
- shells
- xonsh
- import_tasks: yt-dlp.yml
name: Configure yt-dlp
tags: yt-dlp
- import_tasks: ytmdl.yml
name: Configure ytmdl
tags: ytmdl
- import_tasks: zathura.yml
name: Configure zathura
tags: zathura
- import_tasks: zellij.yml
name: Configure zellij
tags: zellij
- "shells"
- "xonsh"
- import_tasks: "yt-dlp.yml"
name: "Configure yt-dlp"
tags: "yt-dlp"
- import_tasks: "ytmdl.yml"
name: "Configure ytmdl"
tags: "ytmdl"
- import_tasks: "zathura.yml"
name: "Configure zathura"
tags: "zathura"
- import_tasks: "zellij.yml"
name: "Configure zellij"
tags: "zellij"

View File

@ -1,33 +1,21 @@
FROM docker.io/library/alpine:edge
# https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package
#
# There is no versioning inside the image, so frequently invoke the build to upgrade
# NOTE: there is no versioning inside the image, so frequently invoke the build to upgrade
# Common packages to aid the build
RUN printf 'https://dl-cdn.alpinelinux.org/alpine/edge/main\n\
https://dl-cdn.alpinelinux.org/alpine/edge/community\n\
https://dl-cdn.alpinelinux.org/alpine/edge/testing\n' > /etc/apk/repositories \
&& apk upgrade -Ua \
&& apk add abuild build-base atools \
doas fish vim git \
go \
cargo cargo-auditable \
py3-setuptools py3-pytest \
py3-gpep517 py3-installer py3-poetry-core
&& apk add --update-cache alpine-sdk alpine-conf doas ccache \
&& apk upgrade -a \
&& /sbin/setup-apkcache /var/cache/apk
# Create a normal user and distfiles directory
RUN adduser -D -s /usr/bin/fish -h /home/kawaii kawaii \
&& addgroup kawaii abuild \
&& echo 'permit nopass kawaii' >> /etc/doas.conf \
&& mkdir -p /var/cache/distfiles \
&& chgrp abuild /var/cache/distfiles \
&& chmod g+w /var/cache/distfiles
RUN adduser -u 1069 -D -s /bin/sh -h /home/builder builder \
&& addgroup builder abuild \
&& echo 'permit nopass builder' >> /etc/doas.conf
# Setup abuild and aports repository
USER kawaii
RUN abuild-keygen -a -i -n \
&& git clone --depth 1 --single-branch https://gitlab.alpinelinux.org/alpine/aports.git /home/kawaii/aports
WORKDIR /home/kawaii/aports
CMD ["/usr/bin/fish"]
USER builder
WORKDIR /home/builder
COPY entrypoint.sh /home/builder/
RUN mkdir -v packages
ENTRYPOINT ["/home/builder/entrypoint.sh"]

View File

@ -0,0 +1,17 @@
#!/bin/sh
# copy abuild's public keys to trusted store
doas cp "$HOME"/.abuild/*.rsa.pub /etc/apk/keys/
# make sure distfiles has correct permissions
doas install -d -m 775 -g abuild /var/cache/distfiles
# correct permissions of podman's volumes
for vpath in "$HOME"/.cache "$HOME"/.abuild "$HOME"/packages; do
[ -d "$vpath" ] && doas chown builder:builder "$vpath"
done
# set some useful variables and run
export USE_CCACHE=1
export USE_COLORS=1
exec "$@"

View File

@ -1,5 +1,10 @@
---
ltex_ls_version: 16.0.0
marksman_version: 2023-10-30
marksman_version: 2023-12-09
translate_shell_version: 0.9.7.1
# There is no git tags on GitHub repo. This is the version of the container image published to quay.io
# Ref: https://quay.io/repository/karmab/kcli
kcli_version: '24.01'

View File

@ -64,12 +64,12 @@ local docker_images =
{
name: 'bazel',
image: 'gcr.io/bazel-public/bazel',
tag: '6.4.0',
tag: '7.0.0',
},
{
name: 'asciidoctor',
image: 'docker.io/asciidoctor/docker-asciidoctor',
tag: '1.58.0',
tag: '1.60.0',
// Other asciidoctor-* executables (extensions) will be symlinked into this one
command: '"$(basename "$0")"',
@ -83,28 +83,27 @@ local docker_images =
{
name: 'terraform',
image: 'docker.io/hashicorp/terraform',
tag: '1.6.3',
tag: '1.6.6',
args: hashicorp_args,
},
{
name: 'vault',
image: 'docker.io/hashicorp/vault',
tag: '1.15.1',
tag: '1.15.4',
args: hashicorp_args,
},
{
name: 'consul',
image: 'docker.io/hashicorp/consul',
tag: '1.17.0',
tag: '1.17.1',
},
{
name: 'nomad',
image: 'docker.io/hashicorp/nomad',
tag: '1.6.3',
tag: '1.7.2',
},
];
std.manifestYamlDoc([docker_to_apptainer(x) for x in docker_images] + [
{
name: 'apptainer | Symlink asciidoctor-* executables',
@ -125,4 +124,4 @@ std.manifestYamlDoc([docker_to_apptainer(x) for x in docker_images] + [
'safe',
],
},
])
], quote_keys=false)

View File

@ -4,171 +4,171 @@
# Do NOT edit!!
- block:
- command:
cmd: rm -rf {{ xdg_dir.libexec_dir }}/bazel.sif
removes: '{{ xdg_dir.libexec_dir }}/bazel.sif'
name: apptainer | Clean old bazel.sif file
- command:
cmd: /usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/bazel.sif docker://gcr.io/bazel-public/bazel:6.4.0
creates: '{{ xdg_dir.libexec_dir }}/bazel.sif'
removes: /usr/bin/apptainer
name: apptainer | Pull and build bazel.sif file
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts \
{{ xdg_dir.libexec_dir }}/bazel.sif bazel "$@"
dest: '{{ xdg_dir.bin_home }}/bazel'
mode: "755"
name: apptainer | Create bazel-apptainer launch script
name: apptainer | Create bazel environment
tags: bazel-apptainer
- command:
cmd: "rm -rf {{ xdg_dir.libexec_dir }}/bazel.sif"
removes: "{{ xdg_dir.libexec_dir }}/bazel.sif"
name: "apptainer | Clean old bazel.sif file"
- command:
cmd: "/usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/bazel.sif docker://gcr.io/bazel-public/bazel:7.0.0"
creates: "{{ xdg_dir.libexec_dir }}/bazel.sif"
removes: "/usr/bin/apptainer"
name: "apptainer | Pull and build bazel.sif file"
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts \
{{ xdg_dir.libexec_dir }}/bazel.sif bazel "$@"
dest: "{{ xdg_dir.bin_home }}/bazel"
mode: "755"
name: "apptainer | Create bazel-apptainer launch script"
name: "apptainer | Create bazel environment"
tags: "bazel-apptainer"
- block:
- command:
cmd: rm -rf {{ xdg_dir.libexec_dir }}/asciidoctor.sif
removes: '{{ xdg_dir.libexec_dir }}/asciidoctor.sif'
name: apptainer | Clean old asciidoctor.sif file
- command:
cmd: /usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/asciidoctor.sif docker://docker.io/asciidoctor/docker-asciidoctor:1.58.0
creates: '{{ xdg_dir.libexec_dir }}/asciidoctor.sif'
removes: /usr/bin/apptainer
name: apptainer | Pull and build asciidoctor.sif file
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv \
{{ xdg_dir.libexec_dir }}/asciidoctor.sif "$(basename "$0")" "$@"
dest: '{{ xdg_dir.bin_home }}/asciidoctor'
mode: "755"
name: apptainer | Create asciidoctor-apptainer launch script
name: apptainer | Create asciidoctor environment
tags: asciidoctor-apptainer
- command:
cmd: "rm -rf {{ xdg_dir.libexec_dir }}/asciidoctor.sif"
removes: "{{ xdg_dir.libexec_dir }}/asciidoctor.sif"
name: "apptainer | Clean old asciidoctor.sif file"
- command:
cmd: "/usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/asciidoctor.sif docker://docker.io/asciidoctor/docker-asciidoctor:1.60.0"
creates: "{{ xdg_dir.libexec_dir }}/asciidoctor.sif"
removes: "/usr/bin/apptainer"
name: "apptainer | Pull and build asciidoctor.sif file"
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv \
{{ xdg_dir.libexec_dir }}/asciidoctor.sif "$(basename "$0")" "$@"
dest: "{{ xdg_dir.bin_home }}/asciidoctor"
mode: "755"
name: "apptainer | Create asciidoctor-apptainer launch script"
name: "apptainer | Create asciidoctor environment"
tags: "asciidoctor-apptainer"
- block:
- command:
cmd: rm -rf {{ xdg_dir.libexec_dir }}/opam.sif
removes: '{{ xdg_dir.libexec_dir }}/opam.sif'
name: apptainer | Clean old opam.sif file
- command:
cmd: /usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/opam.sif docker://docker.io/ocaml/opam:alpine-ocaml-5.2
creates: '{{ xdg_dir.libexec_dir }}/opam.sif'
removes: /usr/bin/apptainer
name: apptainer | Pull and build opam.sif file
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv --env OPAMROOT="${OPAMROOT:-{{ xdg_dir.data_home }}/opam}" \
{{ xdg_dir.libexec_dir }}/opam.sif opam "$@"
dest: '{{ xdg_dir.bin_home }}/opam'
mode: "755"
name: apptainer | Create opam-apptainer launch script
name: apptainer | Create opam environment
tags: opam-apptainer
- command:
cmd: "rm -rf {{ xdg_dir.libexec_dir }}/opam.sif"
removes: "{{ xdg_dir.libexec_dir }}/opam.sif"
name: "apptainer | Clean old opam.sif file"
- command:
cmd: "/usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/opam.sif docker://docker.io/ocaml/opam:alpine-ocaml-5.2"
creates: "{{ xdg_dir.libexec_dir }}/opam.sif"
removes: "/usr/bin/apptainer"
name: "apptainer | Pull and build opam.sif file"
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv --env OPAMROOT="${OPAMROOT:-{{ xdg_dir.data_home }}/opam}" \
{{ xdg_dir.libexec_dir }}/opam.sif opam "$@"
dest: "{{ xdg_dir.bin_home }}/opam"
mode: "755"
name: "apptainer | Create opam-apptainer launch script"
name: "apptainer | Create opam environment"
tags: "opam-apptainer"
- block:
- command:
cmd: rm -rf {{ xdg_dir.libexec_dir }}/terraform.sif
removes: '{{ xdg_dir.libexec_dir }}/terraform.sif'
name: apptainer | Clean old terraform.sif file
- command:
cmd: /usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/terraform.sif docker://docker.io/hashicorp/terraform:1.6.3
creates: '{{ xdg_dir.libexec_dir }}/terraform.sif'
removes: /usr/bin/apptainer
name: apptainer | Pull and build terraform.sif file
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv --env CHECKPOINT_DISABLE=true --env DISABLE_VERSION_CHECK=true \
{{ xdg_dir.libexec_dir }}/terraform.sif terraform "$@"
dest: '{{ xdg_dir.bin_home }}/terraform'
mode: "755"
name: apptainer | Create terraform-apptainer launch script
name: apptainer | Create terraform environment
tags: terraform-apptainer
- command:
cmd: "rm -rf {{ xdg_dir.libexec_dir }}/terraform.sif"
removes: "{{ xdg_dir.libexec_dir }}/terraform.sif"
name: "apptainer | Clean old terraform.sif file"
- command:
cmd: "/usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/terraform.sif docker://docker.io/hashicorp/terraform:1.6.6"
creates: "{{ xdg_dir.libexec_dir }}/terraform.sif"
removes: "/usr/bin/apptainer"
name: "apptainer | Pull and build terraform.sif file"
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv --env CHECKPOINT_DISABLE=true --env DISABLE_VERSION_CHECK=true \
{{ xdg_dir.libexec_dir }}/terraform.sif terraform "$@"
dest: "{{ xdg_dir.bin_home }}/terraform"
mode: "755"
name: "apptainer | Create terraform-apptainer launch script"
name: "apptainer | Create terraform environment"
tags: "terraform-apptainer"
- block:
- command:
cmd: rm -rf {{ xdg_dir.libexec_dir }}/vault.sif
removes: '{{ xdg_dir.libexec_dir }}/vault.sif'
name: apptainer | Clean old vault.sif file
- command:
cmd: /usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/vault.sif docker://docker.io/hashicorp/vault:1.15.1
creates: '{{ xdg_dir.libexec_dir }}/vault.sif'
removes: /usr/bin/apptainer
name: apptainer | Pull and build vault.sif file
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv --env CHECKPOINT_DISABLE=true --env DISABLE_VERSION_CHECK=true \
{{ xdg_dir.libexec_dir }}/vault.sif vault "$@"
dest: '{{ xdg_dir.bin_home }}/vault'
mode: "755"
name: apptainer | Create vault-apptainer launch script
name: apptainer | Create vault environment
tags: vault-apptainer
- command:
cmd: "rm -rf {{ xdg_dir.libexec_dir }}/vault.sif"
removes: "{{ xdg_dir.libexec_dir }}/vault.sif"
name: "apptainer | Clean old vault.sif file"
- command:
cmd: "/usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/vault.sif docker://docker.io/hashicorp/vault:1.15.4"
creates: "{{ xdg_dir.libexec_dir }}/vault.sif"
removes: "/usr/bin/apptainer"
name: "apptainer | Pull and build vault.sif file"
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv --env CHECKPOINT_DISABLE=true --env DISABLE_VERSION_CHECK=true \
{{ xdg_dir.libexec_dir }}/vault.sif vault "$@"
dest: "{{ xdg_dir.bin_home }}/vault"
mode: "755"
name: "apptainer | Create vault-apptainer launch script"
name: "apptainer | Create vault environment"
tags: "vault-apptainer"
- block:
- command:
cmd: rm -rf {{ xdg_dir.libexec_dir }}/consul.sif
removes: '{{ xdg_dir.libexec_dir }}/consul.sif'
name: apptainer | Clean old consul.sif file
- command:
cmd: /usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/consul.sif docker://docker.io/hashicorp/consul:1.17.0
creates: '{{ xdg_dir.libexec_dir }}/consul.sif'
removes: /usr/bin/apptainer
name: apptainer | Pull and build consul.sif file
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv \
{{ xdg_dir.libexec_dir }}/consul.sif consul "$@"
dest: '{{ xdg_dir.bin_home }}/consul'
mode: "755"
name: apptainer | Create consul-apptainer launch script
name: apptainer | Create consul environment
tags: consul-apptainer
- command:
cmd: "rm -rf {{ xdg_dir.libexec_dir }}/consul.sif"
removes: "{{ xdg_dir.libexec_dir }}/consul.sif"
name: "apptainer | Clean old consul.sif file"
- command:
cmd: "/usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/consul.sif docker://docker.io/hashicorp/consul:1.17.1"
creates: "{{ xdg_dir.libexec_dir }}/consul.sif"
removes: "/usr/bin/apptainer"
name: "apptainer | Pull and build consul.sif file"
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv \
{{ xdg_dir.libexec_dir }}/consul.sif consul "$@"
dest: "{{ xdg_dir.bin_home }}/consul"
mode: "755"
name: "apptainer | Create consul-apptainer launch script"
name: "apptainer | Create consul environment"
tags: "consul-apptainer"
- block:
- command:
cmd: rm -rf {{ xdg_dir.libexec_dir }}/nomad.sif
removes: '{{ xdg_dir.libexec_dir }}/nomad.sif'
name: apptainer | Clean old nomad.sif file
- command:
cmd: /usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/nomad.sif docker://docker.io/hashicorp/nomad:1.6.3
creates: '{{ xdg_dir.libexec_dir }}/nomad.sif'
removes: /usr/bin/apptainer
name: apptainer | Pull and build nomad.sif file
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv \
{{ xdg_dir.libexec_dir }}/nomad.sif nomad "$@"
dest: '{{ xdg_dir.bin_home }}/nomad'
mode: "755"
name: apptainer | Create nomad-apptainer launch script
name: apptainer | Create nomad environment
tags: nomad-apptainer
- command:
cmd: "rm -rf {{ xdg_dir.libexec_dir }}/nomad.sif"
removes: "{{ xdg_dir.libexec_dir }}/nomad.sif"
name: "apptainer | Clean old nomad.sif file"
- command:
cmd: "/usr/bin/apptainer pull {{ xdg_dir.libexec_dir }}/nomad.sif docker://docker.io/hashicorp/nomad:1.7.2"
creates: "{{ xdg_dir.libexec_dir }}/nomad.sif"
removes: "/usr/bin/apptainer"
name: "apptainer | Pull and build nomad.sif file"
- copy:
content: |
#!/bin/sh
TERM=xterm-256color \
exec apptainer --silent --quiet exec \
--ipc --no-eval --no-privs --unsquash --userns --uts --pid --cleanenv \
{{ xdg_dir.libexec_dir }}/nomad.sif nomad "$@"
dest: "{{ xdg_dir.bin_home }}/nomad"
mode: "755"
name: "apptainer | Create nomad-apptainer launch script"
name: "apptainer | Create nomad environment"
tags: "nomad-apptainer"
- file:
dest: '{{ xdg_dir.bin_home }}/asciidoctor-{{ item }}'
src: ./asciidoctor
state: link
dest: "{{ xdg_dir.bin_home }}/asciidoctor-{{ item }}"
src: "./asciidoctor"
state: "link"
loop:
- confluence
- epub3
- fb2
- pdf
- pdf-optimize
- reducer
- revealjs
- safe
name: apptainer | Symlink asciidoctor-* executables
tags: asciidoctor-apptainer
- "confluence"
- "epub3"
- "fb2"
- "pdf"
- "pdf-optimize"
- "reducer"
- "revealjs"
- "safe"
name: "apptainer | Symlink asciidoctor-* executables"
tags: "asciidoctor-apptainer"

View File

@ -30,15 +30,45 @@ local podman(name) = std.prune(
}
);
// Special container images
local special_containers = [
{
local name = 'aports-dev',
local normalized_name = 'aports_dev',
// Ref: https://gitlab.alpinelinux.org/alpine/docker-abuild
local aports_dev =
local name = 'aports-dev';
local normalized_name = std.strReplace(name, '-', '_');
local abuild_dir = '{{ ansible_user_dir }}/.abuild';
name: 'podman | Create aports development environment',
tags: name,
block: [
// NOTE: keep this in sync with what is defined in the Dockerfile.
// GID and UID are the same when the group is added via `adduser`
local builder_uid = '1069';
local podman_args = [
'--rm',
'--tty',
'--interactive',
'--gidmap',
builder_uid + ':0:1',
'--gidmap',
'0:1:' + builder_uid,
'--uidmap',
builder_uid + ':0:1',
'--uidmap',
'0:1:' + builder_uid,
'--volume',
'abuild-distfiles:/var/cache/distfiles',
'--volume',
'abuild-apkcache:/var/cache/apk',
'--volume',
'abuild-ccache:/home/builder/.ccache',
'--volume',
'{{ ansible_user_dir }}/.abuild:/home/builder/.abuild',
'--volume',
'{{ ansible_user_dir }}/packages:/home/builder/packages',
'--volume',
'{{ ansible_user_dir }}/Code/gitlab.alpinelinux.org/FollieHiyuki/aports:/home/builder/aports',
];
[
x { tags: name }
for x in [
{
name: 'podman | Get current date as ' + name + "'s image tag",
command: '/bin/date -u "+%Y-%m-%d"',
@ -53,22 +83,82 @@ local special_containers = [
tag: '{{ ' + normalized_name + '_version.stdout }}',
state: 'present',
},
register: normalized_name + '_image',
},
copy_script(name),
],
},
{
local name = 'vagrant',
name: 'podman | Create ' + name + ' shim',
tags: name,
vars: {
vagrant_image_repository: 'docker.io/vagrantlibvirt/vagrant-libvirt',
vagrant_image_tag: 'latest-slim',
},
block: [
{
name: 'podman | Keep vagrant Docker image up-to-date',
name: 'podman | Create necessary bind-mount directories for aports-dev container',
file: {
path: '{{ item }}',
state: 'directory',
mode: '755',
},
loop: [abuild_dir, '{{ ansible_user_dir }}/packages'],
},
{
name: 'podman | Check whether abuild-keygen has been run before',
find: {
paths: [abuild_dir],
file_type: 'file',
recurse: false,
patterns: ['*.rsa'],
},
register: 'abuild_key_found',
},
{
name: 'podman | Run abuild-keygen',
'containers.podman.podman_container': {
name: 'abuild-keygen',
image: '{{ ' + normalized_name + '_image.image[0].RepoDigests[0] }}',
entrypoint: '',
rm: true,
command: ['/usr/bin/abuild-keygen', '-a', '-n'],
user: builder_uid,
// FIXME: this needs manual quoting in the pretty-generated YAML file.
// Why? Because PyYAML (used by Ansible, obviously) does not support YAML 1.2 spec (yet),
// which removed the stupid `Sexagesimal number` thing. It still exists in 1.1 spec.
// Ref: https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell#sexagesimal-numbers
// NOTE: it probably will be fine (maybe) when either PR #555 or #700 on https://github.com/yaml/pyyaml is merged.
// => Use raw output from Jsonnet instead of piping to yq (for pretty-printing) for now.
gidmap: [
builder_uid + ':0:1',
'0:1:' + builder_uid,
],
uidmap: [
builder_uid + ':0:1',
'0:1:' + builder_uid,
],
volume: [
abuild_dir + ':/home/builder/.abuild',
'{{ xdg_dir.config_home }}/git/config:/home/builder/.gitconfig',
],
},
when: 'abuild_key_found.matched == 0',
},
]
] + [
copy_script(x) {
tags: name,
vars: {
podman_args: std.join(' ', podman_args),
container_image_repo: '{{ ' + normalized_name + '_image.image[0].RepoDigests[0] }}',
},
}
for x in [name, 'abuild']
];
local vagrant =
local name = 'vagrant';
[
x {
tags: name,
vars: {
vagrant_image_repository: 'docker.io/vagrantlibvirt/vagrant-libvirt',
vagrant_image_tag: 'latest-slim',
},
}
for x in [
{
name: 'podman | Keep vagrant container image up-to-date',
'containers.podman.podman_image': {
name: '{{ vagrant_image_repository }}',
tag: '{{ vagrant_image_tag }}',
@ -76,14 +166,14 @@ local special_containers = [
},
},
copy_script(name),
],
},
{
local name = 'kcli',
]
];
name: 'podman | Install ' + name + ' scripts',
tags: name,
block: [
local kcli =
local name = 'kcli';
[
x { tags: name }
for x in [
{
name: 'podman | Create ' + name + ' shim',
template: {
@ -100,11 +190,11 @@ local special_containers = [
state: 'link',
},
},
],
},
];
]
];
// Images to be built in a uniform way
local images = ['ltex-ls', 'translate-shell', 'marksman'];
std.manifestYamlDoc([podman(x) for x in images] + special_containers)
std.manifestYamlDoc(
[podman(x) for x in ['ltex-ls', 'translate-shell', 'marksman']]
+ aports_dev + vagrant + kcli,
quote_keys=false
)

View File

@ -4,97 +4,152 @@
# Do NOT edit!!
- block:
- containers.podman.podman_image:
build:
extra_args: --build-arg LTEX_LS_VERSION={{ ltex_ls_version }}
name: ltex-ls
path: '{{ role_path }}/build_dirs/ltex-ls'
state: present
tag: '{{ ltex_ls_version }}'
name: podman | Build ltex-ls container image
- name: podman | Install ltex-ls wrapper script
template:
dest: '{{ xdg_dir.bin_home }}/ltex-ls'
mode: "755"
src: ltex-ls.j2
name: podman | Create ltex-ls shim
tags: ltex-ls
- containers.podman.podman_image:
build:
extra_args: "--build-arg LTEX_LS_VERSION={{ ltex_ls_version }}"
name: "ltex-ls"
path: "{{ role_path }}/build_dirs/ltex-ls"
state: "present"
tag: "{{ ltex_ls_version }}"
name: "podman | Build ltex-ls container image"
- name: "podman | Install ltex-ls wrapper script"
template:
dest: "{{ xdg_dir.bin_home }}/ltex-ls"
mode: "755"
src: "ltex-ls.j2"
name: "podman | Create ltex-ls shim"
tags: "ltex-ls"
- block:
- containers.podman.podman_image:
build:
extra_args: --build-arg TRANSLATE_SHELL_VERSION={{ translate_shell_version }}
name: translate-shell
path: '{{ role_path }}/build_dirs/translate-shell'
state: present
tag: '{{ translate_shell_version }}'
name: podman | Build translate-shell container image
- name: podman | Install translate-shell wrapper script
template:
dest: '{{ xdg_dir.bin_home }}/translate-shell'
mode: "755"
src: translate-shell.j2
name: podman | Create translate-shell shim
tags: translate-shell
- containers.podman.podman_image:
build:
extra_args: "--build-arg TRANSLATE_SHELL_VERSION={{ translate_shell_version }}"
name: "translate-shell"
path: "{{ role_path }}/build_dirs/translate-shell"
state: "present"
tag: "{{ translate_shell_version }}"
name: "podman | Build translate-shell container image"
- name: "podman | Install translate-shell wrapper script"
template:
dest: "{{ xdg_dir.bin_home }}/translate-shell"
mode: "755"
src: "translate-shell.j2"
name: "podman | Create translate-shell shim"
tags: "translate-shell"
- block:
- containers.podman.podman_image:
build:
extra_args: --build-arg MARKSMAN_VERSION={{ marksman_version }}
name: marksman
path: '{{ role_path }}/build_dirs/marksman'
state: present
tag: '{{ marksman_version }}'
name: podman | Build marksman container image
- name: podman | Install marksman wrapper script
template:
dest: '{{ xdg_dir.bin_home }}/marksman'
mode: "755"
src: marksman.j2
name: podman | Create marksman shim
tags: marksman
- block:
- changed_when: false
command: /bin/date -u "+%Y-%m-%d"
name: podman | Get current date as aports-dev's image tag
register: aports_dev_version
- containers.podman.podman_image:
name: aports-dev
path: '{{ role_path }}/build_dirs/aports-dev'
state: present
tag: '{{ aports_dev_version.stdout }}'
name: podman | Build aports-dev container image
- name: podman | Install aports-dev wrapper script
template:
dest: '{{ xdg_dir.bin_home }}/aports-dev'
mode: "755"
src: aports-dev.j2
name: podman | Create aports development environment
tags: aports-dev
- block:
- containers.podman.podman_image:
force: true
name: '{{ vagrant_image_repository }}'
tag: '{{ vagrant_image_tag }}'
name: podman | Keep vagrant Docker image up-to-date
- name: podman | Install vagrant wrapper script
template:
dest: '{{ xdg_dir.bin_home }}/vagrant'
mode: "755"
src: vagrant.j2
name: podman | Create vagrant shim
tags: vagrant
- containers.podman.podman_image:
build:
extra_args: "--build-arg MARKSMAN_VERSION={{ marksman_version }}"
name: "marksman"
path: "{{ role_path }}/build_dirs/marksman"
state: "present"
tag: "{{ marksman_version }}"
name: "podman | Build marksman container image"
- name: "podman | Install marksman wrapper script"
template:
dest: "{{ xdg_dir.bin_home }}/marksman"
mode: "755"
src: "marksman.j2"
name: "podman | Create marksman shim"
tags: "marksman"
- changed_when: false
command: "/bin/date -u \"+%Y-%m-%d\""
name: "podman | Get current date as aports-dev's image tag"
register: "aports_dev_version"
tags: "aports-dev"
- containers.podman.podman_image:
name: "aports-dev"
path: "{{ role_path }}/build_dirs/aports-dev"
state: "present"
tag: "{{ aports_dev_version.stdout }}"
name: "podman | Build aports-dev container image"
register: "aports_dev_image"
tags: "aports-dev"
- file:
mode: "755"
path: "{{ item }}"
state: "directory"
loop:
- "{{ ansible_user_dir }}/.abuild"
- "{{ ansible_user_dir }}/packages"
name: "podman | Create necessary bind-mount directories for aports-dev container"
tags: "aports-dev"
- find:
file_type: "file"
paths:
- "{{ ansible_user_dir }}/.abuild"
patterns:
- "*.rsa"
recurse: false
name: "podman | Check whether abuild-keygen has been run before"
register: "abuild_key_found"
tags: "aports-dev"
- containers.podman.podman_container:
command:
- "/usr/bin/abuild-keygen"
- "-a"
- "-n"
entrypoint: ""
gidmap:
- "1069:0:1"
- "0:1:1069"
image: "{{ aports_dev_image.image[0].RepoDigests[0] }}"
name: "abuild-keygen"
rm: true
uidmap:
- "1069:0:1"
- "0:1:1069"
user: "1069"
volume:
- "{{ ansible_user_dir }}/.abuild:/home/builder/.abuild"
- "{{ xdg_dir.config_home }}/git/config:/home/builder/.gitconfig"
name: "podman | Run abuild-keygen"
tags: "aports-dev"
when: "abuild_key_found.matched == 0"
- name: "podman | Install aports-dev wrapper script"
tags: "aports-dev"
template:
dest: "{{ xdg_dir.bin_home }}/aports-dev"
mode: "755"
src: "aports-dev.j2"
vars:
vagrant_image_repository: docker.io/vagrantlibvirt/vagrant-libvirt
vagrant_image_tag: latest-slim
- block:
- name: podman | Create kcli shim
template:
dest: '{{ xdg_dir.bin_home }}/kcli'
mode: "755"
src: kcli.j2
- file:
dest: '{{ xdg_dir.bin_home }}/kweb'
src: ./kcli
state: link
name: podman | Symlink kweb script to kcli
name: podman | Install kcli scripts
tags: kcli
container_image_repo: "{{ aports_dev_image.image[0].RepoDigests[0] }}"
podman_args: "--rm --tty --interactive --gidmap 1069:0:1 --gidmap 0:1:1069 --uidmap 1069:0:1 --uidmap 0:1:1069 --volume abuild-distfiles:/var/cache/distfiles --volume abuild-apkcache:/var/cache/apk --volume abuild-ccache:/home/builder/.ccache --volume {{ ansible_user_dir }}/.abuild:/home/builder/.abuild --volume {{ ansible_user_dir }}/packages:/home/builder/packages --volume {{ ansible_user_dir }}/Code/gitlab.alpinelinux.org/FollieHiyuki/aports:/home/builder/aports"
- name: "podman | Install abuild wrapper script"
tags: "aports-dev"
template:
dest: "{{ xdg_dir.bin_home }}/abuild"
mode: "755"
src: "abuild.j2"
vars:
container_image_repo: "{{ aports_dev_image.image[0].RepoDigests[0] }}"
podman_args: "--rm --tty --interactive --gidmap 1069:0:1 --gidmap 0:1:1069 --uidmap 1069:0:1 --uidmap 0:1:1069 --volume abuild-distfiles:/var/cache/distfiles --volume abuild-apkcache:/var/cache/apk --volume abuild-ccache:/home/builder/.ccache --volume {{ ansible_user_dir }}/.abuild:/home/builder/.abuild --volume {{ ansible_user_dir }}/packages:/home/builder/packages --volume {{ ansible_user_dir }}/Code/gitlab.alpinelinux.org/FollieHiyuki/aports:/home/builder/aports"
- containers.podman.podman_image:
force: true
name: "{{ vagrant_image_repository }}"
tag: "{{ vagrant_image_tag }}"
name: "podman | Keep vagrant container image up-to-date"
tags: "vagrant"
vars:
vagrant_image_repository: "docker.io/vagrantlibvirt/vagrant-libvirt"
vagrant_image_tag: "latest-slim"
- name: "podman | Install vagrant wrapper script"
tags: "vagrant"
template:
dest: "{{ xdg_dir.bin_home }}/vagrant"
mode: "755"
src: "vagrant.j2"
vars:
vagrant_image_repository: "docker.io/vagrantlibvirt/vagrant-libvirt"
vagrant_image_tag: "latest-slim"
- name: "podman | Create kcli shim"
tags: "kcli"
template:
dest: "{{ xdg_dir.bin_home }}/kcli"
mode: "755"
src: "kcli.j2"
- file:
dest: "{{ xdg_dir.bin_home }}/kweb"
src: "./kcli"
state: "link"
name: "podman | Symlink kweb script to kcli"
tags: "kcli"

View File

@ -0,0 +1,20 @@
#!/bin/sh
set -eu
die () {
printf >&2 "%s\\n" "$@"
exit 1
}
# check running from within an `aports` tree
if [ "${PWD%*/aports/*}" = "$PWD" ]; then
die "Error: expecting to be run from within an aports tree!" \
"Could not find '/aports/' in the current path: $PWD"
fi
podman run \
--workdir /home/builder/aports/"${PWD#*/aports/}" \
{{ podman_args }} \
{{ container_image_repo }} \
/usr/bin/abuild "$@"

View File

@ -1,21 +1,7 @@
#!/bin/sh
packages_dir=$(mktemp -d /tmp/aports-packages-XXXXXX)
chmod 0777 "$packages_dir"
podman run \
--rm --interactive --tty \
--volume "$packages_dir":/home/kawaii/packages \
localhost/aports-dev:{{ aports_dev_version.stdout }} "$@"
# Clean up
printf "\n\033[1;33m>>>\033[1;32m aports-dev:\033[0m Build artifacts are located in \033[1;34m%s\033[0m" "$packages_dir"
printf "\n\033[1;33m>>>\033[1;32m aports-dev:\033[0m Remove build artifacts [y/N]: "
read -r confirm
if [ "$confirm" = "y" ]; then
podman run --rm \
--volume "$packages_dir":/home/kawaii/packages \
localhost/aports-dev:{{ aports_dev_version.stdout }} sh -c 'rm -rf /home/kawaii/packages/*'
rm -rf "$packages_dir"
fi
--workdir /home/builder/aports \
{{ podman_args }} \
{{ container_image_repo }} \
/bin/sh

View File

@ -264,6 +264,7 @@ system_apk_packages:
- psmisc
- pulumi
- pulumi-language-go
- pulumi-language-yaml
- pv
- py3-mopidy-local
- py3-mopidy-mpd
@ -376,6 +377,7 @@ system_apk_packages:
- zathura-ps
- zellij
- zoxide
# Drop these from world
- '!sway-wallpapers'
- '!fzf-bash-plugin'

View File

@ -161,5 +161,6 @@ std.manifestYamlDoc(
},
],
},
] + [task(x) for x in packages]
] + [task(x) for x in packages],
quote_keys=false
)

View File

@ -4,392 +4,392 @@
# Do NOT edit!!
- block:
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/ewhauser/bazel-differ/cli@latest
removes: /usr/bin/go
name: bazel-differ | Run go install
- command:
cmd: mv "$GOPATH"/bin/cli "$GOPATH"/bin/bazel-differ
removes: '{{ ansible_env.GOPATH }}/bin/cli'
name: bazel-differ | Rename the binary file
name: packages | Install bazel-differ
- command:
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/ewhauser/bazel-differ/cli@latest"
removes: "/usr/bin/go"
name: "bazel-differ | Run go install"
- command:
cmd: "mv \"$GOPATH\"/bin/cli \"$GOPATH\"/bin/bazel-differ"
removes: "{{ ansible_env.GOPATH }}/bin/cli"
name: "bazel-differ | Rename the binary file"
name: "packages | Install bazel-differ"
tags:
- bazel-differ
- bazel
- "bazel-differ"
- "bazel"
- block:
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/{{ item }}@latest
removes: /usr/bin/go
loop:
- terraform-linters/tflint
- terraform-linters/tflint-ruleset-google
- terraform-linters/tflint-ruleset-azurerm
- terraform-linters/tflint-ruleset-aws
- awslabs/serverless-rules/tflint-ruleset-aws-serverless
name: packages | Install tflint and some cloud ruleset plugins
- file:
mode: "755"
path: ~/.tflint.d/plugins
state: directory
name: tflint | Create tflint plugins directory
- args:
creates: ~/.tflint.d/plugins/{{ item }}
removes: '{{ ansible_env.GOPATH }}/bin/{{ item }}'
command: /bin/mv {{ ansible_env.GOPATH }}/bin/{{ item }} ~/.tflint.d/plugins/
loop:
- tflint-ruleset-google
- tflint-ruleset-azurerm
- tflint-ruleset-aws
- tflint-ruleset-aws-serverless
name: tflint | Copy tflint ruleset binaries to plugins directory
name: packages | Install tflint suites
tags: tflint
- command:
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/{{ item }}@latest"
removes: "/usr/bin/go"
loop:
- "terraform-linters/tflint"
- "terraform-linters/tflint-ruleset-google"
- "terraform-linters/tflint-ruleset-azurerm"
- "terraform-linters/tflint-ruleset-aws"
- "awslabs/serverless-rules/tflint-ruleset-aws-serverless"
name: "packages | Install tflint and some cloud ruleset plugins"
- file:
mode: "755"
path: "~/.tflint.d/plugins"
state: "directory"
name: "tflint | Create tflint plugins directory"
- args:
creates: "~/.tflint.d/plugins/{{ item }}"
removes: "{{ ansible_env.GOPATH }}/bin/{{ item }}"
command: "/bin/mv {{ ansible_env.GOPATH }}/bin/{{ item }} ~/.tflint.d/plugins/"
loop:
- "tflint-ruleset-google"
- "tflint-ruleset-azurerm"
- "tflint-ruleset-aws"
- "tflint-ruleset-aws-serverless"
name: "tflint | Copy tflint ruleset binaries to plugins directory"
name: "packages | Install tflint suites"
tags: "tflint"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/josharian/impl@latest
removes: /usr/bin/go
name: packages | Install impl
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/josharian/impl@latest"
removes: "/usr/bin/go"
name: "packages | Install impl"
tags:
- impl
- linters
- "impl"
- "linters"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" mvdan.cc/gofumpt@latest
removes: /usr/bin/go
name: packages | Install gofumpt
cmd: "/usr/bin/go install -ldflags \"-s -w\" mvdan.cc/gofumpt@latest"
removes: "/usr/bin/go"
name: "packages | Install gofumpt"
tags:
- gofumpt
- linters
- "gofumpt"
- "linters"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/fatih/gomodifytags@latest
removes: /usr/bin/go
name: packages | Install gomodifytags
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/fatih/gomodifytags@latest"
removes: "/usr/bin/go"
name: "packages | Install gomodifytags"
tags:
- gomodifytags
- linters
- "gomodifytags"
- "linters"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" golang.org/x/tools/cmd/goimports@latest
removes: /usr/bin/go
name: packages | Install goimports
cmd: "/usr/bin/go install -ldflags \"-s -w\" golang.org/x/tools/cmd/goimports@latest"
removes: "/usr/bin/go"
name: "packages | Install goimports"
tags:
- goimports
- linters
- "goimports"
- "linters"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/goodwithtech/dockle/cmd/dockle@latest
removes: /usr/bin/go
name: packages | Install dockle
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/goodwithtech/dockle/cmd/dockle@latest"
removes: "/usr/bin/go"
name: "packages | Install dockle"
tags:
- dockle
- linters
- "dockle"
- "linters"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/google/yamlfmt/cmd/yamlfmt@latest
removes: /usr/bin/go
name: packages | Install yamlfmt
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/google/yamlfmt/cmd/yamlfmt@latest"
removes: "/usr/bin/go"
name: "packages | Install yamlfmt"
tags:
- yamlfmt
- linters
- "yamlfmt"
- "linters"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/bazelbuild/bazelisk@latest
removes: /usr/bin/go
name: packages | Install bazelisk
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/bazelbuild/bazelisk@latest"
removes: "/usr/bin/go"
name: "packages | Install bazelisk"
tags:
- bazelisk
- bazel
- "bazelisk"
- "bazel"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/bazelbuild/buildtools/buildifier@latest
removes: /usr/bin/go
name: packages | Install buildifier
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/bazelbuild/buildtools/buildifier@latest"
removes: "/usr/bin/go"
name: "packages | Install buildifier"
tags:
- buildifier
- bazel
- buildtools
- "buildifier"
- "bazel"
- "buildtools"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/bazelbuild/buildtools/buildozer@latest
removes: /usr/bin/go
name: packages | Install buildozer
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/bazelbuild/buildtools/buildozer@latest"
removes: "/usr/bin/go"
name: "packages | Install buildozer"
tags:
- buildozer
- bazel
- buildtools
- "buildozer"
- "bazel"
- "buildtools"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/bazelbuild/bazel-gazelle/cmd/gazelle@latest
removes: /usr/bin/go
name: packages | Install gazelle
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/bazelbuild/bazel-gazelle/cmd/gazelle@latest"
removes: "/usr/bin/go"
name: "packages | Install gazelle"
tags:
- gazelle
- bazel
- "gazelle"
- "bazel"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/kitagry/regols@latest
removes: /usr/bin/go
name: packages | Install regols
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/kitagry/regols@latest"
removes: "/usr/bin/go"
name: "packages | Install regols"
tags:
- regols
- lspservers
- "regols"
- "lspservers"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/loeffel-io/ls-lint/v2/cmd/ls_lint@latest
removes: /usr/bin/go
name: packages | Install ls-lint
tags: ls-lint
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/loeffel-io/ls-lint/v2/cmd/ls_lint@latest"
removes: "/usr/bin/go"
name: "packages | Install ls-lint"
tags: "ls-lint"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/cruise-automation/isopod@latest
removes: /usr/bin/go
name: packages | Install isopod
tags: isopod
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/cruise-automation/isopod@latest"
removes: "/usr/bin/go"
name: "packages | Install isopod"
tags: "isopod"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/vmware-tanzu/carvel-kapp/cmd/kapp@latest
removes: /usr/bin/go
name: packages | Install kapp
tags: kapp
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/vmware-tanzu/carvel-kapp/cmd/kapp@latest"
removes: "/usr/bin/go"
name: "packages | Install kapp"
tags: "kapp"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/kluctl/kluctl/v2@latest
removes: /usr/bin/go
name: packages | Install kluctl
tags: kluctl
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/kluctl/kluctl/v2@latest"
removes: "/usr/bin/go"
name: "packages | Install kluctl"
tags: "kluctl"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/controlplaneio/kubesec/v2@latest
removes: /usr/bin/go
name: packages | Install kubesec
tags: kubesec
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/controlplaneio/kubesec/v2@latest"
removes: "/usr/bin/go"
name: "packages | Install kubesec"
tags: "kubesec"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/yannh/kubeconform/cmd/kubeconform@latest
removes: /usr/bin/go
name: packages | Install kubeconform
tags: kubeconform
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/yannh/kubeconform/cmd/kubeconform@latest"
removes: "/usr/bin/go"
name: "packages | Install kubeconform"
tags: "kubeconform"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" golang.stackrox.io/kube-linter/cmd/kube-linter@latest
removes: /usr/bin/go
name: packages | Install kube-linter
tags: kube-linter
cmd: "/usr/bin/go install -ldflags \"-s -w\" golang.stackrox.io/kube-linter/cmd/kube-linter@latest"
removes: "/usr/bin/go"
name: "packages | Install kube-linter"
tags: "kube-linter"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/iovisor/kubectl-trace/cmd/kubectl-trace@latest
removes: /usr/bin/go
name: packages | Install kubectl-trace
tags: kubectl-trace
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/iovisor/kubectl-trace/cmd/kubectl-trace@latest"
removes: "/usr/bin/go"
name: "packages | Install kubectl-trace"
tags: "kubectl-trace"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/corneliusweig/rakkess@latest
removes: /usr/bin/go
name: packages | Install rakkess
tags: rakkess
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/corneliusweig/rakkess@latest"
removes: "/usr/bin/go"
name: "packages | Install rakkess"
tags: "rakkess"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/nikolaydubina/vertfn@latest
removes: /usr/bin/go
name: packages | Install vertfn
tags: vertfn
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/nikolaydubina/vertfn@latest"
removes: "/usr/bin/go"
name: "packages | Install vertfn"
tags: "vertfn"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/folbricht/tpmk/cmd/tpmk@latest
removes: /usr/bin/go
name: packages | Install tpmk
tags: tpmk
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/folbricht/tpmk/cmd/tpmk@latest"
removes: "/usr/bin/go"
name: "packages | Install tpmk"
tags: "tpmk"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/CondensedMilk7/countryfetch/cmd/countryfetch@latest
removes: /usr/bin/go
name: packages | Install countryfetch
tags: countryfetch
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/CondensedMilk7/countryfetch/cmd/countryfetch@latest"
removes: "/usr/bin/go"
name: "packages | Install countryfetch"
tags: "countryfetch"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/ankitpokhrel/jira-cli/cmd/jira@latest
removes: /usr/bin/go
name: packages | Install jira-cli
tags: jira-cli
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/ankitpokhrel/jira-cli/cmd/jira@latest"
removes: "/usr/bin/go"
name: "packages | Install jira-cli"
tags: "jira-cli"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/yuzutech/kroki-cli/cmd/kroki@latest
removes: /usr/bin/go
name: packages | Install kroki-cli
tags: kroki-cli
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/yuzutech/kroki-cli/cmd/kroki@latest"
removes: "/usr/bin/go"
name: "packages | Install kroki-cli"
tags: "kroki-cli"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/go-phie/gophie@latest
removes: /usr/bin/go
name: packages | Install gophie
tags: gophie
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/go-phie/gophie@latest"
removes: "/usr/bin/go"
name: "packages | Install gophie"
tags: "gophie"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/irevenko/koneko@latest
removes: /usr/bin/go
name: packages | Install koneko
tags: koneko
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/irevenko/koneko@latest"
removes: "/usr/bin/go"
name: "packages | Install koneko"
tags: "koneko"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/irevenko/what-anime-cli@latest
removes: /usr/bin/go
name: packages | Install what-anime-cli
tags: what-anime-cli
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/irevenko/what-anime-cli@latest"
removes: "/usr/bin/go"
name: "packages | Install what-anime-cli"
tags: "what-anime-cli"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/betapictoris/wiki@latest
removes: /usr/bin/go
name: packages | Install wiki
tags: wiki
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/betapictoris/wiki@latest"
removes: "/usr/bin/go"
name: "packages | Install wiki"
tags: "wiki"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/iawia002/lux@latest
removes: /usr/bin/go
name: packages | Install lux
tags: lux
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/iawia002/lux@latest"
removes: "/usr/bin/go"
name: "packages | Install lux"
tags: "lux"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/raviqqe/muffet/v2@latest
removes: /usr/bin/go
name: packages | Install muffet
tags: muffet
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/raviqqe/muffet/v2@latest"
removes: "/usr/bin/go"
name: "packages | Install muffet"
tags: "muffet"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/fogleman/primitive@latest
removes: /usr/bin/go
name: packages | Install primitive
tags: primitive
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/fogleman/primitive@latest"
removes: "/usr/bin/go"
name: "packages | Install primitive"
tags: "primitive"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/liamg/guerrilla/cmd/guerrilla@latest
removes: /usr/bin/go
name: packages | Install guerrilla
tags: guerrilla
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/liamg/guerrilla/cmd/guerrilla@latest"
removes: "/usr/bin/go"
name: "packages | Install guerrilla"
tags: "guerrilla"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/rfjakob/cshatag@latest
removes: /usr/bin/go
name: packages | Install cshatag
tags: cshatag
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/rfjakob/cshatag@latest"
removes: "/usr/bin/go"
name: "packages | Install cshatag"
tags: "cshatag"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/cloudflare/gokey/cmd/gokey@latest
removes: /usr/bin/go
name: packages | Install gokey
tags: gokey
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/cloudflare/gokey/cmd/gokey@latest"
removes: "/usr/bin/go"
name: "packages | Install gokey"
tags: "gokey"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/mbrt/gmailctl/cmd/gmailctl@latest
removes: /usr/bin/go
name: packages | Install gmailctl
tags: gmailctl
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/mbrt/gmailctl/cmd/gmailctl@latest"
removes: "/usr/bin/go"
name: "packages | Install gmailctl"
tags: "gmailctl"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/josephburnett/jd@latest
removes: /usr/bin/go
name: packages | Install jd
tags: jd
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/josephburnett/jd@latest"
removes: "/usr/bin/go"
name: "packages | Install jd"
tags: "jd"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/tmccombs/hcl2json@latest
removes: /usr/bin/go
name: packages | Install hcl2json
tags: hcl2json
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/tmccombs/hcl2json@latest"
removes: "/usr/bin/go"
name: "packages | Install hcl2json"
tags: "hcl2json"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/mcuadros/ascode@latest
removes: /usr/bin/go
name: packages | Install ascode
tags: ascode
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/mcuadros/ascode@latest"
removes: "/usr/bin/go"
name: "packages | Install ascode"
tags: "ascode"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/grafana/dashboard-linter@latest
removes: /usr/bin/go
name: packages | Install dashboard-linter
tags: dashboard-linter
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/grafana/dashboard-linter@latest"
removes: "/usr/bin/go"
name: "packages | Install dashboard-linter"
tags: "dashboard-linter"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/google/oauth2l@latest
removes: /usr/bin/go
name: packages | Install oauth2l
tags: oauth2l
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/google/oauth2l@latest"
removes: "/usr/bin/go"
name: "packages | Install oauth2l"
tags: "oauth2l"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/cloudentity/oauth2c@latest
removes: /usr/bin/go
name: packages | Install oauth2c
tags: oauth2c
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/cloudentity/oauth2c@latest"
removes: "/usr/bin/go"
name: "packages | Install oauth2c"
tags: "oauth2c"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/go-enry/enry@latest
removes: /usr/bin/go
name: packages | Install enry
tags: enry
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/go-enry/enry@latest"
removes: "/usr/bin/go"
name: "packages | Install enry"
tags: "enry"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/danvergara/dblab@latest
removes: /usr/bin/go
name: packages | Install dblab
tags: dblab
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/danvergara/dblab@latest"
removes: "/usr/bin/go"
name: "packages | Install dblab"
tags: "dblab"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/mineiros-io/terramate/cmd/terramate@latest
removes: /usr/bin/go
name: packages | Install terramate
tags: terramate
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/mineiros-io/terramate/cmd/terramate@latest"
removes: "/usr/bin/go"
name: "packages | Install terramate"
tags: "terramate"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/mickael-menu/zk@latest
removes: /usr/bin/go
name: packages | Install zk
tags: zk
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/mickael-menu/zk@latest"
removes: "/usr/bin/go"
name: "packages | Install zk"
tags: "zk"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/charmbracelet/mods@latest
removes: /usr/bin/go
name: packages | Install mods
tags: mods
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/charmbracelet/mods@latest"
removes: "/usr/bin/go"
name: "packages | Install mods"
tags: "mods"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" mvdan.cc/garble@latest
removes: /usr/bin/go
name: packages | Install garble
tags: garble
cmd: "/usr/bin/go install -ldflags \"-s -w\" mvdan.cc/garble@latest"
removes: "/usr/bin/go"
name: "packages | Install garble"
tags: "garble"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/plexsystems/konstraint@latest
removes: /usr/bin/go
name: packages | Install konstraint
tags: konstraint
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/plexsystems/konstraint@latest"
removes: "/usr/bin/go"
name: "packages | Install konstraint"
tags: "konstraint"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/reproducible-containers/diffoci/cmd/diffoci@latest
removes: /usr/bin/go
name: packages | Install diffoci
tags: diffoci
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/reproducible-containers/diffoci/cmd/diffoci@latest"
removes: "/usr/bin/go"
name: "packages | Install diffoci"
tags: "diffoci"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/reproducible-containers/buildkit-nix/cmd/buildkit-nix@latest
removes: /usr/bin/go
name: packages | Install buildkit-nix
tags: buildkit-nix
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/reproducible-containers/buildkit-nix/cmd/buildkit-nix@latest"
removes: "/usr/bin/go"
name: "packages | Install buildkit-nix"
tags: "buildkit-nix"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/styrainc/regal@latest
removes: /usr/bin/go
name: packages | Install regal
tags: regal
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/styrainc/regal@latest"
removes: "/usr/bin/go"
name: "packages | Install regal"
tags: "regal"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/google/go-licenses@latest
removes: /usr/bin/go
name: packages | Install go-licenses
tags: go-licenses
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/google/go-licenses@latest"
removes: "/usr/bin/go"
name: "packages | Install go-licenses"
tags: "go-licenses"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/crd2pulumi@latest
removes: /usr/bin/go
name: packages | Install crd2pulumi
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/pulumi/crd2pulumi@latest"
removes: "/usr/bin/go"
name: "packages | Install crd2pulumi"
tags:
- crd2pulumi
- pulumi-addons
- "crd2pulumi"
- "pulumi-addons"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/schema-tools@latest
removes: /usr/bin/go
name: packages | Install schema-tools
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/pulumi/schema-tools@latest"
removes: "/usr/bin/go"
name: "packages | Install schema-tools"
tags:
- schema-tools
- pulumi-addons
- "schema-tools"
- "pulumi-addons"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/kubespy@latest
removes: /usr/bin/go
name: packages | Install kubespy
tags: kubespy
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/pulumi/kubespy@latest"
removes: "/usr/bin/go"
name: "packages | Install kubespy"
tags: "kubespy"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/registrygen@latest
removes: /usr/bin/go
name: packages | Install registrygen
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/pulumi/registrygen@latest"
removes: "/usr/bin/go"
name: "packages | Install registrygen"
tags:
- registrygen
- pulumi-addons
- "registrygen"
- "pulumi-addons"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/pulumictl/cmd/pulumictl@latest
removes: /usr/bin/go
name: packages | Install pulumictl
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/pulumi/pulumictl/cmd/pulumictl@latest"
removes: "/usr/bin/go"
name: "packages | Install pulumictl"
tags:
- pulumictl
- pulumi-addons
- "pulumictl"
- "pulumi-addons"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/pulumi-trace-tool@latest
removes: /usr/bin/go
name: packages | Install pulumi-trace-tool
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/pulumi/pulumi-trace-tool@latest"
removes: "/usr/bin/go"
name: "packages | Install pulumi-trace-tool"
tags:
- pulumi-trace-tool
- pulumi-addons
- "pulumi-trace-tool"
- "pulumi-addons"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" oss.terrastruct.com/d2@latest
removes: /usr/bin/go
name: packages | Install d2
tags: d2
cmd: "/usr/bin/go install -ldflags \"-s -w\" oss.terrastruct.com/d2@latest"
removes: "/usr/bin/go"
name: "packages | Install d2"
tags: "d2"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/quay/clair/v4/cmd/clairctl@latest
removes: /usr/bin/go
name: packages | Install clairctl
tags: clairctl
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/quay/clair/v4/cmd/clairctl@latest"
removes: "/usr/bin/go"
name: "packages | Install clairctl"
tags: "clairctl"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/hashicorp/packer@latest
removes: /usr/bin/go
name: packages | Install packer
tags: packer
cmd: "/usr/bin/go install -ldflags \"-s -w\" github.com/hashicorp/packer@latest"
removes: "/usr/bin/go"
name: "packages | Install packer"
tags: "packer"
- command:
cmd: /usr/bin/go install -ldflags "-s -w" golang.org/x/telemetry/cmd/gotelemetry@latest
removes: /usr/bin/go
name: packages | Install gotelemetry
tags: gotelemetry
cmd: "/usr/bin/go install -ldflags \"-s -w\" golang.org/x/telemetry/cmd/gotelemetry@latest"
removes: "/usr/bin/go"
name: "packages | Install gotelemetry"
tags: "gotelemetry"

View File

@ -33,5 +33,6 @@ std.manifestYamlDoc(
mode: '755',
},
},
] + [task(x) for x in packages]
] + [task(x) for x in packages],
quote_keys=false
)

View File

@ -5,45 +5,45 @@
- file:
mode: "755"
path: '{{ python_venv_root }}'
state: directory
name: packages | Create directory to store virtualenv environments
path: "{{ python_venv_root }}"
state: "directory"
name: "packages | Create directory to store virtualenv environments"
- block:
- name: packages | Install translatepy with pip
pip:
name: translatepy
state: latest
virtualenv: '{{ python_venv_root }}/translatepy'
- file:
dest: '{{ xdg_dir.bin_home }}/translatepy'
src: '{{ python_venv_root }}/translatepy/bin/translatepy'
state: link
name: packages | Symlink translatepy executable
name: packages | Install translatepy
tags: translatepy
- name: "packages | Install translatepy with pip"
pip:
name: "translatepy"
state: "latest"
virtualenv: "{{ python_venv_root }}/translatepy"
- file:
dest: "{{ xdg_dir.bin_home }}/translatepy"
src: "{{ python_venv_root }}/translatepy/bin/translatepy"
state: "link"
name: "packages | Symlink translatepy executable"
name: "packages | Install translatepy"
tags: "translatepy"
- block:
- name: packages | Install kapitan with pip
pip:
name: kapitan
state: latest
virtualenv: '{{ python_venv_root }}/kapitan'
- file:
dest: '{{ xdg_dir.bin_home }}/kapitan'
src: '{{ python_venv_root }}/kapitan/bin/kapitan'
state: link
name: packages | Symlink kapitan executable
name: packages | Install kapitan
tags: kapitan
- name: "packages | Install kapitan with pip"
pip:
name: "kapitan"
state: "latest"
virtualenv: "{{ python_venv_root }}/kapitan"
- file:
dest: "{{ xdg_dir.bin_home }}/kapitan"
src: "{{ python_venv_root }}/kapitan/bin/kapitan"
state: "link"
name: "packages | Symlink kapitan executable"
name: "packages | Install kapitan"
tags: "kapitan"
- block:
- name: packages | Install cambd with pip
pip:
name: cambd
state: latest
virtualenv: '{{ python_venv_root }}/cambd'
- file:
dest: '{{ xdg_dir.bin_home }}/cambd'
src: '{{ python_venv_root }}/cambd/bin/cambd'
state: link
name: packages | Symlink cambd executable
name: packages | Install cambd
tags: cambd
- name: "packages | Install cambd with pip"
pip:
name: "cambd"
state: "latest"
virtualenv: "{{ python_venv_root }}/cambd"
- file:
dest: "{{ xdg_dir.bin_home }}/cambd"
src: "{{ python_venv_root }}/cambd/bin/cambd"
state: "link"
name: "packages | Symlink cambd executable"
name: "packages | Install cambd"
tags: "cambd"

View File

@ -36,4 +36,4 @@ local packages =
]
];
std.manifestYamlDoc([task(x) for x in packages])
std.manifestYamlDoc([task(x) for x in packages], quote_keys=false)

View File

@ -3,57 +3,57 @@
# Auto-generated with Jsonnet from pnpm-packages.jsonnet
# Do NOT edit!!
- command: pnpm add -g @mermaid-js/mermaid-cli@latest
name: packages | Install mermaid
tags: mermaid
- command: pnpm add -g @marp-team/marp-cli@latest @marp-team/marpit@latest
name: packages | Install marp
tags: marp
- command: pnpm add -g @antora/cli@latest @antora/site-generator@latest
name: packages | Install antora
tags: antora
- command: pnpm add -g conventional-changelog-cli@latest @commitlint/cli@latest commitizen@latest
name: packages | Install conventional-commit
tags: conventional-commit
- command: pnpm add -g cdktf-cli@latest
name: packages | Install cdktf
tags: cdktf
- command: pnpm add -g @slidev/cli@latest
name: packages | Install slidev
tags: slidev
- command: pnpm add -g browser-sync@latest
name: packages | Install browser-sync
tags: browser-sync
- command: pnpm add -g carbon-now-cli@latest
name: packages | Install carbon-now-cli
tags: carbon-now-cli
- command: pnpm add -g esy@latest
name: packages | Install esy
tags: esy
- command: pnpm add -g mapscii@latest
name: packages | Install mapscii
tags: mapscii
- command: pnpm add -g nx@latest
name: packages | Install nx
tags: nx
- command: pnpm add -g pkg@latest
name: packages | Install pkg
tags: pkg
- command: pnpm add -g projen@latest
name: packages | Install projen
tags: projen
- command: pnpm add -g serverless@latest
name: packages | Install serverless
tags: serverless
- command: pnpm add -g swagger-ui-watcher@latest
name: packages | Install swagger-ui-watcher
tags: swagger-ui-watcher
- command: pnpm add -g turbo@latest
name: packages | Install turbo
tags: turbo
- command: pnpm add -g wavedrom-cli@latest
name: packages | Install wavedrom-cli
tags: wavedrom-cli
- command: pnpm add -g wrangler@latest
name: packages | Install wrangler
tags: wrangler
- command: "pnpm add -g @mermaid-js/mermaid-cli@latest"
name: "packages | Install mermaid"
tags: "mermaid"
- command: "pnpm add -g @marp-team/marp-cli@latest @marp-team/marpit@latest"
name: "packages | Install marp"
tags: "marp"
- command: "pnpm add -g @antora/cli@latest @antora/site-generator@latest"
name: "packages | Install antora"
tags: "antora"
- command: "pnpm add -g conventional-changelog-cli@latest @commitlint/cli@latest commitizen@latest"
name: "packages | Install conventional-commit"
tags: "conventional-commit"
- command: "pnpm add -g cdktf-cli@latest"
name: "packages | Install cdktf"
tags: "cdktf"
- command: "pnpm add -g @slidev/cli@latest"
name: "packages | Install slidev"
tags: "slidev"
- command: "pnpm add -g browser-sync@latest"
name: "packages | Install browser-sync"
tags: "browser-sync"
- command: "pnpm add -g carbon-now-cli@latest"
name: "packages | Install carbon-now-cli"
tags: "carbon-now-cli"
- command: "pnpm add -g esy@latest"
name: "packages | Install esy"
tags: "esy"
- command: "pnpm add -g mapscii@latest"
name: "packages | Install mapscii"
tags: "mapscii"
- command: "pnpm add -g nx@latest"
name: "packages | Install nx"
tags: "nx"
- command: "pnpm add -g pkg@latest"
name: "packages | Install pkg"
tags: "pkg"
- command: "pnpm add -g projen@latest"
name: "packages | Install projen"
tags: "projen"
- command: "pnpm add -g serverless@latest"
name: "packages | Install serverless"
tags: "serverless"
- command: "pnpm add -g swagger-ui-watcher@latest"
name: "packages | Install swagger-ui-watcher"
tags: "swagger-ui-watcher"
- command: "pnpm add -g turbo@latest"
name: "packages | Install turbo"
tags: "turbo"
- command: "pnpm add -g wavedrom-cli@latest"
name: "packages | Install wavedrom-cli"
tags: "wavedrom-cli"
- command: "pnpm add -g wrangler@latest"
name: "packages | Install wrangler"
tags: "wrangler"

View File

@ -79,5 +79,6 @@ local packagesRaw =
std.manifestYamlDoc(
[taskRaw(x) for x in packagesRaw]
+ [task(x) for x in packages]
+ [task(x) for x in packages],
quote_keys=false
)

View File

@ -4,141 +4,141 @@
# Do NOT edit!!
- command:
cmd: /usr/bin/cargo install --locked --force --git https://github.com/queer/atsi.git
removes: /usr/bin/cargo
name: packages | Install atsi
tags: atsi
cmd: "/usr/bin/cargo install --locked --force --git https://github.com/queer/atsi.git"
removes: "/usr/bin/cargo"
name: "packages | Install atsi"
tags: "atsi"
- command:
cmd: /usr/bin/cargo install --locked --force languagetool-rust --features full
removes: /usr/bin/cargo
name: packages | Install languagetool-rust
tags: languagetool-rust
cmd: "/usr/bin/cargo install --locked --force languagetool-rust --features full"
removes: "/usr/bin/cargo"
name: "packages | Install languagetool-rust"
tags: "languagetool-rust"
- command:
cmd: /usr/bin/cargo install --locked --force qsv --features all_full
removes: /usr/bin/cargo
name: packages | Install qsv
tags: qsv
cmd: "/usr/bin/cargo install --locked --force qsv --features all_full"
removes: "/usr/bin/cargo"
name: "packages | Install qsv"
tags: "qsv"
- command:
cmd: /usr/bin/cargo install --locked --force --git https://github.com/nekowinston/faerber.git faerber
removes: /usr/bin/cargo
name: packages | Install faerber
tags: faerber
cmd: "/usr/bin/cargo install --locked --force --git https://github.com/nekowinston/faerber.git faerber"
removes: "/usr/bin/cargo"
name: "packages | Install faerber"
tags: "faerber"
- command:
cmd: /usr/bin/cargo install --locked --force --git https://github.com/loichyan/nerdfix.git
removes: /usr/bin/cargo
name: packages | Install nerdfix
tags: nerdfix
cmd: "/usr/bin/cargo install --locked --force --git https://github.com/loichyan/nerdfix.git"
removes: "/usr/bin/cargo"
name: "packages | Install nerdfix"
tags: "nerdfix"
- command:
cmd: /usr/bin/cargo install --locked --force --git https://github.com/oxalica/nil.git nil
removes: /usr/bin/cargo
name: packages | Install nil
cmd: "/usr/bin/cargo install --locked --force --git https://github.com/oxalica/nil.git nil"
removes: "/usr/bin/cargo"
name: "packages | Install nil"
tags:
- nil
- lspservers
- "nil"
- "lspservers"
- command:
cmd: /usr/bin/cargo install --locked --force --git https://github.com/nix-community/nixpkgs-fmt.git nixpkgs-fmt
removes: /usr/bin/cargo
name: packages | Install nixpkgs-fmt
cmd: "/usr/bin/cargo install --locked --force --git https://github.com/nix-community/nixpkgs-fmt.git nixpkgs-fmt"
removes: "/usr/bin/cargo"
name: "packages | Install nixpkgs-fmt"
tags:
- nixpkgs-fmt
- linters
- "nixpkgs-fmt"
- "linters"
- command:
cmd: /usr/bin/cargo install --locked --force taplo-cli --features native-tls,lsp
removes: /usr/bin/cargo
name: packages | Install taplo-cli
cmd: "/usr/bin/cargo install --locked --force taplo-cli --features native-tls,lsp"
removes: "/usr/bin/cargo"
name: "packages | Install taplo-cli"
tags:
- taplo-cli
- lspservers
- "taplo-cli"
- "lspservers"
- community.general.cargo:
name: selene
state: latest
name: packages | Install selene
name: "selene"
state: "latest"
name: "packages | Install selene"
tags:
- selene
- linters
- "selene"
- "linters"
- community.general.cargo:
name: typos-cli
state: latest
name: packages | Install typos-cli
name: "typos-cli"
state: "latest"
name: "packages | Install typos-cli"
tags:
- typos-cli
- linters
- "typos-cli"
- "linters"
- community.general.cargo:
name: pylyzer
state: latest
name: packages | Install pylyzer
name: "pylyzer"
state: "latest"
name: "packages | Install pylyzer"
tags:
- pylyzer
- lspservers
- "pylyzer"
- "lspservers"
- community.general.cargo:
name: cargo-spellcheck
state: latest
name: packages | Install cargo-spellcheck
name: "cargo-spellcheck"
state: "latest"
name: "packages | Install cargo-spellcheck"
tags:
- cargo-spellcheck
- linters
- "cargo-spellcheck"
- "linters"
- community.general.cargo:
name: kubernix
state: latest
name: packages | Install kubernix
tags: kubernix
name: "kubernix"
state: "latest"
name: "packages | Install kubernix"
tags: "kubernix"
- community.general.cargo:
name: thokr
state: latest
name: packages | Install thokr
tags: thokr
name: "thokr"
state: "latest"
name: "packages | Install thokr"
tags: "thokr"
- community.general.cargo:
name: tickrs
state: latest
name: packages | Install tickrs
tags: tickrs
name: "tickrs"
state: "latest"
name: "packages | Install tickrs"
tags: "tickrs"
- community.general.cargo:
name: krabby
state: latest
name: packages | Install krabby
tags: krabby
name: "krabby"
state: "latest"
name: "packages | Install krabby"
tags: "krabby"
- community.general.cargo:
name: fselect
state: latest
name: packages | Install fselect
tags: fselect
name: "fselect"
state: "latest"
name: "packages | Install fselect"
tags: "fselect"
- community.general.cargo:
name: git-stack
state: latest
name: packages | Install git-stack
tags: git-stack
name: "git-stack"
state: "latest"
name: "packages | Install git-stack"
tags: "git-stack"
- community.general.cargo:
name: git-branch-stash
state: latest
name: packages | Install git-branch-stash
tags: git-branch-stash
name: "git-branch-stash"
state: "latest"
name: "packages | Install git-branch-stash"
tags: "git-branch-stash"
- community.general.cargo:
name: mdbook-mermaid
state: latest
name: packages | Install mdbook-mermaid
tags: mdbook-mermaid
name: "mdbook-mermaid"
state: "latest"
name: "packages | Install mdbook-mermaid"
tags: "mdbook-mermaid"
- community.general.cargo:
name: boringtun-cli
state: latest
name: packages | Install boringtun-cli
tags: boringtun-cli
name: "boringtun-cli"
state: "latest"
name: "packages | Install boringtun-cli"
tags: "boringtun-cli"
- community.general.cargo:
name: genact
state: latest
name: packages | Install genact
tags: genact
name: "genact"
state: "latest"
name: "packages | Install genact"
tags: "genact"
- community.general.cargo:
name: cocogitto
state: latest
name: packages | Install cocogitto
tags: cocogitto
name: "cocogitto"
state: "latest"
name: "packages | Install cocogitto"
tags: "cocogitto"
- community.general.cargo:
name: alass-cli
state: latest
name: packages | Install alass-cli
tags: alass-cli
name: "alass-cli"
state: "latest"
name: "packages | Install alass-cli"
tags: "alass-cli"
- community.general.cargo:
name: vtracer
state: latest
name: packages | Install vtracer
tags: vtracer
name: "vtracer"
state: "latest"
name: "packages | Install vtracer"
tags: "vtracer"

View File

@ -30,5 +30,6 @@ std.manifestYamlDoc(
loop: ['doasedit', 'readlinkf_posix'],
},
]
+ [task(x) for x in scripts]
+ [task(x) for x in scripts],
quote_keys=false
)

View File

@ -4,54 +4,54 @@
# Do NOT edit!!
- get_url:
dest: '{{ xdg_dir.bin_home }}/{{ item }}'
dest: "{{ xdg_dir.bin_home }}/{{ item }}"
force: true
mode: "755"
url: https://github.com/stank042/doasedit/raw/main/{{ item }}
url: "https://github.com/stank042/doasedit/raw/main/{{ item }}"
loop:
- doasedit
- readlinkf_posix
name: Install doasedit + readlinkf_posix
tags: doasedit
- "doasedit"
- "readlinkf_posix"
name: "Install doasedit + readlinkf_posix"
tags: "doasedit"
- get_url:
dest: '{{ xdg_dir.bin_home }}/ani-cli'
dest: "{{ xdg_dir.bin_home }}/ani-cli"
force: true
mode: "755"
url: https://github.com/pystardust/ani-cli/raw/master/ani-cli
name: Install ani-cli
tags: ani-cli
url: "https://github.com/pystardust/ani-cli/raw/master/ani-cli"
name: "Install ani-cli"
tags: "ani-cli"
- get_url:
dest: '{{ xdg_dir.bin_home }}/ytfzf'
dest: "{{ xdg_dir.bin_home }}/ytfzf"
force: true
mode: "755"
url: https://github.com/pystardust/ytfzf/raw/master/ytfzf
name: Install ytfzf
tags: ytfzf
url: "https://github.com/pystardust/ytfzf/raw/master/ytfzf"
name: "Install ytfzf"
tags: "ytfzf"
- get_url:
dest: '{{ xdg_dir.bin_home }}/git-filter-repo'
dest: "{{ xdg_dir.bin_home }}/git-filter-repo"
force: true
mode: "755"
url: https://github.com/newren/git-filter-repo/raw/main/git-filter-repo
name: Install git-filter-repo
tags: git-filter-repo
url: "https://github.com/newren/git-filter-repo/raw/main/git-filter-repo"
name: "Install git-filter-repo"
tags: "git-filter-repo"
- get_url:
dest: '{{ xdg_dir.bin_home }}/git-forgit'
dest: "{{ xdg_dir.bin_home }}/git-forgit"
force: true
mode: "755"
url: https://github.com/wfxr/forgit/raw/master/bin/git-forgit
name: Install git-forgit
tags: git-forgit
url: "https://github.com/wfxr/forgit/raw/master/bin/git-forgit"
name: "Install git-forgit"
tags: "git-forgit"
- get_url:
dest: '{{ xdg_dir.bin_home }}/pokeshell'
dest: "{{ xdg_dir.bin_home }}/pokeshell"
force: true
mode: "755"
url: https://github.com/acxz/pokeshell/raw/master/bin/pokeshell
name: Install pokeshell
tags: pokeshell
url: "https://github.com/acxz/pokeshell/raw/master/bin/pokeshell"
name: "Install pokeshell"
tags: "pokeshell"
- get_url:
dest: '{{ xdg_dir.bin_home }}/containerd-rootless.sh'
dest: "{{ xdg_dir.bin_home }}/containerd-rootless.sh"
force: true
mode: "755"
url: https://github.com/containerd/nerdctl/raw/main/extras/rootless/containerd-rootless.sh
name: Install containerd-rootless.sh
tags: containerd-rootless.sh
url: "https://github.com/containerd/nerdctl/raw/main/extras/rootless/containerd-rootless.sh"
name: "Install containerd-rootless.sh"
tags: "containerd-rootless.sh"

View File

@ -26,4 +26,4 @@ std.manifestYamlDoc([
tags: std.rstripChars(s[std.length(s) - 1], '.yml'),
}
for x in tasks
])
], quote_keys=false)

View File

@ -3,35 +3,35 @@
# Auto-generated with Jsonnet from main.jsonnet
# Do NOT edit!!
- import_tasks: sound.yml
name: theme | Install sound theme packs
tags: sound
- import_tasks: wallpapers.yml
name: theme | Download nice wallpapers
tags: wallpapers
- import_tasks: kvantum.yml
name: theme | Install Kvantum themes
tags: kvantu
- import_tasks: icons.yml
name: theme | Install icon and cursor themes
- import_tasks: "sound.yml"
name: "theme | Install sound theme packs"
tags: "sound"
- import_tasks: "wallpapers.yml"
name: "theme | Download nice wallpapers"
tags: "wallpapers"
- import_tasks: "kvantum.yml"
name: "theme | Install Kvantum themes"
tags: "kvantu"
- import_tasks: "icons.yml"
name: "theme | Install icon and cursor themes"
tags:
- icons
- cursors
- import_tasks: gtk.yml
name: theme | Install GTK themes
tags: gtk
- import_tasks: fonts/iosevka.yml
name: theme | Install iosevka font family
- "icons"
- "cursors"
- import_tasks: "gtk.yml"
name: "theme | Install GTK themes"
tags: "gtk"
- import_tasks: "fonts/iosevka.yml"
name: "theme | Install iosevka font family"
tags:
- iosevka
- fonts
- import_tasks: fonts/sarasa-gothic.yml
name: theme | Install sarasa-gothic font family
- "iosevka"
- "fonts"
- import_tasks: "fonts/sarasa-gothic.yml"
name: "theme | Install sarasa-gothic font family"
tags:
- sarasa-gothic
- fonts
- import_tasks: fonts/bobbers.yml
name: theme | Install bobbers font family
- "sarasa-gothic"
- "fonts"
- import_tasks: "fonts/bobbers.yml"
name: "theme | Install bobbers font family"
tags:
- bobbers
- fonts
- "bobbers"
- "fonts"

View File

@ -17,5 +17,5 @@ cat <<-EOF > "$outfile"
# Do NOT edit!!
EOF
printf "=> Processing \033[1;34m%s\033[0m\n" "$1"
jsonnet --string "$1" | yq -Peo yaml >> "$outfile"
jsonnet --string "$1" >> "$outfile"
printf "=> Generated YAML output for \033[1;34m%s\033[0m\n" "$1"