Skip to content

Commit

Permalink
cleanup latest versions
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
Jess Frazelle committed Dec 29, 2018
1 parent 53c771e commit b4190a3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
5 changes: 0 additions & 5 deletions azure-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,4 @@ RUN set -x \
--no-cache-dir \
&& 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" ]
5 changes: 2 additions & 3 deletions latest-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ get_latest() {
local repo=$1

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
tag=$(echo "$resp" | jq -e --raw-output .[0].tag_name)
local name
Expand Down Expand Up @@ -85,7 +85,7 @@ get_latest_unifi() {

compare() {
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
echo -e "\\e[36m${dir}:\\e[39m current ${current} | ${tag} | ${name}"
Expand All @@ -99,7 +99,6 @@ compare() {
}

projects=(
noelbundick/azure-cli-extension-noelbundick
iovisor/bcc
browsh-org/browsh
certbot/certbot
Expand Down
2 changes: 1 addition & 1 deletion micro/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk --no-cache add \
ENV PATH /go/bin:/usr/local/go/bin:$PATH
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

Expand Down
2 changes: 1 addition & 1 deletion now/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk add --no-cache \
curl \
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" \
&& gzip -dv "/tmp/now.gz" \
Expand Down
2 changes: 1 addition & 1 deletion osquery/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

ENV OSQUERY_VERSION 3.3.1
ENV OSQUERY_VERSION 3.2.6

RUN buildDeps=' \
curl \
Expand Down
2 changes: 1 addition & 1 deletion radarr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN apk add --no-cache \
--repository https://dl-4.alpinelinux.org/alpine/edge/testing

# 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 \
&& 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 \
Expand Down

0 comments on commit b4190a3

Please sign in to comment.