updating endpoint for preview ingestion

This commit is contained in:
thelamer
2019-09-09 09:29:40 -07:00
parent b041840bcc
commit 389b2e5dfb
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -18,10 +18,10 @@ RUN \
jq && \
echo "**** install radarr ****" && \
if [ -z ${RADARR_RELEASE+x} ]; then \
RADARR_RELEASE=$(curl -sL "https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux" \
RADARR_RELEASE=$(curl -sL "https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux" \
| jq -r '.[0].version'); \
fi && \
RADARR_DURL=$(curl -sL "https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux" \
RADARR_DURL=$(curl -sL "https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux" \
| jq -r "first(.[] | select(.version == \"${RADARR_RELEASE}\")) | .url") && \
mkdir -p \
/opt/radarr && \
+2 -2
View File
@@ -18,10 +18,10 @@ RUN \
jq && \
echo "**** install radarr ****" && \
if [ -z ${RADARR_RELEASE+x} ]; then \
RADARR_RELEASE=$(curl -sL "https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux" \
RADARR_RELEASE=$(curl -sL "https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux" \
| jq -r '.[0].version'); \
fi && \
RADARR_DURL=$(curl -sL "https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux" \
RADARR_DURL=$(curl -sL "https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux" \
| jq -r "first(.[] | select(.version == \"${RADARR_RELEASE}\")) | .url") && \
mkdir -p \
/opt/radarr && \
+2 -2
View File
@@ -18,10 +18,10 @@ RUN \
jq && \
echo "**** install radarr ****" && \
if [ -z ${RADARR_RELEASE+x} ]; then \
RADARR_RELEASE=$(curl -sL "https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux" \
RADARR_RELEASE=$(curl -sL "https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux" \
| jq -r '.[0].version'); \
fi && \
RADARR_DURL=$(curl -sL "https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux" \
RADARR_DURL=$(curl -sL "https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux" \
| jq -r "first(.[] | select(.version == \"${RADARR_RELEASE}\")) | .url") && \
mkdir -p \
/opt/radarr && \
Vendored
+1 -1
View File
@@ -112,7 +112,7 @@ pipeline {
steps{
script{
env.EXT_RELEASE = sh(
script: ''' curl -sL https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux | jq -r '.[0].version' ''',
script: ''' curl -sL https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux | jq -r '.[0].version' ''',
returnStdout: true).trim()
env.RELEASE_LINK = 'custom_command'
}
+1 -1
View File
@@ -3,7 +3,7 @@
# jenkins variables
project_name: docker-radarr
external_type: na
custom_version_command: curl -sL https://radarr.lidarr.audio/v1/update/aphrodite/changes?os=linux | jq -r '.[0].version'
custom_version_command: curl -sL https://radarr.aeonlucid.com/v1/update/aphrodite/changes?os=linux | jq -r '.[0].version'
release_type: prerelease
release_tag: preview
ls_branch: preview