From c697f10cafb44ccd0ca34c8c3d4769b3d466ce03 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Mon, 4 Mar 2024 07:02:08 +0800 Subject: [PATCH] feat(vyos-build): add Tailscale --- vyos/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vyos/build.sh b/vyos/build.sh index fd88a0ed..309666f9 100755 --- a/vyos/build.sh +++ b/vyos/build.sh @@ -27,6 +27,10 @@ TASK_VERSION="${TASK_VERSION#*v}" DUO_VERSION="duo_unix-2.0.3" DUO_VERSION="${DUO_VERSION#*duo_unix-}" +# renovate: datasource=github-releases depName=tailscale/tailscale +TAILSCALE_VERSION="v1.60.1" +TAILSCALE_VERSION="${TAILSCALE_VERSION#*v}" + pwd git clone --depth=1 --branch "${VYOS_VERSION}" --single-branch "${VYOS_URL}" ./vyos-build cd ./vyos-build @@ -39,6 +43,7 @@ curl -vLO "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/so curl -vL -o ./vyaml_${VYAML_VERSION}_${VYOS_ARCH}.deb "https://github.com/p3lim/vyaml/releases/download/${VYAML_VERSION}/vyaml-${VYOS_ARCH}.deb" curl -vLO "https://github.com/atuinsh/atuin/releases/download/v${ATUIN_VERSION}/atuin_${ATUIN_VERSION}_${VYOS_ARCH}.deb" curl -vLO "https://github.com/go-task/task/releases/download/v${TASK_VERSION}/task_linux_${VYOS_ARCH}.deb" +curl -vO "https://pkgs.tailscale.com/stable/debian/pool/tailscale_${TAILSCALE_VERSION}_${VYOS_ARCH}.deb" curl -vO "https://pkg.duosecurity.com/Debian/dists/bullseye/main/binary-${VYOS_ARCH}/duo-unix_${DUO_VERSION}-0_amd64.deb" # TODO: better solution to this than assuming the -0 version suffix curl -vO "https://downloads.1password.com/linux/debian/${VYOS_ARCH}/stable/1password-cli-${VYOS_ARCH}-latest.deb" OP_VERSION=$(dpkg-deb --field ./1password-cli-${VYOS_ARCH}-latest.deb version)