Compare commits

...

12 Commits

Author SHA1 Message Date
LinuxServer-CI
bb3a96f9ab Bot Updating Package Versions 2022-05-01 03:00:29 -05:00
LinuxServer-CI
da0a48dab1 Bot Updating Templated Files 2022-05-01 02:58:03 -05:00
LinuxServer-CI
32771ff107 Bot Updating Templated Files 2022-05-01 02:56:44 -05:00
LinuxServer-CI
3ea3d3df4c Bot Updating Package Versions 2022-04-17 02:58:15 -05:00
LinuxServer-CI
9be71b990b Bot Updating Package Versions 2022-04-10 02:57:11 -05:00
LinuxServer-CI
611156ebf0 Bot Updating Package Versions 2022-04-03 02:57:13 -05:00
LinuxServer-CI
cc09853655 Bot Updating Package Versions 2022-03-27 02:57:36 -05:00
LinuxServer-CI
fd225a8f9d Bot Updating Package Versions 2022-03-17 05:47:11 -05:00
aptalca
3802c4c492 Merge pull request #97 from linuxserver/development-fix
fix path
2022-03-13 23:31:09 -04:00
aptalca
868d392d15 fix path 2022-03-13 23:18:25 -04:00
aptalca
eff0168da5 Merge pull request #93 from linuxserver/development-search
make searchproviders.yaml user configurable
2022-03-13 22:20:49 -04:00
aptalca
71734199aa make searchproviders.yaml user configurable 2022-03-13 16:36:25 -04:00
5 changed files with 43 additions and 33 deletions

8
Jenkinsfile vendored
View File

@@ -353,9 +353,11 @@ pipeline {
if [[ ("${BRANCH_NAME}" == "master") || ("${BRANCH_NAME}" == "main") ]] && [[ (! -f ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml) || ("$(md5sum ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml | awk '{ print $1 }')") ]]; then if [[ ("${BRANCH_NAME}" == "master") || ("${BRANCH_NAME}" == "main") ]] && [[ (! -f ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml) || ("$(md5sum ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml | awk '{ print $1 }')") ]]; then
cd ${TEMPDIR}/unraid/templates/ cd ${TEMPDIR}/unraid/templates/
if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
echo "Image is on the ignore list, removing Unraid template" echo "Image is on the ignore list, marking Unraid template as deprecated"
git rm unraid/${CONTAINER_NAME}.xml || : cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/
git commit -m 'Bot Removing Deprecated Unraid Template' || : git add unraid/${CONTAINER_NAME}.xml
git mv unraid/${CONTAINER_NAME}.xml unraid/deprecated/${CONTAINER_NAME}.xml || :
git commit -m 'Bot Moving Deprecated Unraid Template' || :
else else
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/ cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/
git add unraid/${CONTAINER_NAME}.xml git add unraid/${CONTAINER_NAME}.xml

View File

@@ -48,17 +48,17 @@ Why not use it as your browser start page? It even has the ability to include a
## Supported Architectures ## Supported Architectures
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/). We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
Simply pulling `lscr.io/linuxserver/heimdall` should retrieve the correct image for your arch, but you can also pull specific arch images via tags. Simply pulling `lscr.io/linuxserver/heimdall:development` 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: The architectures supported by this image are:
| Architecture | Tag | | Architecture | Available | Tag |
| :----: | --- | | :----: | :----: | ---- |
| x86-64 | amd64-latest | | x86-64 | ✅ | amd64-\<version tag\> |
| arm64 | arm64v8-latest | | arm64 | ✅ | arm64v8-\<version tag\> |
| armhf | arm32v7-latest | | armhf| ✅ | arm32v7-\<version tag\> |
## Application Setup ## Application Setup
@@ -80,7 +80,7 @@ Here are some example snippets to help you get started creating a container.
version: "2.1" version: "2.1"
services: services:
heimdall: heimdall:
image: lscr.io/linuxserver/heimdall image: lscr.io/linuxserver/heimdall:development
container_name: heimdall container_name: heimdall
environment: environment:
- PUID=1000 - PUID=1000
@@ -106,7 +106,7 @@ docker run -d \
-p 443:443 \ -p 443:443 \
-v </path/to/appdata/config>:/config \ -v </path/to/appdata/config>:/config \
--restart unless-stopped \ --restart unless-stopped \
lscr.io/linuxserver/heimdall lscr.io/linuxserver/heimdall:development
``` ```
Using tags, you can switch between the stable releases of Heimdall and the master branch. No tag is required for the latest stable release. Using tags, you can switch between the stable releases of Heimdall and the master branch. No tag is required for the latest stable release.
@@ -170,7 +170,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
* container version number * container version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' heimdall` * `docker inspect -f '{{ index .Config.Labels "build_version" }}' heimdall`
* image version number * image version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/heimdall` * `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/heimdall:development`
## Updating Info ## Updating Info
@@ -188,7 +188,7 @@ Below are the instructions for updating containers:
### Via Docker Run ### Via Docker Run
* Update the image: `docker pull lscr.io/linuxserver/heimdall` * Update the image: `docker pull lscr.io/linuxserver/heimdall:development`
* Stop the running container: `docker stop heimdall` * Stop the running container: `docker stop heimdall`
* Delete the container: `docker rm heimdall` * Delete the container: `docker rm heimdall`
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved) * Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
@@ -223,7 +223,7 @@ cd docker-heimdall
docker build \ docker build \
--no-cache \ --no-cache \
--pull \ --pull \
-t lscr.io/linuxserver/heimdall:latest . -t lscr.io/linuxserver/heimdall:development .
``` ```
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static` The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
@@ -236,6 +236,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **13.03.21:** - Make searchproviders.yaml user configurable.
* **11.03.21:** - Rebase to alpine 3.14. * **11.03.21:** - Rebase to alpine 3.14.
* **10.02.21:** - Revert to alpine 3.12 as php 7.4 broke laravel. * **10.02.21:** - Revert to alpine 3.12 as php 7.4 broke laravel.
* **10.02.21:** - Rebasing to alpine 3.13. * **10.02.21:** - Rebasing to alpine 3.13.

View File

@@ -1,34 +1,34 @@
alpine-baselayout-3.2.0-r16 alpine-baselayout-3.2.0-r16
alpine-keys-2.4-r0 alpine-keys-2.4-r0
apache2-utils-2.4.52-r0 apache2-utils-2.4.53-r0
apk-tools-2.12.7-r0 apk-tools-2.12.7-r0
apr-1.7.0-r0 apr-1.7.0-r0
apr-util-1.6.1-r7 apr-util-1.6.1-r7
argon2-libs-20190702-r1 argon2-libs-20190702-r1
bash-5.1.4-r0 bash-5.1.16-r0
brotli-libs-1.0.9-r5 brotli-libs-1.0.9-r5
busybox-1.33.1-r6 busybox-1.33.1-r7
ca-certificates-20211220-r0 ca-certificates-20211220-r0
ca-certificates-bundle-20211220-r0 ca-certificates-bundle-20211220-r0
coreutils-8.32-r2 coreutils-8.32-r2
curl-7.79.1-r0 curl-7.79.1-r1
expat-2.4.7-r0 expat-2.4.7-r0
git-2.32.0-r0 git-2.32.1-r0
libacl-2.2.53-r0 libacl-2.2.53-r0
libattr-2.5.1-r0 libattr-2.5.1-r0
libc-utils-0.7.2-r3 libc-utils-0.7.2-r3
libcrypto1.1-1.1.1l-r0 libcrypto1.1-1.1.1n-r0
libcurl-7.79.1-r0 libcurl-7.79.1-r1
libedit-20210216.3.1-r0 libedit-20210216.3.1-r0
libintl-0.21-r0 libintl-0.21-r0
libmagic-5.40-r1 libmagic-5.40-r1
libproc-3.3.17-r0 libproc-3.3.17-r0
libressl3.3-libcrypto-3.3.3-r0 libressl3.3-libcrypto-3.3.6-r0
libressl3.3-libssl-3.3.3-r0 libressl3.3-libssl-3.3.6-r0
libretls-3.3.3p1-r2 libretls-3.3.3p1-r3
libssl1.1-1.1.1l-r0 libssl1.1-1.1.1n-r0
libuuid-2.37.4-r0 libuuid-2.37.4-r0
libxml2-2.9.12-r1 libxml2-2.9.13-r0
libzip-1.7.3-r2 libzip-1.7.3-r2
linux-pam-1.5.1-r1 linux-pam-1.5.1-r1
logrotate-3.18.1-r1 logrotate-3.18.1-r1
@@ -40,7 +40,7 @@ ncurses-terminfo-base-6.2_p20210612-r0
nghttp2-libs-1.43.0-r0 nghttp2-libs-1.43.0-r0
nginx-1.20.2-r0 nginx-1.20.2-r0
oniguruma-6.9.7.1-r0 oniguruma-6.9.7.1-r0
openssl-1.1.1l-r0 openssl-1.1.1n-r0
pcre-8.44-r0 pcre-8.44-r0
pcre2-10.36-r0 pcre2-10.36-r0
php7-7.4.26-r0 php7-7.4.26-r0
@@ -67,9 +67,9 @@ scanelf-1.3.2-r0
shadow-4.8.1-r0 shadow-4.8.1-r0
skalibs-2.10.0.3-r0 skalibs-2.10.0.3-r0
sqlite-libs-3.35.5-r0 sqlite-libs-3.35.5-r0
ssl_client-1.33.1-r6 ssl_client-1.33.1-r7
tzdata-2021e-r0 tzdata-2022a-r0
utmps-0.1.0.2-r0 utmps-0.1.0.2-r0
xz-5.2.5-r0 xz-5.2.5-r1
xz-libs-5.2.5-r0 xz-libs-5.2.5-r1
zlib-1.2.11-r3 zlib-1.2.12-r0

View File

@@ -52,6 +52,7 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "13.03.21:", desc: "Make searchproviders.yaml user configurable." }
- { date: "11.03.21:", desc: "Rebase to alpine 3.14." } - { date: "11.03.21:", desc: "Rebase to alpine 3.14." }
- { date: "10.02.21:", desc: "Revert to alpine 3.12 as php 7.4 broke laravel." } - { date: "10.02.21:", desc: "Revert to alpine 3.12 as php 7.4 broke laravel." }
- { date: "10.02.21:", desc: "Rebasing to alpine 3.13." } - { date: "10.02.21:", desc: "Rebasing to alpine 3.13." }

View File

@@ -15,6 +15,7 @@ mkdir -p \
echo -e '\n# Heimdall user authorization\nfastcgi_param PHP_AUTH_USER $remote_user;\nfastcgi_param PHP_AUTH_PW $http_authorization;' >> \ echo -e '\n# Heimdall user authorization\nfastcgi_param PHP_AUTH_USER $remote_user;\nfastcgi_param PHP_AUTH_PW $http_authorization;' >> \
/etc/nginx/fastcgi_params && \ /etc/nginx/fastcgi_params && \
rm -rf /heimdall && \ rm -rf /heimdall && \
cp /var/www/localhost/heimdall/storage/app/searchproviders.yaml /var/www/localhost/heimdall/storage/app/searchproviders.yaml.orig && \
chown -R abc:abc /var/www/localhost/heimdall chown -R abc:abc /var/www/localhost/heimdall
# create symlinks # create symlinks
@@ -43,6 +44,11 @@ done
cp /var/www/localhost/heimdall/.env.example /config/www/.env && \ cp /var/www/localhost/heimdall/.env.example /config/www/.env && \
echo "generating app key" echo "generating app key"
php /var/www/localhost/heimdall/artisan key:generate php /var/www/localhost/heimdall/artisan key:generate
# copy searchproviders if not exists and symlink
[[ ! -f /config/www/searchproviders.yaml ]] && \
cp /var/www/localhost/heimdall/storage/app/searchproviders.yaml.orig /config/www/searchproviders.yaml
rm -rf /var/www/localhost/heimdall/storage/app/searchproviders.yaml
ln -s /config/www/searchproviders.yaml /var/www/localhost/heimdall/storage/app/searchproviders.yaml
# set queue driver to database # set queue driver to database
sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env