Compare commits

...

39 Commits

Author SHA1 Message Date
LinuxServer-CI
377ef23204 Bot Updating Package Versions 2022-11-14 15:14:43 -06:00
KodeStar
ff765f3540 Update Dockerfile 2022-11-14 21:12:14 +00:00
LinuxServer-CI
be30ceb6eb Bot Updating Package Versions 2022-11-13 15:09:56 -06:00
KodeStar
7a91906018 Add pgsql and mysql to development as well 2022-11-13 21:07:23 +00:00
LinuxServer-CI
05fecdd442 Bot Updating Package Versions 2022-11-11 14:48:54 -06:00
LinuxServer-CI
663006ff26 Bot Updating Templated Files 2022-11-11 21:46:12 +01:00
aptalca
ecfac4d02f Merge pull request #106 from linuxserver/development-2.x
switch upstream branch to 2.x
2022-11-06 14:18:35 -05:00
LinuxServer-CI
7ca570a06a Bot Updating Package Versions 2022-11-06 08:57:12 +01:00
aptalca
18f141322d switch upstream branch to 2.x 2022-11-04 15:47:57 -04:00
LinuxServer-CI
3a3fe9dbb3 Bot Updating Package Versions 2022-10-30 02:57:19 -05:00
LinuxServer-CI
593c820bbe Bot Updating Package Versions 2022-10-23 09:58:13 +02:00
LinuxServer-CI
9d7e51f856 Bot Updating Package Versions 2022-09-25 02:57:37 -05:00
LinuxServer-CI
3cc8951594 Bot Updating Package Versions 2022-09-18 02:59:24 -05:00
LinuxServer-CI
8e94ba0a0d Bot Updating Templated Files 2022-09-18 02:57:13 -05:00
LinuxServer-CI
70d9ec45ac Bot Updating Package Versions 2022-09-11 09:56:55 +02:00
LinuxServer-CI
fec29f4fdd Bot Updating Package Versions 2022-08-28 02:57:03 -05:00
LinuxServer-CI
83ac77ba48 Bot Updating Package Versions 2022-08-21 02:57:20 -05:00
LinuxServer-CI
9a899d4f06 Bot Updating Package Versions 2022-08-14 02:57:22 -05:00
LinuxServer-CI
3a955f71ff Bot Updating Package Versions 2022-08-07 02:56:56 -05:00
LinuxServer-CI
b4b790f721 Bot Updating Package Versions 2022-07-31 02:57:18 -05:00
LinuxServer-CI
304b9c949b Bot Updating Package Versions 2022-07-24 09:57:05 +02:00
LinuxServer-CI
95aa03c53d Bot Updating Package Versions 2022-07-17 02:57:10 -05:00
LinuxServer-CI
22f248749b Bot Updating Package Versions 2022-07-10 09:56:50 +02:00
LinuxServer-CI
16ef6ef3cd Bot Updating Package Versions 2022-07-03 02:57:10 -05:00
LinuxServer-CI
6367458423 Bot Updating Package Versions 2022-06-26 02:57:39 -05:00
LinuxServer-CI
e0e7993919 Bot Updating Package Versions 2022-06-19 02:56:56 -05:00
LinuxServer-CI
a205cf8bb4 Bot Updating Package Versions 2022-06-12 09:57:07 +02:00
LinuxServer-CI
45e4f01314 Bot Updating Package Versions 2022-06-05 09:57:12 +02:00
LinuxServer-CI
340959ad0f Bot Updating Package Versions 2022-05-29 02:57:48 -05:00
LinuxServer-CI
0fe2f02d36 Bot Updating Package Versions 2022-05-22 02:57:12 -05:00
LinuxServer-CI
7dfb27ec2c Bot Updating Package Versions 2022-05-15 09:57:07 +02:00
LinuxServer-CI
20f4ad570c Bot Updating Package Versions 2022-05-08 09:58:42 +02:00
LinuxServer-CI
c0593971bd Bot Updating Templated Files 2022-05-08 09:56:34 +02:00
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
9 changed files with 105 additions and 73 deletions

View File

@@ -18,7 +18,7 @@ jobs:
fi
echo "**** External trigger running off of development branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_HEIMDALL_DEVELOPMENT\". ****"
echo "**** Retrieving external version ****"
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/master" | jq -r '. | .sha' | cut -c1-8)
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/2.x" | jq -r '. | .sha' | cut -c1-8)
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "**** Can't retrieve external version, exiting ****"
FAILURE_REASON="Can't retrieve external version for heimdall branch development"
@@ -48,8 +48,12 @@ jobs:
| jq -r '.config.digest')
image_info=$(curl -sL \
--header "Authorization: Bearer ${token}" \
"https://ghcr.io/v2/${image}/blobs/${digest}" \
| jq -r '.container_config')
"https://ghcr.io/v2/${image}/blobs/${digest}")
if [[ $(echo $image_info | jq -r '.container_config') == "null" ]]; then
image_info=$(echo $image_info | jq -r '.config')
else
image_info=$(echo $image_info | jq -r '.container_config')
fi
IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
if [ -z "${IMAGE_VERSION}" ]; then

View File

@@ -15,14 +15,17 @@ RUN \
apk add --no-cache \
curl \
php7-ctype \
php7-intl \
php7-pdo_pgsql \
php7-pdo_sqlite \
php7-pdo_mysql \
php7-tokenizer \
php7-zip && \
echo "**** install heimdall ****" && \
mkdir -p \
/heimdall && \
if [ -z ${HEIMDALL_RELEASE+x} ]; then \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/master" \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/2.x" \
| awk '/sha/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \

View File

@@ -22,7 +22,7 @@ RUN \
mkdir -p \
/heimdall && \
if [ -z ${HEIMDALL_RELEASE+x} ]; then \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/master" \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/2.x" \
| awk '/sha/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \

View File

@@ -22,7 +22,7 @@ RUN \
mkdir -p \
/heimdall && \
if [ -z ${HEIMDALL_RELEASE+x} ]; then \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/master" \
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/commits/2.x" \
| awk '/sha/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \

12
Jenkinsfile vendored
View File

@@ -17,7 +17,7 @@ pipeline {
GITLAB_TOKEN=credentials('b6f0f1dd-6952-4cf6-95d1-9c06380283f0')
GITLAB_NAMESPACE=credentials('gitlab-namespace-id')
SCARF_TOKEN=credentials('scarf_api_key')
EXT_GIT_BRANCH = 'master'
EXT_GIT_BRANCH = '2.x'
EXT_USER = 'linuxserver'
EXT_REPO = 'Heimdall'
CONTAINER_NAME = 'heimdall'
@@ -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
cd ${TEMPDIR}/unraid/templates/
if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
echo "Image is on the ignore list, removing Unraid template"
git rm unraid/${CONTAINER_NAME}.xml || :
git commit -m 'Bot Removing Deprecated Unraid Template' || :
echo "Image is on the ignore list, marking Unraid template as deprecated"
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/
git add -u unraid/${CONTAINER_NAME}.xml
git mv unraid/${CONTAINER_NAME}.xml unraid/deprecated/${CONTAINER_NAME}.xml || :
git commit -m 'Bot Moving Deprecated Unraid Template' || :
else
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/
git add unraid/${CONTAINER_NAME}.xml
@@ -718,7 +720,7 @@ pipeline {
-e DO_REGION="ams3" \
-e DO_BUCKET="lsio-ci" \
-t ghcr.io/linuxserver/ci:latest \
python /ci/ci.py'''
python3 test_build.py'''
}
}
}

View File

@@ -48,17 +48,26 @@ Why not use it as your browser start page? It even has the ability to include a
## 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:
| Architecture | Tag |
| :----: | --- |
| x86-64 | amd64-latest |
| arm64 | arm64v8-latest |
| armhf | arm32v7-latest |
| Architecture | Available | Tag |
| :----: | :----: | ---- |
| x86-64 | ✅ | amd64-\<version tag\> |
| arm64 | ✅ | arm64v8-\<version tag\> |
| armhf| ✅ | arm32v7-\<version tag\> |
## Version Tags
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
| Tag | Available | Description |
| :----: | :----: |--- |
| latest | ✅ | Stable Heimdall releases. |
| development | ✅ | Latest commit from the github 2.x branch. |
## Application Setup
@@ -80,14 +89,14 @@ Here are some example snippets to help you get started creating a container.
version: "2.1"
services:
heimdall:
image: lscr.io/linuxserver/heimdall
image: lscr.io/linuxserver/heimdall:development
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- </path/to/appdata/config>:/config
- /path/to/appdata/config:/config
ports:
- 80:80
- 443:443
@@ -104,16 +113,11 @@ docker run -d \
-e TZ=Europe/London \
-p 80:80 \
-p 443:443 \
-v </path/to/appdata/config>:/config \
-v /path/to/appdata/config:/config \
--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.
Add the development tag, if required, to the linuxserver/heimdall line of the run/create command in the following format, linuxserver/heimdall:development
The development tag will be the latest commit in the master branch of Heimdall.
HOWEVER , USE THE DEVELOPMENT TAG AT YOUR OWN PERIL !!!!!!!!!
## Parameters
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
@@ -170,7 +174,7 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
* container version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' heimdall`
* 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
@@ -188,7 +192,7 @@ Below are the instructions for updating containers:
### 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`
* 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)
@@ -223,7 +227,7 @@ cd docker-heimdall
docker build \
--no-cache \
--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`
@@ -236,6 +240,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **04.11.22:** - Build commits to upstream branch 2.x.
* **13.03.21:** - Make searchproviders.yaml user configurable.
* **11.03.21:** - Rebase to alpine 3.14.
* **10.02.21:** - Revert to alpine 3.12 as php 7.4 broke laravel.

View File

@@ -7,7 +7,7 @@ release_type: prerelease
release_tag: development
ls_branch: development
repo_vars:
- EXT_GIT_BRANCH = 'master'
- EXT_GIT_BRANCH = '2.x'
- EXT_USER = 'linuxserver'
- EXT_REPO = 'Heimdall'
- CONTAINER_NAME = 'heimdall'

View File

@@ -1,64 +1,75 @@
alpine-baselayout-3.2.0-r16
alpine-keys-2.4-r0
apache2-utils-2.4.53-r0
apache2-utils-2.4.54-r0
apk-tools-2.12.7-r0
apr-1.7.0-r0
apr-1.7.0-r1
apr-util-1.6.1-r7
argon2-libs-20190702-r1
bash-5.1.16-r0
brotli-libs-1.0.9-r5
busybox-1.33.1-r6
ca-certificates-20211220-r0
ca-certificates-bundle-20211220-r0
busybox-1.33.1-r8
ca-certificates-20220614-r0
ca-certificates-bundle-20220614-r0
coreutils-8.32-r2
curl-7.79.1-r0
expat-2.4.7-r0
git-2.32.0-r0
curl-7.79.1-r3
expat-2.5.0-r0
gdbm-1.19-r0
git-2.32.4-r0
icu-libs-67.1-r2
libacl-2.2.53-r0
libattr-2.5.1-r0
libc-utils-0.7.2-r3
libcrypto1.1-1.1.1n-r0
libcurl-7.79.1-r0
libcrypto1.1-1.1.1s-r0
libcurl-7.79.1-r3
libedit-20210216.3.1-r0
libgcc-10.3.1_git20210424-r2
libintl-0.21-r0
libldap-2.4.58-r0
libmagic-5.40-r1
libpq-13.8-r0
libproc-3.3.17-r0
libressl3.3-libcrypto-3.3.6-r0
libressl3.3-libssl-3.3.6-r0
libretls-3.3.3p1-r2
libssl1.1-1.1.1n-r0
libretls-3.3.3p1-r3
libsasl-2.1.28-r0
libssl1.1-1.1.1s-r0
libstdc++-10.3.1_git20210424-r2
libuuid-2.37.4-r0
libxml2-2.9.13-r0
libxml2-2.9.14-r2
libzip-1.7.3-r2
linux-pam-1.5.1-r1
logrotate-3.18.1-r1
logrotate-3.18.1-r4
musl-1.2.2-r3
musl-utils-1.2.2-r3
nano-5.7-r2
ncurses-libs-6.2_p20210612-r0
ncurses-terminfo-base-6.2_p20210612-r0
ncurses-libs-6.2_p20210612-r1
ncurses-terminfo-base-6.2_p20210612-r1
nghttp2-libs-1.43.0-r0
nginx-1.20.2-r0
nginx-1.20.2-r1
oniguruma-6.9.7.1-r0
openssl-1.1.1n-r0
openssl-1.1.1s-r0
pcre-8.44-r0
pcre2-10.36-r0
php7-7.4.26-r0
php7-common-7.4.26-r0
php7-ctype-7.4.26-r0
php7-fileinfo-7.4.26-r0
php7-fpm-7.4.26-r0
php7-json-7.4.26-r0
php7-mbstring-7.4.26-r0
php7-openssl-7.4.26-r0
php7-pdo-7.4.26-r0
php7-pdo_sqlite-7.4.26-r0
php7-session-7.4.26-r0
php7-simplexml-7.4.26-r0
php7-tokenizer-7.4.26-r0
php7-xml-7.4.26-r0
php7-xmlwriter-7.4.26-r0
php7-zip-7.4.26-r0
pcre2-10.36-r1
php7-7.4.33-r0
php7-common-7.4.33-r0
php7-ctype-7.4.33-r0
php7-fileinfo-7.4.33-r0
php7-fpm-7.4.33-r0
php7-intl-7.4.33-r0
php7-json-7.4.33-r0
php7-mbstring-7.4.33-r0
php7-mysqlnd-7.4.33-r0
php7-openssl-7.4.33-r0
php7-pdo-7.4.33-r0
php7-pdo_mysql-7.4.33-r0
php7-pdo_pgsql-7.4.33-r0
php7-pdo_sqlite-7.4.33-r0
php7-session-7.4.33-r0
php7-simplexml-7.4.33-r0
php7-tokenizer-7.4.33-r0
php7-xml-7.4.33-r0
php7-xmlwriter-7.4.33-r0
php7-zip-7.4.33-r0
popt-1.18-r0
procps-3.3.17-r0
readline-8.1.0-r0
@@ -67,9 +78,9 @@ scanelf-1.3.2-r0
shadow-4.8.1-r0
skalibs-2.10.0.3-r0
sqlite-libs-3.35.5-r0
ssl_client-1.33.1-r6
tzdata-2022a-r0
ssl_client-1.33.1-r8
tzdata-2022f-r1
utmps-0.1.0.2-r0
xz-5.2.5-r0
xz-libs-5.2.5-r0
zlib-1.2.11-r3
xz-5.2.5-r1
xz-libs-5.2.5-r1
zlib-1.2.12-r3

View File

@@ -17,12 +17,18 @@ available_architectures:
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
- { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"}
# development version
development_versions: true
development_versions_items:
- { tag: "latest", desc: "Stable Heimdall releases." }
- { tag: "development", desc: "Latest commit from the github 2.x branch." }
# container parameters
common_param_env_vars_enabled: true
param_container_name: "{{ project_name }}"
param_usage_include_vols: true
param_volumes:
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Contains all relevant configuration files." }
- { vol_path: "/config", vol_host_path: "/path/to/appdata/config", desc: "Contains all relevant configuration files." }
param_usage_include_ports: true
param_ports:
- { external_port: "80", internal_port: "80", port_desc: "http gui" }
@@ -32,7 +38,7 @@ param_env_vars:
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
# optional parameters
optional_block_1: true
optional_block_1: false
optional_block_1_items:
- |
Using tags, you can switch between the stable releases of Heimdall and the master branch. No tag is required for the latest stable release.
@@ -52,6 +58,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "04.11.22:", desc: "Build commits to upstream branch 2.x." }
- { date: "13.03.21:", desc: "Make searchproviders.yaml user configurable." }
- { 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." }