updating endpoint for preview ingestion
This commit is contained in:
+2
-2
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user