From f0ef209d8a97c031cbb9f0fe4427291fa1208b65 Mon Sep 17 00:00:00 2001 From: Jory Irving Date: Fri, 26 Jan 2024 12:39:59 -0700 Subject: [PATCH] feat: remove rss-forwarder --- apps/rss-forwarder/Dockerfile | 29 ----------------------------- apps/rss-forwarder/ci/goss.yaml | 5 ----- apps/rss-forwarder/ci/latest.sh | 5 ----- apps/rss-forwarder/metadata.yaml | 11 ----------- 4 files changed, 50 deletions(-) delete mode 100644 apps/rss-forwarder/Dockerfile delete mode 100644 apps/rss-forwarder/ci/goss.yaml delete mode 100755 apps/rss-forwarder/ci/latest.sh delete mode 100644 apps/rss-forwarder/metadata.yaml diff --git a/apps/rss-forwarder/Dockerfile b/apps/rss-forwarder/Dockerfile deleted file mode 100644 index 74c85d1..0000000 --- a/apps/rss-forwarder/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM rust:1.75.0-bookworm as builder - -ARG VERSION -ARG CHANNEL -ARG TARGETPLATFORM -ARG TARGETARCH -ARG TARGETOS - -LABEL repository="https://github.com/morphy2k/rss-forwarder" -LABEL maintainer="Markus Wiegand " -LABEL dev.LilDrunkenSmurf.image.target_platform=$TARGETPLATFORM -LABEL dev.LilDrunkenSmurf.image.target_architecture=$TARGETARCH -LABEL dev.LilDrunkenSmurf.image.target_os=$TARGETOS -LABEL org.opencontainers.image.source="https://github.com/morphy2k/rss-forwarder" - -ENV PKG_CONFIG_ALLOW_CROSS=1 - -WORKDIR /usr/src/rss-forwarder - -RUN wget https://github.com/morphy2k/rss-forwarder/archive/refs/tags/v${VERSION}.tar.gz \ - && tar -xvf v${VERSION}.tar.gz \ - && cd rss-forwarder-${VERSION} \ - && cargo install --path . - -FROM gcr.io/distroless/cc-debian12 - -COPY --from=builder /usr/local/cargo/bin/rss-forwarder /usr/local/bin/rss-forwarder - -CMD ["rss-forwarder", "/data/config.toml"] diff --git a/apps/rss-forwarder/ci/goss.yaml b/apps/rss-forwarder/ci/goss.yaml deleted file mode 100644 index bb314ef..0000000 --- a/apps/rss-forwarder/ci/goss.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#file -file: - /usr/local/bin/rss-forwarder: - exists: true diff --git a/apps/rss-forwarder/ci/latest.sh b/apps/rss-forwarder/ci/latest.sh deleted file mode 100755 index 0cc6e72..0000000 --- a/apps/rss-forwarder/ci/latest.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -version="$(curl -sX GET "https://api.github.com/repos/morphy2k/rss-forwarder/releases/latest" | jq --raw-output '.tag_name' 2>/dev/null)" -version="${version#*v}" -version="${version#*release-}" -printf "%s" "${version}" diff --git a/apps/rss-forwarder/metadata.yaml b/apps/rss-forwarder/metadata.yaml deleted file mode 100644 index 5f9c9ce..0000000 --- a/apps/rss-forwarder/metadata.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -app: rss-forwarder -base: false -semantic_versioning: false -channels: - - name: stable - platforms: ["linux/amd64", "linux/arm64"] # ["linux/amd64", "linux/arm64"] - stable: true - tests: - enabled: false - type: cli