mirror of
https://github.com/linuxserver/docker-radarr.git
synced 2025-04-24 14:17:27 -04:00
Compare commits
421 commits
nightly-5.
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
94a34153df | ||
|
00f6247b8f | ||
|
7efe71b5a8 | ||
|
bd27ee8a93 | ||
|
23a40b7899 | ||
|
18506c3e32 | ||
|
17844ee8d2 | ||
|
de1f4735a3 | ||
|
9e27211081 | ||
|
5c2fe653eb | ||
|
5b78f43a9e | ||
|
c2a9433ab0 | ||
|
e657acba40 | ||
|
60028b44db | ||
|
bf51714473 | ||
|
25b8727630 | ||
|
57d1bddd08 | ||
|
ffd57f108f | ||
|
b3fbd06bd9 | ||
|
04fff57a35 | ||
|
eb5c7e523f | ||
|
2992d72bca | ||
|
af2b5216a8 | ||
|
c2433bf370 | ||
|
24a36f1e0d | ||
|
f7f263c4b7 | ||
|
69376a23e7 | ||
|
010edf887f | ||
|
f813b598aa | ||
|
b6477bfc64 | ||
|
0d3f0cf1aa | ||
|
2762606e65 | ||
|
75fd94ae0e | ||
|
a79dcabe22 | ||
|
8d4d282394 | ||
|
d8142ca25f | ||
|
56dbfec4dd | ||
|
595a380d05 | ||
|
bbf7c930ec | ||
|
a89bc9e999 | ||
|
ac77aa50d8 | ||
|
6f44961ead | ||
|
e1d1fc38c9 | ||
|
4d7a883814 | ||
|
2aa2f9da6e | ||
|
27edab6177 | ||
|
2aa3913fd9 | ||
|
dba996577f | ||
|
d59d5b49fb | ||
|
1924934abc | ||
|
38317b3a26 | ||
|
8bd74a0f04 | ||
|
ea73a8a9c3 | ||
|
18b8f000de | ||
|
c76fe36fd9 | ||
|
73cb13e87f | ||
|
05535d853c | ||
|
7124535660 | ||
|
cade8f8f5c | ||
|
3e5907a38b | ||
|
69d8f62fb7 | ||
|
39cce378fd | ||
|
78e3ce75ab | ||
|
f30bb696ba | ||
|
e5f5908a36 | ||
|
8e9abba250 | ||
|
4d436ec198 | ||
|
d8004a9460 | ||
|
76010201aa | ||
|
8330d4204b | ||
|
78c5b44e2f | ||
|
60fce1b1c5 | ||
|
f5119d3c66 | ||
|
60c4853f78 | ||
|
205a78c0dc | ||
|
554cc9b1bb | ||
|
859d41ea4e | ||
|
a4dc435ba8 | ||
|
53052dd9e2 | ||
|
c1000f11c1 | ||
|
6f2da27252 | ||
|
de45423853 | ||
|
ce08e04a99 | ||
|
8980f6493f | ||
|
3ed4adc84b | ||
|
0486dc1d7b | ||
|
7e00dda165 | ||
|
41efeffc56 | ||
|
bb0a914ab9 | ||
|
e8889b3f7a | ||
|
41b40e8185 | ||
|
dccdd7fae1 | ||
|
0cad2849ab | ||
|
df7977e5d0 | ||
|
49ae898103 | ||
|
6c0bd2df7e | ||
|
b8dcc57f82 | ||
|
f0cf35eb43 | ||
|
a95508d1d2 | ||
|
56c8fd01db | ||
|
0344082663 | ||
|
68ebf1d878 | ||
|
ca45013865 | ||
|
54b36c2603 | ||
|
61592f938d | ||
|
d27e01a33e | ||
|
841179d751 | ||
|
8eae2962ab | ||
|
59cf4a40b6 | ||
|
052a0ec4be | ||
|
8cef9f74af | ||
|
9956886a8a | ||
|
2846848dd4 | ||
|
d51f14b6db | ||
|
e458652cbb | ||
|
231d2e4fb7 | ||
|
7ff1300e09 | ||
|
217e148d4b | ||
|
a7125bcdda | ||
|
828a9f14ae | ||
|
175703b76a | ||
|
cf7653e76b | ||
|
9200a1c7e9 | ||
|
e5ad1973be | ||
|
d1d63db219 | ||
|
4dd2389a36 | ||
|
7a5a2757e1 | ||
|
c6c16b4cb1 | ||
|
8e9ab55d84 | ||
|
6f40cb383c | ||
|
4b0e5d798a | ||
|
46345e9b41 | ||
|
c548b7dfed | ||
|
0b4d7cdc29 | ||
|
2592ebdf3c | ||
|
48d28e4fca | ||
|
2e8c2cda66 | ||
|
5a94c2d1bb | ||
|
74cd2fdf72 | ||
|
b5e43e6023 | ||
|
553a44d22f | ||
|
bf0a73d8a2 | ||
|
8e7b83b40f | ||
|
40748a545d | ||
|
76b6c295d1 | ||
|
99c73e2807 | ||
|
34436c8ee0 | ||
|
8f9dd9b817 | ||
|
ecffaa82b0 | ||
|
a06506c306 | ||
|
66c9c2305f | ||
|
1422f3d533 | ||
|
acededb0cb | ||
|
9e06068d51 | ||
|
9549f1a4dc | ||
|
dcd841ee9c | ||
|
1f41018a92 | ||
|
60fbf2502b | ||
|
139ce6b7b3 | ||
|
7ceb6a4d96 | ||
|
22b5969e1f | ||
|
e66f4ce1ad | ||
|
65930046a0 | ||
|
f1b05cdfb6 | ||
|
ce75c340c7 | ||
|
b90d04aa37 | ||
|
4247f5832e | ||
|
9317c437bb | ||
|
309792b90e | ||
|
0d5fb5449d | ||
|
dc89ad5776 | ||
|
6b13011f6c | ||
|
5648c686cb | ||
|
265c11cf1d | ||
|
534ee73940 | ||
|
7e13352048 | ||
|
44a9d2c767 | ||
|
c0b380852b | ||
|
4218b2e2fe | ||
|
3cae9b5a84 | ||
|
4084034ca9 | ||
|
d27b8a7b58 | ||
|
dd854558cb | ||
|
e9e3c8134f | ||
|
4456d1283e | ||
|
c2ea830e49 | ||
|
326f88b81a | ||
|
a6bbbcb438 | ||
|
99e75d1230 | ||
|
3a0b5e2917 | ||
|
673f843517 | ||
|
3a15f55495 | ||
|
9d88ec2328 | ||
|
aabc95b5d7 | ||
|
1a00780014 | ||
|
2599e18a54 | ||
|
4a9afb69b8 | ||
|
779a7afa82 | ||
|
fc2372856b | ||
|
b8688843e5 | ||
|
d5edbcd5df | ||
|
9d1b080895 | ||
|
429de4b0fd | ||
|
081333aa71 | ||
|
4828a3d541 | ||
|
feebe3c6b4 | ||
|
8c6f65749d | ||
|
215f13c384 | ||
|
86619dc69b | ||
|
ce13046b95 | ||
|
93afb09dfc | ||
|
746d788889 | ||
|
dd4291e54f | ||
|
0b33659239 | ||
|
434484ab08 | ||
|
b5857f308c | ||
|
84aece75eb | ||
|
0087caba09 | ||
|
a662f4fe63 | ||
|
2e34d9bc69 | ||
|
da14950d8e | ||
|
d787aec1eb | ||
|
81d980ddc5 | ||
|
359b7ce974 | ||
|
2f5b17744e | ||
|
93c02816a2 | ||
|
6af2707368 | ||
|
cbdee9a529 | ||
|
3d3be90eb1 | ||
|
a155164fcb | ||
|
a6108e4307 | ||
|
7e045d37ee | ||
|
1aaec63108 | ||
|
46bce98643 | ||
|
80b64b7a59 | ||
|
efcba176a0 | ||
|
4f2fe8ec5d | ||
|
50e5de2d65 | ||
|
4551d41ee0 | ||
|
573f23d3ab | ||
|
e130655a7e | ||
|
7126c84d57 | ||
|
8089e35e64 | ||
|
4eeb966b6e | ||
|
fa7c425411 | ||
|
141ef4eb66 | ||
|
d52de483a9 | ||
|
e9fa651898 | ||
|
3864489e48 | ||
|
7ab2900ed0 | ||
|
6cc31ce967 | ||
|
e7b02f47ff | ||
|
144f755a37 | ||
|
5e6c862d71 | ||
|
a997e1a59f | ||
|
1a21efc3b2 | ||
|
c7951e6d30 | ||
|
581c0206d5 | ||
|
9afe4d1cad | ||
|
c664a142d5 | ||
|
f478840fae | ||
|
389621b9bf | ||
|
9a696df4cd | ||
|
fae0d9b51f | ||
|
01ad1c7dbb | ||
|
1bd5fe1582 | ||
|
7c7b039a62 | ||
|
30ed04dcd4 | ||
|
852ac7c6ba | ||
|
0efde2869a | ||
|
cfcfaf8a07 | ||
|
7cf9ec26f6 | ||
|
d2d72a0d5a | ||
|
25995fa7dc | ||
|
cf3e9afb56 | ||
|
69c9f30b77 | ||
|
546d118231 | ||
|
ababbb830d | ||
|
7bd9d98f63 | ||
|
08a431877c | ||
|
22ba541de7 | ||
|
d8e94324ab | ||
|
8d80e122a1 | ||
|
3ebd628ec2 | ||
|
3a663ec722 | ||
|
9f753517c3 | ||
|
cd81bb2947 | ||
|
68ded84aff | ||
|
7c18caa1c0 | ||
|
b19b3f29c1 | ||
|
619633221e | ||
|
b0fb51c6e8 | ||
|
2ec3ac2799 | ||
|
3253d688d4 | ||
|
a04e67b420 | ||
|
3aad127ba7 | ||
|
4933db924a | ||
|
89a5ad7224 | ||
|
57a101e5e1 | ||
|
90dcfb6234 | ||
|
6267ebfc9e | ||
|
62cebe9bed | ||
|
ab428698eb | ||
|
2d8798d1dd | ||
|
5194d14c3e | ||
|
eb591ec9f2 | ||
|
c0abd2f84e | ||
|
2c495845ba | ||
|
46543e4715 | ||
|
187e71dd94 | ||
|
3870c0d46e | ||
|
610a1f00f1 | ||
|
227096e384 | ||
|
c7f709bf4b | ||
|
a4f485a5f3 | ||
|
657849e6ca | ||
|
0263dad59a | ||
|
84b4ea20dc | ||
|
a0efeaa505 | ||
|
3f3a069717 | ||
|
4e93c6a725 | ||
|
e8e4c1722f | ||
|
f6e1cd2dd8 | ||
|
7417bd75d3 | ||
|
1bec293f2c | ||
|
273b142873 | ||
|
cf8fb09620 | ||
|
4cf3a68160 | ||
|
ad0b82504c | ||
|
f4fc9a9144 | ||
|
7e95fffe50 | ||
|
b6cd983c44 | ||
|
c14f7c64b3 | ||
|
03f05a86bc | ||
|
09975cdf7b | ||
|
f9ac266163 | ||
|
77bfe72043 | ||
|
376a44125c | ||
|
5010fe47a1 | ||
|
4be7abe8f6 | ||
|
b6b81e45c9 | ||
|
3700ba7424 | ||
|
99b08ad46e | ||
|
8277af9a6b | ||
|
b3dd8f4b08 | ||
|
4832fd661a | ||
|
97def9b43a | ||
|
370ba359fd | ||
|
2658f83bf1 | ||
|
28e28954fd | ||
|
f41ae21e64 | ||
|
f7cd78669a | ||
|
ccf1976503 | ||
|
a27bdacb05 | ||
|
2216b835a9 | ||
|
3ea62589b2 | ||
|
ef5deb7a0c | ||
|
ea588c3e62 | ||
|
1935981f18 | ||
|
72be406f5b | ||
|
6ab6e9bda9 | ||
|
8ff4d76d43 | ||
|
d810717dea | ||
|
77bf30479f | ||
|
f8e2a3f91a | ||
|
e4623dd834 | ||
|
c64e15b20f | ||
|
6baf1a0894 | ||
|
f4d2b507de | ||
|
de7a5067bd | ||
|
10ebf822fe | ||
|
54892a1948 | ||
|
de56a0459e | ||
|
bc01e3ad0b | ||
|
a693fe3a44 | ||
|
bedc4db6be | ||
|
66c4ee250c | ||
|
7c7f667b8e | ||
|
c54e1a663b | ||
|
16cf4bcc90 | ||
|
bd3d3b61d0 | ||
|
d5cafa54b1 | ||
|
db468a5bfa | ||
|
5456827b6b | ||
|
6ab9f20607 | ||
|
23bbe2744e | ||
|
e7183959cd | ||
|
3368a64870 | ||
|
2259a92c9c | ||
|
6f49692d3e | ||
|
4f2a89a0db | ||
|
132823de16 | ||
|
0da5adb21c | ||
|
39efcec0eb | ||
|
0329db2d02 | ||
|
e534215e8e | ||
|
ff0b492f34 | ||
|
4b858a02a4 | ||
|
f7b38b91bf | ||
|
e7e1c3abed | ||
|
bec3c8ac20 | ||
|
f9680d1807 | ||
|
37e0a899db | ||
|
53de501c49 | ||
|
7c400206dc | ||
|
656a4a15b2 | ||
|
07529438f5 | ||
|
b9c4a0edc1 | ||
|
0e8e74870f | ||
|
4e5e64cc4a | ||
|
6c0b9afbb3 | ||
|
776f69762c | ||
|
cc85574bff | ||
|
b5ed4b1737 | ||
|
166dc42cd7 | ||
|
b8bd3ecdb2 | ||
|
1d066b6111 | ||
|
fa105e3587 | ||
|
760570661a | ||
|
9daf2e8de0 | ||
|
8fbc1e2676 |
11 changed files with 126 additions and 125 deletions
4
.github/CONTRIBUTING.md
vendored
4
.github/CONTRIBUTING.md
vendored
|
@ -24,7 +24,7 @@
|
|||
## Readme
|
||||
|
||||
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-radarr/edit/nightly/readme-vars.yml).
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-radarr/edit/master/readme-vars.yml).
|
||||
|
||||
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
|
||||
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io/images/docker-radarr)
|
||||
|
@ -115,7 +115,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||
|
||||
## Update the changelog
|
||||
|
||||
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-radarr/tree/nightly/root), add an entry to the changelog
|
||||
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-radarr/tree/master/root), add an entry to the changelog
|
||||
|
||||
```yml
|
||||
changelogs:
|
||||
|
|
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -21,7 +21,7 @@
|
|||
|
||||
------------------------------
|
||||
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-radarr/blob/nightly/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-radarr/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
|
||||
------------------------------
|
||||
|
||||
|
|
32
.github/workflows/external_trigger.yml
vendored
32
.github/workflows/external_trigger.yml
vendored
|
@ -4,31 +4,31 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
external-trigger-nightly:
|
||||
external-trigger-master:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: External Trigger
|
||||
if: github.ref == 'refs/heads/nightly'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
env:
|
||||
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
|
||||
run: |
|
||||
printf "# External trigger for docker-radarr\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
if grep -q "^radarr_nightly_" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
if grep -q "^radarr_master_" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`radarr_nightly_\`; will skip trigger if version matches." >> $GITHUB_STEP_SUMMARY
|
||||
elif grep -q "^radarr_nightly" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`radarr_master_\`; will skip trigger if version matches." >> $GITHUB_STEP_SUMMARY
|
||||
elif grep -q "^radarr_master" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`radarr_nightly\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`radarr_master\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
fi
|
||||
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> External trigger running off of nightly branch. To disable this trigger, add \`radarr_nightly\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
|
||||
echo "> External trigger running off of master branch. To disable this trigger, add \`radarr_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
|
||||
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
EXT_RELEASE=$(curl -sL https://radarr.servarr.com/v1/update/nightly/changes?runtime=netcore%26os=linux | jq -r '.[0].version')
|
||||
EXT_RELEASE=$(curl -sL https://radarr.servarr.com/v1/update/master/changes?runtime=netcore%26os=linuxmusl | jq -r '.[0].version')
|
||||
echo "Type is \`custom_version_command\`" >> $GITHUB_STEP_SUMMARY
|
||||
if grep -q "^radarr_nightly_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
if grep -q "^radarr_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Can't retrieve external version, exiting" >> $GITHUB_STEP_SUMMARY
|
||||
FAILURE_REASON="Can't retrieve external version for radarr branch nightly"
|
||||
FAILURE_REASON="Can't retrieve external version for radarr branch master"
|
||||
GHA_TRIGGER_URL="https://github.com/linuxserver/docker-radarr/actions/runs/${{ github.run_id }}"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
|
||||
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n**Trigger URL:** '"${GHA_TRIGGER_URL}"' \n"}],
|
||||
|
@ -47,7 +47,7 @@ jobs:
|
|||
echo "External version: \`${EXT_RELEASE}\`" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Retrieving last pushed version" >> $GITHUB_STEP_SUMMARY
|
||||
image="linuxserver/radarr"
|
||||
tag="nightly"
|
||||
tag="latest"
|
||||
token=$(curl -sX GET \
|
||||
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fradarr%3Apull" \
|
||||
| jq -r '.token')
|
||||
|
@ -93,7 +93,7 @@ jobs:
|
|||
if [ -z "${IMAGE_VERSION}" ]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Can't retrieve last pushed version, exiting" >> $GITHUB_STEP_SUMMARY
|
||||
FAILURE_REASON="Can't retrieve last pushed version for radarr tag nightly"
|
||||
FAILURE_REASON="Can't retrieve last pushed version for radarr tag latest"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
|
||||
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
@ -103,14 +103,14 @@ jobs:
|
|||
if [ "${EXT_RELEASE}" == "${IMAGE_VERSION}" ]; then
|
||||
echo "Version \`${EXT_RELEASE}\` already pushed, exiting" >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-radarr/job/nightly/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-radarr/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
echo "New version \`${EXT_RELEASE}\` found; but there already seems to be an active build on Jenkins; exiting" >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
else
|
||||
if [[ "${artifacts_found}" == "false" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> New version detected, but not all artifacts are published yet; skipping trigger" >> $GITHUB_STEP_SUMMARY
|
||||
FAILURE_REASON="New version ${EXT_RELEASE} for radarr tag nightly is detected, however not all artifacts are uploaded to upstream release yet. Will try again later."
|
||||
FAILURE_REASON="New version ${EXT_RELEASE} for radarr tag latest is detected, however not all artifacts are uploaded to upstream release yet. Will try again later."
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
@ -121,7 +121,7 @@ jobs:
|
|||
echo "All artifacts seem to be uploaded." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-radarr/job/nightly/buildWithParameters?PACKAGE_CHECK=false \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-radarr/job/master/buildWithParameters?PACKAGE_CHECK=false \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
||||
echo "Jenkins [job queue url](${response%$'\r'})" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
|
||||
|
@ -136,7 +136,7 @@ jobs:
|
|||
--data-urlencode "description=GHA external trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
--data-urlencode "Submit=Submit"
|
||||
echo "**** Notifying Discord ****"
|
||||
TRIGGER_REASON="A version change was detected for radarr tag nightly. Old version:${IMAGE_VERSION} New version:${EXT_RELEASE}"
|
||||
TRIGGER_REASON="A version change was detected for radarr tag latest. Old version:${IMAGE_VERSION} New version:${EXT_RELEASE}"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Build Triggered** \n**Reason:** '"${TRIGGER_REASON}"' \n**Build URL:** '"${buildurl}display/redirect"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
|
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
|
@ -9,5 +9,5 @@ jobs:
|
|||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-radarr/blob/nightly/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-radarr/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
@ -10,7 +10,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
|||
LABEL maintainer="Roxedus,thespad"
|
||||
|
||||
# environment settings
|
||||
ARG RADARR_BRANCH="nightly"
|
||||
ARG RADARR_BRANCH="master"
|
||||
ENV XDG_CONFIG_HOME="/config/xdg" \
|
||||
COMPlus_EnableDiagnostics=0 \
|
||||
TMPDIR=/run/radarr-temp
|
||||
|
@ -31,9 +31,9 @@ RUN \
|
|||
/tmp/radarr.tar.gz -L \
|
||||
"https://radarr.servarr.com/v1/update/${RADARR_BRANCH}/updatefile?version=${RADARR_RELEASE}&os=linuxmusl&runtime=netcore&arch=x64" && \
|
||||
tar xzf \
|
||||
/tmp/radarr.tar.gz -C \
|
||||
/tmp/radarr.tar.gz -C \
|
||||
/app/radarr/bin --strip-components=1 && \
|
||||
echo -e "UpdateMethod=docker\nBranch=${RADARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://www.linuxserver.io/)" > /app/radarr/package_info && \
|
||||
echo -e "UpdateMethod=docker\nBranch=${RADARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://linuxserver.io)" > /app/radarr/package_info && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
|
|
|
@ -9,8 +9,7 @@ ARG RADARR_RELEASE
|
|||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="Roxedus,thespad"
|
||||
|
||||
# environment settings
|
||||
ARG RADARR_BRANCH="nightly"
|
||||
ARG RADARR_BRANCH="master"
|
||||
ENV XDG_CONFIG_HOME="/config/xdg" \
|
||||
COMPlus_EnableDiagnostics=0 \
|
||||
TMPDIR=/run/radarr-temp
|
||||
|
@ -28,12 +27,12 @@ RUN \
|
|||
| jq -r '.[0].version'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/radarr.tar.gz -L \
|
||||
/tmp/radarr.tar.gz -L \
|
||||
"https://radarr.servarr.com/v1/update/${RADARR_BRANCH}/updatefile?version=${RADARR_RELEASE}&os=linuxmusl&runtime=netcore&arch=arm64" && \
|
||||
tar xzf \
|
||||
/tmp/radarr.tar.gz -C \
|
||||
/app/radarr/bin --strip-components=1 && \
|
||||
echo -e "UpdateMethod=docker\nBranch=${RADARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://www.linuxserver.io/)" > /app/radarr/package_info && \
|
||||
echo -e "UpdateMethod=docker\nBranch=${RADARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://linuxserver.io)" > /app/radarr/package_info && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
|
|
114
Jenkinsfile
vendored
114
Jenkinsfile
vendored
|
@ -76,7 +76,7 @@ pipeline {
|
|||
script{
|
||||
env.EXIT_STATUS = ''
|
||||
env.LS_RELEASE = sh(
|
||||
script: '''docker run --rm quay.io/skopeo/stable:v1 inspect docker://ghcr.io/${LS_USER}/${CONTAINER_NAME}:nightly 2>/dev/null | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''',
|
||||
script: '''docker run --rm quay.io/skopeo/stable:v1 inspect docker://ghcr.io/${LS_USER}/${CONTAINER_NAME}:latest 2>/dev/null | jq -r '.Labels.build_version' | awk '{print $3}' | grep '\\-ls' || : ''',
|
||||
returnStdout: true).trim()
|
||||
env.LS_RELEASE_NOTES = sh(
|
||||
script: '''cat readme-vars.yml | awk -F \\" '/date: "[0-9][0-9].[0-9][0-9].[0-9][0-9]:/ {print $4;exit;}' | sed -E ':a;N;$!ba;s/\\r{0,1}\\n/\\\\n/g' ''',
|
||||
|
@ -105,7 +105,7 @@ pipeline {
|
|||
script{
|
||||
env.LS_TAG_NUMBER = sh(
|
||||
script: '''#! /bin/bash
|
||||
tagsha=$(git rev-list -n 1 nightly-${LS_RELEASE} 2>/dev/null)
|
||||
tagsha=$(git rev-list -n 1 ${LS_RELEASE} 2>/dev/null)
|
||||
if [ "${tagsha}" == "${COMMIT_SHA}" ]; then
|
||||
echo ${LS_RELEASE_NUMBER}
|
||||
elif [ -z "${GIT_COMMIT}" ]; then
|
||||
|
@ -143,7 +143,7 @@ pipeline {
|
|||
steps{
|
||||
script{
|
||||
env.EXT_RELEASE = sh(
|
||||
script: ''' curl -sL https://radarr.servarr.com/v1/update/nightly/changes?runtime=netcore%26os=linux | jq -r '.[0].version' ''',
|
||||
script: ''' curl -sL https://radarr.servarr.com/v1/update/master/changes?runtime=netcore%26os=linuxmusl | jq -r '.[0].version' ''',
|
||||
returnStdout: true).trim()
|
||||
env.RELEASE_LINK = 'custom_command'
|
||||
}
|
||||
|
@ -183,10 +183,10 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
// If this is a nightly build use live docker endpoints
|
||||
// If this is a master build use live docker endpoints
|
||||
stage("Set ENV live build"){
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
}
|
||||
steps {
|
||||
|
@ -196,13 +196,13 @@ pipeline {
|
|||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/' + env.CONTAINER_NAME
|
||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/' + env.CONTAINER_NAME
|
||||
if (env.MULTIARCH == 'true') {
|
||||
env.CI_TAGS = 'amd64-nightly-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-nightly-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
} else {
|
||||
env.CI_TAGS = 'nightly-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
env.CI_TAGS = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
}
|
||||
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
env.META_TAG = 'nightly-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
env.EXT_RELEASE_TAG = 'nightly-version-' + env.EXT_RELEASE_CLEAN
|
||||
env.META_TAG = env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
env.EXT_RELEASE_TAG = 'version-' + env.EXT_RELEASE_CLEAN
|
||||
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
||||
}
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ pipeline {
|
|||
// If this is a dev build use dev docker endpoints
|
||||
stage("Set ENV dev build"){
|
||||
when {
|
||||
not {branch "nightly"}
|
||||
not {branch "master"}
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
}
|
||||
steps {
|
||||
|
@ -220,13 +220,13 @@ pipeline {
|
|||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
|
||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/lsiodev-' + env.CONTAINER_NAME
|
||||
if (env.MULTIARCH == 'true') {
|
||||
env.CI_TAGS = 'amd64-nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||
} else {
|
||||
env.CI_TAGS = 'nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||
env.CI_TAGS = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||
}
|
||||
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||
env.META_TAG = 'nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||
env.EXT_RELEASE_TAG = 'nightly-version-' + env.EXT_RELEASE_CLEAN
|
||||
env.META_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||
env.EXT_RELEASE_TAG = 'version-' + env.EXT_RELEASE_CLEAN
|
||||
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DEV_DOCKERHUB_IMAGE + '/tags/'
|
||||
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
||||
}
|
||||
|
@ -244,13 +244,13 @@ pipeline {
|
|||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
|
||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/lspipepr-' + env.CONTAINER_NAME
|
||||
if (env.MULTIARCH == 'true') {
|
||||
env.CI_TAGS = 'amd64-nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST + '|arm64v8-nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||
} else {
|
||||
env.CI_TAGS = 'nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||
env.CI_TAGS = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||
}
|
||||
env.VERSION_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||
env.META_TAG = 'nightly-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||
env.EXT_RELEASE_TAG = 'nightly-version-' + env.EXT_RELEASE_CLEAN
|
||||
env.META_TAG = env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '-pr-' + env.PULL_REQUEST
|
||||
env.EXT_RELEASE_TAG = 'version-' + env.EXT_RELEASE_CLEAN
|
||||
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/pull/' + env.PULL_REQUEST
|
||||
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.PR_DOCKERHUB_IMAGE + '/tags/'
|
||||
env.BUILDCACHE = 'docker.io/lsiodev/buildcache,registry.gitlab.com/linuxserver.io/docker-jenkins-builder/lsiodev-buildcache,ghcr.io/linuxserver/lsiodev-buildcache,quay.io/linuxserver.io/lsiodev-buildcache'
|
||||
|
@ -288,7 +288,7 @@ pipeline {
|
|||
// Use helper containers to render templated files
|
||||
stage('Update-Templates') {
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
expression {
|
||||
env.CONTAINER_NAME != null
|
||||
|
@ -300,24 +300,24 @@ pipeline {
|
|||
TEMPDIR=$(mktemp -d)
|
||||
docker pull ghcr.io/linuxserver/jenkins-builder:latest
|
||||
# Cloned repo paths for templating:
|
||||
# ${TEMPDIR}/docker-${CONTAINER_NAME}: Cloned branch nightly of ${LS_USER}/${LS_REPO} for running the jenkins builder on
|
||||
# ${TEMPDIR}/repo/${LS_REPO}: Cloned branch nightly of ${LS_USER}/${LS_REPO} for commiting various templated file changes and pushing back to Github
|
||||
# ${TEMPDIR}/docker-${CONTAINER_NAME}: Cloned branch master of ${LS_USER}/${LS_REPO} for running the jenkins builder on
|
||||
# ${TEMPDIR}/repo/${LS_REPO}: Cloned branch master of ${LS_USER}/${LS_REPO} for commiting various templated file changes and pushing back to Github
|
||||
# ${TEMPDIR}/docs/docker-documentation: Cloned docs repo for pushing docs updates to Github
|
||||
# ${TEMPDIR}/unraid/docker-templates: Cloned docker-templates repo to check for logos
|
||||
# ${TEMPDIR}/unraid/templates: Cloned templates repo for commiting unraid template changes and pushing back to Github
|
||||
git clone --branch nightly --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
|
||||
git clone --branch master --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
|
||||
docker run --rm -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/tmp -e LOCAL=true -e PUID=$(id -u) -e PGID=$(id -g) ghcr.io/linuxserver/jenkins-builder:latest
|
||||
echo "Starting Stage 1 - Jenkinsfile update"
|
||||
if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
|
||||
mkdir -p ${TEMPDIR}/repo
|
||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||
git checkout -f nightly
|
||||
git checkout -f master
|
||||
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile ${TEMPDIR}/repo/${LS_REPO}/
|
||||
git add Jenkinsfile
|
||||
git commit -m 'Bot Updating Templated Files'
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
echo "Updating Jenkinsfile and exiting build, new one will trigger based on commit"
|
||||
rm -Rf ${TEMPDIR}
|
||||
|
@ -336,13 +336,13 @@ pipeline {
|
|||
mkdir -p ${TEMPDIR}/repo
|
||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||
git checkout -f nightly
|
||||
git checkout -f master
|
||||
for i in ${TEMPLATES_TO_DELETE}; do
|
||||
git rm "${i}"
|
||||
done
|
||||
git commit -m 'Bot Updating Templated Files'
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
echo "Deleting old/deprecated templates and exiting build, new one will trigger based on commit"
|
||||
rm -Rf ${TEMPDIR}
|
||||
|
@ -357,20 +357,20 @@ pipeline {
|
|||
sed -i 's|^changelogs:|# init diagram\\ninit_diagram:\\n\\n# changelog\\nchangelogs:|' readme-vars.yml
|
||||
fi
|
||||
mkdir -p ${TEMPDIR}/d2
|
||||
docker run --rm -v ${TEMPDIR}/d2:/output -e PUID=$(id -u) -e PGID=$(id -g) -e RAW="true" ghcr.io/linuxserver/d2-builder:latest ${CONTAINER_NAME}:nightly
|
||||
docker run --rm -v ${TEMPDIR}/d2:/output -e PUID=$(id -u) -e PGID=$(id -g) -e RAW="true" ghcr.io/linuxserver/d2-builder:latest ${CONTAINER_NAME}:latest
|
||||
ls -al ${TEMPDIR}/d2
|
||||
yq -ei ".init_diagram |= load_str(\\"${TEMPDIR}/d2/${CONTAINER_NAME}-nightly.d2\\")" readme-vars.yml
|
||||
yq -ei ".init_diagram |= load_str(\\"${TEMPDIR}/d2/${CONTAINER_NAME}-latest.d2\\")" readme-vars.yml
|
||||
if [[ $(md5sum readme-vars.yml | cut -c1-8) != $(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/readme-vars.yml | cut -c1-8) ]]; then
|
||||
echo "'init_diagram' has been updated. Updating repo and exiting build, new one will trigger based on commit."
|
||||
mkdir -p ${TEMPDIR}/repo
|
||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||
git checkout -f nightly
|
||||
git checkout -f master
|
||||
cp ${WORKSPACE}/readme-vars.yml ${TEMPDIR}/repo/${LS_REPO}/readme-vars.yml
|
||||
git add readme-vars.yml
|
||||
git commit -m 'Bot Updating Templated Files'
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
echo "Updating templates and exiting build, new one will trigger based on commit"
|
||||
rm -Rf ${TEMPDIR}
|
||||
|
@ -387,7 +387,7 @@ pipeline {
|
|||
mkdir -p ${TEMPDIR}/repo
|
||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
|
||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||
git checkout -f nightly
|
||||
git checkout -f master
|
||||
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
|
||||
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
|
||||
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
|
||||
|
@ -400,8 +400,8 @@ pipeline {
|
|||
fi
|
||||
git add readme-vars.yml ${TEMPLATED_FILES}
|
||||
git commit -m 'Bot Updating Templated Files'
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
echo "Updating templates and exiting build, new one will trigger based on commit"
|
||||
rm -Rf ${TEMPDIR}
|
||||
|
@ -502,7 +502,7 @@ pipeline {
|
|||
// Exit the build if the Templated files were just updated
|
||||
stage('Template-exit') {
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
environment name: 'FILES_UPDATED', value: 'true'
|
||||
expression {
|
||||
|
@ -515,10 +515,10 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
// If this is a nightly build check the S6 service file perms
|
||||
// If this is a master build check the S6 service file perms
|
||||
stage("Check S6 Service file Permissions"){
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
environment name: 'EXIT_STATUS', value: ''
|
||||
}
|
||||
|
@ -763,7 +763,7 @@ pipeline {
|
|||
// Take the image we just built and dump package versions for comparison
|
||||
stage('Update-packages') {
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
environment name: 'EXIT_STATUS', value: ''
|
||||
}
|
||||
|
@ -786,14 +786,14 @@ pipeline {
|
|||
echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github"
|
||||
if [ "${NEW_PACKAGE_TAG}" != "${PACKAGE_TAG}" ]; then
|
||||
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
|
||||
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f nightly
|
||||
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
|
||||
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
|
||||
cd ${TEMPDIR}/${LS_REPO}/
|
||||
wait
|
||||
git add package_versions.txt
|
||||
git commit -m 'Bot Updating Package Versions'
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git nightly
|
||||
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
|
||||
echo "true" > /tmp/packages-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
echo "Package tag updated, stopping build process"
|
||||
else
|
||||
|
@ -811,7 +811,7 @@ pipeline {
|
|||
// Exit the build if the package file was just updated
|
||||
stage('PACKAGE-exit') {
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
environment name: 'PACKAGE_UPDATED', value: 'true'
|
||||
environment name: 'EXIT_STATUS', value: ''
|
||||
|
@ -825,7 +825,7 @@ pipeline {
|
|||
// Exit the build if this is just a package check and there are no changes to push
|
||||
stage('PACKAGECHECK-exit') {
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
environment name: 'PACKAGE_UPDATED', value: 'false'
|
||||
environment name: 'EXIT_STATUS', value: ''
|
||||
|
@ -879,7 +879,7 @@ pipeline {
|
|||
-e DOCKER_LOGS_TIMEOUT=\"${CI_DELAY}\" \
|
||||
-e TAGS=\"${CI_TAGS}\" \
|
||||
-e META_TAG=\"${META_TAG}\" \
|
||||
-e RELEASE_TAG=\"nightly\" \
|
||||
-e RELEASE_TAG=\"latest\" \
|
||||
-e PORT=\"${CI_PORT}\" \
|
||||
-e SSL=\"${CI_SSL}\" \
|
||||
-e BASE=\"${DIST_IMAGE}\" \
|
||||
|
@ -916,7 +916,7 @@ pipeline {
|
|||
CACHEIMAGE=${i}
|
||||
fi
|
||||
done
|
||||
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:nightly -t ${PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${META_TAG} -t ${PUSHIMAGE}:latest -t ${PUSHIMAGE}:${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
if [ -n "${SEMVER}" ]; then
|
||||
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
fi
|
||||
|
@ -943,15 +943,15 @@ pipeline {
|
|||
CACHEIMAGE=${i}
|
||||
fi
|
||||
done
|
||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${META_TAG} -t ${MANIFESTIMAGE}:amd64-nightly -t ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${META_TAG} -t ${MANIFESTIMAGE}:arm64v8-nightly -t ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${META_TAG} -t ${MANIFESTIMAGE}:amd64-latest -t ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${META_TAG} -t ${MANIFESTIMAGE}:arm64v8-latest -t ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
if [ -n "${SEMVER}" ]; then
|
||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:amd64-${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
docker buildx imagetools create --prefer-index=false -t ${MANIFESTIMAGE}:arm64v8-${SEMVER} ${CACHEIMAGE}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||
fi
|
||||
done
|
||||
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
||||
docker buildx imagetools create -t ${MANIFESTIMAGE}:nightly ${MANIFESTIMAGE}:amd64-nightly ${MANIFESTIMAGE}:arm64v8-nightly
|
||||
docker buildx imagetools create -t ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm64v8-latest
|
||||
docker buildx imagetools create -t ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||
|
||||
docker buildx imagetools create -t ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||
|
@ -966,7 +966,7 @@ pipeline {
|
|||
// If this is a public release tag it in the LS Github
|
||||
stage('Github-Tag-Push-Release') {
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
expression {
|
||||
env.LS_RELEASE != env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||
}
|
||||
|
@ -978,17 +978,17 @@ pipeline {
|
|||
sh '''curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/git/tags \
|
||||
-d '{"tag":"'${META_TAG}'",\
|
||||
"object": "'${COMMIT_SHA}'",\
|
||||
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to nightly",\
|
||||
"message": "Tagging Release '${EXT_RELEASE_CLEAN}'-ls'${LS_TAG_NUMBER}' to master",\
|
||||
"type": "commit",\
|
||||
"tagger": {"name": "LinuxServer-CI","email": "ci@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
|
||||
echo "Pushing New release for Tag"
|
||||
sh '''#! /bin/bash
|
||||
echo "Updating to ${EXT_RELEASE_CLEAN}" > releasebody.json
|
||||
echo '{"tag_name":"'${META_TAG}'",\
|
||||
"target_commitish": "nightly",\
|
||||
"target_commitish": "master",\
|
||||
"name": "'${META_TAG}'",\
|
||||
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Remote Changes:**\\n\\n' > start
|
||||
printf '","draft": false,"prerelease": true}' >> releasebody.json
|
||||
printf '","draft": false,"prerelease": false}' >> releasebody.json
|
||||
paste -d'\\0' start releasebody.json > releasebody.json.done
|
||||
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
|
||||
}
|
||||
|
@ -996,14 +996,14 @@ pipeline {
|
|||
// Add protection to the release branch
|
||||
stage('Github-Release-Branch-Protection') {
|
||||
when {
|
||||
branch "nightly"
|
||||
branch "master"
|
||||
environment name: 'CHANGE_ID', value: ''
|
||||
environment name: 'EXIT_STATUS', value: ''
|
||||
}
|
||||
steps {
|
||||
echo "Setting up protection for release branch nightly"
|
||||
echo "Setting up protection for release branch master"
|
||||
sh '''#! /bin/bash
|
||||
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/nightly/protection \
|
||||
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/master/protection \
|
||||
-d $(jq -c . << EOF
|
||||
{
|
||||
"required_status_checks": null,
|
||||
|
|
42
README.md
42
README.md
|
@ -1,5 +1,5 @@
|
|||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read https://github.com/linuxserver/docker-radarr/blob/nightly/.github/CONTRIBUTING.md -->
|
||||
<!-- Please read https://github.com/linuxserver/docker-radarr/blob/master/.github/CONTRIBUTING.md -->
|
||||
[](https://linuxserver.io)
|
||||
|
||||
[](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
|
||||
|
@ -36,18 +36,18 @@ Find us at:
|
|||
[](https://quay.io/repository/linuxserver.io/radarr)
|
||||
[](https://hub.docker.com/r/linuxserver/radarr)
|
||||
[](https://hub.docker.com/r/linuxserver/radarr)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-radarr/job/nightly/)
|
||||
[](https://ci-tests.linuxserver.io/linuxserver/radarr/nightly/index.html)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-radarr/job/master/)
|
||||
[](https://ci-tests.linuxserver.io/linuxserver/radarr/latest/index.html)
|
||||
|
||||
[Radarr](https://github.com/Radarr/Radarr) - A fork of Sonarr to work with movies à la Couchpotato.
|
||||
|
||||
[](https://github.com/Radarr/Radarr)
|
||||
[](https://github.com/Radarr/Radarr)
|
||||
|
||||
## Supported Architectures
|
||||
|
||||
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
|
||||
Simply pulling `lscr.io/linuxserver/radarr:nightly` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `lscr.io/linuxserver/radarr:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
|
||||
The architectures supported by this image are:
|
||||
|
||||
|
@ -100,7 +100,7 @@ To help you get started creating a container from this image you can either use
|
|||
---
|
||||
services:
|
||||
radarr:
|
||||
image: lscr.io/linuxserver/radarr:nightly
|
||||
image: lscr.io/linuxserver/radarr:latest
|
||||
container_name: radarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
|
@ -128,7 +128,7 @@ docker run -d \
|
|||
-v /path/to/movies:/movies `#optional` \
|
||||
-v /path/to/download-client-downloads:/downloads `#optional` \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/radarr:nightly
|
||||
lscr.io/linuxserver/radarr:latest
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
@ -137,7 +137,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
|||
|
||||
| Parameter | Function |
|
||||
| :----: | --- |
|
||||
| `-p 7878:7878` | The port for the Radarr web UI |
|
||||
| `-p 7878:7878` | The port for the Radarr Web UI |
|
||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
|
@ -211,7 +211,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
|||
* Image version number:
|
||||
|
||||
```bash
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/radarr:nightly
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/radarr:latest
|
||||
```
|
||||
|
||||
## Updating Info
|
||||
|
@ -259,7 +259,7 @@ Below are the instructions for updating containers:
|
|||
* Update the image:
|
||||
|
||||
```bash
|
||||
docker pull lscr.io/linuxserver/radarr:nightly
|
||||
docker pull lscr.io/linuxserver/radarr:latest
|
||||
```
|
||||
|
||||
* Stop the running container:
|
||||
|
@ -296,7 +296,7 @@ cd docker-radarr
|
|||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t lscr.io/linuxserver/radarr:nightly .
|
||||
-t lscr.io/linuxserver/radarr:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
|
||||
|
@ -309,18 +309,20 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||
|
||||
## Versions
|
||||
|
||||
* **12.12.24:** - Rebase to Alpine 3.21.
|
||||
* **25.05.24:** - Rebase to Alpine 3.20.
|
||||
* **23.12.24:** - Rebase Alpine 3.21.
|
||||
* **31.05.24:** - Rebase Alpine 3.20.
|
||||
* **20.03.24:** - Rebase to Alpine 3.19.
|
||||
* **06.06.23:** - Rebase nightly to Alpine 3.18.
|
||||
* **19.12.22:** - Rebase nightly to Alpine 3.17.
|
||||
* **27.10.22:** - Rebase nightly to Alpine 3.16, migrate to s6v3.
|
||||
* **04.02.22:** - Rebase nightly branch to Alpine.
|
||||
* **13.12.21:** - Remove unused dependencies.
|
||||
* **06.06.23:** - Rebase master to Alpine 3.18, deprecate armhf as per [https://www.linuxserver.io/armhf](https://www.linuxserver.io/armhf).
|
||||
* **17.01.23:** - Rebase master branch to Alpine 3.17, migrate to s6v3.
|
||||
* **06.06.22:** - Rebase master branch to Alpine 3.15.
|
||||
* **20.02.22:** - Rebase develop branch to Alpine.
|
||||
* **04.02.22:** - Rebase nightly branch to Alpine and deprecate nightly-alpine branch.
|
||||
* **27.12.21:** - Add nightly-alpine branch.
|
||||
* **17.10.21:** - Remove `UMASK_SET`.
|
||||
* **11.07.21:** - Make the paths clearer to the user
|
||||
* **08.05.21:** - Make the paths clearer to the user
|
||||
* **17.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
|
||||
* **09.27.20:** - Merge Preview into Nightly.
|
||||
* **11.30.20:** - Publish `develop` tag.
|
||||
* **11.28.20:** - Switch to v3 .NET CORE builds (no more mono, `5.14` tag is deprecated). Rebase to Focal (for issues on arm32v7, [see here](https://docs.linuxserver.io/faq#my-host-is-incompatible-with-images-based-on-ubuntu-focal)).
|
||||
* **05.04.20:** - Move app to /app.
|
||||
* **01.08.19:** - Rebase to Linuxserver LTS mono version.
|
||||
* **13.06.19:** - Add env variable for setting umask.
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
---
|
||||
|
||||
# jenkins variables
|
||||
project_name: docker-radarr
|
||||
external_type: na
|
||||
custom_version_command: curl -sL https://radarr.servarr.com/v1/update/nightly/changes?runtime=netcore%26os=linux | jq -r '.[0].version'
|
||||
release_type: prerelease
|
||||
release_tag: nightly
|
||||
ls_branch: nightly
|
||||
image_sbom: true
|
||||
image_provenance: true
|
||||
custom_version_command: curl -sL https://radarr.servarr.com/v1/update/master/changes?runtime=netcore%26os=linuxmusl | jq -r '.[0].version'
|
||||
release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: master
|
||||
repo_vars:
|
||||
- BUILD_VERSION_ARG = 'RADARR_RELEASE'
|
||||
- LS_USER = 'linuxserver'
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
# project information
|
||||
project_name: radarr
|
||||
project_url: "https://github.com/Radarr/Radarr"
|
||||
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/radarr_alpha.png"
|
||||
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/radarr.png"
|
||||
project_blurb: |
|
||||
[{{ project_name|capitalize }}]({{ project_url }}) - A fork of Sonarr to work with movies à la Couchpotato.
|
||||
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
|
||||
project_categories: "Media Management"
|
||||
# supported architectures
|
||||
available_architectures:
|
||||
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
|
||||
|
@ -28,7 +29,7 @@ opt_param_volumes:
|
|||
- {vol_path: "/downloads", vol_host_path: "/path/to/download-client-downloads", desc: "Location of download managers output directory (See note in Application setup)"}
|
||||
param_usage_include_ports: true
|
||||
param_ports:
|
||||
- {external_port: "7878", internal_port: "7878", port_desc: "The port for the Radarr web UI"}
|
||||
- {external_port: "7878", internal_port: "7878", port_desc: "The port for the Radarr Web UI"}
|
||||
readonly_supported: true
|
||||
nonroot_supported: true
|
||||
# application setup block
|
||||
|
@ -45,7 +46,7 @@ app_setup_block: |
|
|||
The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths) on how to get started with this.
|
||||
# init diagram
|
||||
init_diagram: |
|
||||
"radarr:nightly": {
|
||||
"radarr:latest": {
|
||||
docker-mods
|
||||
base {
|
||||
fix-attr +\nlegacy cont-init
|
||||
|
@ -81,21 +82,23 @@ init_diagram: |
|
|||
Base Images: {
|
||||
"baseimage-alpine:3.21"
|
||||
}
|
||||
"radarr:nightly" <- Base Images
|
||||
"radarr:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "12.12.24:", desc: "Rebase to Alpine 3.21."}
|
||||
- {date: "25.05.24:", desc: "Rebase to Alpine 3.20."}
|
||||
- {date: "23.12.24:", desc: "Rebase Alpine 3.21."}
|
||||
- {date: "31.05.24:", desc: "Rebase Alpine 3.20."}
|
||||
- {date: "20.03.24:", desc: "Rebase to Alpine 3.19."}
|
||||
- {date: "06.06.23:", desc: "Rebase nightly to Alpine 3.18."}
|
||||
- {date: "19.12.22:", desc: "Rebase nightly to Alpine 3.17."}
|
||||
- {date: "27.10.22:", desc: "Rebase nightly to Alpine 3.16, migrate to s6v3."}
|
||||
- {date: "04.02.22:", desc: "Rebase nightly branch to Alpine."}
|
||||
- {date: "13.12.21:", desc: "Remove unused dependencies."}
|
||||
- {date: "06.06.23:", desc: "Rebase master to Alpine 3.18, deprecate armhf as per [https://www.linuxserver.io/armhf](https://www.linuxserver.io/armhf)."}
|
||||
- {date: "17.01.23:", desc: "Rebase master branch to Alpine 3.17, migrate to s6v3."}
|
||||
- {date: "06.06.22:", desc: "Rebase master branch to Alpine 3.15."}
|
||||
- {date: "20.02.22:", desc: "Rebase develop branch to Alpine."}
|
||||
- {date: "04.02.22:", desc: "Rebase nightly branch to Alpine and deprecate nightly-alpine branch."}
|
||||
- {date: "27.12.21:", desc: "Add nightly-alpine branch."}
|
||||
- {date: "17.10.21:", desc: "Remove `UMASK_SET`."}
|
||||
- {date: "11.07.21:", desc: "Make the paths clearer to the user"}
|
||||
- {date: "08.05.21:", desc: "Make the paths clearer to the user"}
|
||||
- {date: "17.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information."}
|
||||
- {date: "09.27.20:", desc: "Merge Preview into Nightly."}
|
||||
- {date: "11.30.20:", desc: "Publish `develop` tag."}
|
||||
- {date: "11.28.20:", desc: "Switch to v3 .NET CORE builds (no more mono, `5.14` tag is deprecated). Rebase to Focal (for issues on arm32v7, [see here](https://docs.linuxserver.io/faq#my-host-is-incompatible-with-images-based-on-ubuntu-focal))."}
|
||||
- {date: "05.04.20:", desc: "Move app to /app."}
|
||||
- {date: "01.08.19:", desc: "Rebase to Linuxserver LTS mono version."}
|
||||
- {date: "13.06.19:", desc: "Add env variable for setting umask."}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f /config/config.xml ]; then
|
||||
if [[ -f /config/config.xml ]]; then
|
||||
PORT=$(xmlstarlet sel -T -t -v /Config/Port /config/config.xml)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue