mirror of
https://github.com/linuxserver/docker-radarr.git
synced 2026-02-20 08:16:58 +08:00
updating endpoint for preview ingestion
This commit is contained in:
parent
b041840bcc
commit
389b2e5dfb
@ -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 && \
|
||||
|
||||
@ -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 && \
|
||||
|
||||
@ -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
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user