cleanup latest versions

Signed-off-by: Jess Frazelle <acidburn@github.com>
This commit is contained in:
Jess Frazelle 2018-12-28 19:35:17 -05:00
parent 53c771e034
commit b4190a30ff
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
6 changed files with 6 additions and 12 deletions

View File

@ -15,9 +15,4 @@ RUN set -x \
--no-cache-dir \ --no-cache-dir \
&& apk del .build-deps && apk del .build-deps
# Add extentions
ENV AZURE_CLI_EXTENSION_NOELBUNDICK_VERSION 0.0.12
RUN az extension add -y \
--source "https://github.com/noelbundick/azure-cli-extension-noelbundick/releases/download/v${AZURE_CLI_EXTENSION_NOELBUNDICK_VERSION}/noelbundick-${AZURE_CLI_EXTENSION_NOELBUNDICK_VERSION}-py2.py3-none-any.whl"
ENTRYPOINT [ "az" ] ENTRYPOINT [ "az" ]

View File

@ -15,7 +15,7 @@ get_latest() {
local repo=$1 local repo=$1
local resp local resp
resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases") resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases" | jq --raw-output '[.[] | select(.prerelease == false)]')
local tag local tag
tag=$(echo "$resp" | jq -e --raw-output .[0].tag_name) tag=$(echo "$resp" | jq -e --raw-output .[0].tag_name)
local name local name
@ -85,7 +85,7 @@ get_latest_unifi() {
compare() { compare() {
local name="$1" dir="$2" tag="$3" current="$4" releases="$5" local name="$1" dir="$2" tag="$3" current="$4" releases="$5"
ignore_dirs=( "bazel" "bcc" "mc" "nzbget" "osquery" "powershell" "rstudio" ) ignore_dirs=( "bazel" "mc" "nzbget" "rstudio" )
if [[ "$tag" =~ $current ]] || [[ "$name" =~ $current ]] || [[ "$current" =~ $tag ]] || [[ "$current" == "master" ]]; then if [[ "$tag" =~ $current ]] || [[ "$name" =~ $current ]] || [[ "$current" =~ $tag ]] || [[ "$current" == "master" ]]; then
echo -e "\\e[36m${dir}:\\e[39m current ${current} | ${tag} | ${name}" echo -e "\\e[36m${dir}:\\e[39m current ${current} | ${tag} | ${name}"
@ -99,7 +99,6 @@ compare() {
} }
projects=( projects=(
noelbundick/azure-cli-extension-noelbundick
iovisor/bcc iovisor/bcc
browsh-org/browsh browsh-org/browsh
certbot/certbot certbot/certbot

View File

@ -9,7 +9,7 @@ RUN apk --no-cache add \
ENV PATH /go/bin:/usr/local/go/bin:$PATH ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go ENV GOPATH /go
ENV MICRO_VERSION nightly ENV MICRO_VERSION v1.4.1
RUN git clone --depth 1 --branch "$MICRO_VERSION" https://github.com/zyedidia/micro /go/src/github.com/zyedidia/micro RUN git clone --depth 1 --branch "$MICRO_VERSION" https://github.com/zyedidia/micro /go/src/github.com/zyedidia/micro

View File

@ -6,7 +6,7 @@ RUN apk add --no-cache \
curl \ curl \
gzip gzip
ENV NOW_VERSION 13.0.0-canary.33 ENV NOW_VERSION 12.1.14
RUN curl -sSL -o "/tmp/now.gz" "https://github.com/zeit/now-cli/releases/download/${NOW_VERSION}/now-alpine.gz" \ RUN curl -sSL -o "/tmp/now.gz" "https://github.com/zeit/now-cli/releases/download/${NOW_VERSION}/now-alpine.gz" \
&& gzip -dv "/tmp/now.gz" \ && gzip -dv "/tmp/now.gz" \

View File

@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
--no-install-recommends \ --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENV OSQUERY_VERSION 3.3.1 ENV OSQUERY_VERSION 3.2.6
RUN buildDeps=' \ RUN buildDeps=' \
curl \ curl \

View File

@ -14,7 +14,7 @@ RUN apk add --no-cache \
--repository https://dl-4.alpinelinux.org/alpine/edge/testing --repository https://dl-4.alpinelinux.org/alpine/edge/testing
# https://github.com/Radarr/Radarr/releases # https://github.com/Radarr/Radarr/releases
ENV RADARR_VERSION v0.2.0.1217 ENV RADARR_VERSION v2.0.0.4472
RUN mkdir -p /opt/radarr \ RUN mkdir -p /opt/radarr \
&& wget "https://github.com/Radarr/Radarr/releases/download/${RADARR_VERSION}/Radarr.${RADARR_VERSION}.linux.tar.gz" -O /tmp/radarr.tar.gz \ && wget "https://github.com/Radarr/Radarr/releases/download/${RADARR_VERSION}/Radarr.${RADARR_VERSION}.linux.tar.gz" -O /tmp/radarr.tar.gz \
&& tar -xzvf /tmp/radarr.tar.gz -C /opt/radarr --strip-components 1 \ && tar -xzvf /tmp/radarr.tar.gz -C /opt/radarr --strip-components 1 \