Compare commits
5 Commits
e06fb9c9-p
...
11517-pkg-
Author | SHA1 | Date | |
---|---|---|---|
fb2c75179c | |||
1cafe3e38b | |||
9beff939fe | |||
ce79a74de0 | |||
22d3d9f323 |
@ -3,6 +3,7 @@ FROM lsiobase/alpine:3.8
|
|||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
ARG OSCAM_VERSION
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="saarg"
|
LABEL maintainer="saarg"
|
||||||
|
|
||||||
@ -18,6 +19,7 @@ RUN \
|
|||||||
make \
|
make \
|
||||||
libressl-dev \
|
libressl-dev \
|
||||||
pcsc-lite-dev \
|
pcsc-lite-dev \
|
||||||
|
subversion \
|
||||||
tar && \
|
tar && \
|
||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
@ -28,7 +30,10 @@ RUN \
|
|||||||
pcsc-lite \
|
pcsc-lite \
|
||||||
pcsc-lite-libs && \
|
pcsc-lite-libs && \
|
||||||
echo "**** compile oscam ****" && \
|
echo "**** compile oscam ****" && \
|
||||||
bzr branch lp:oscam /tmp/oscam-svn && \
|
if [ -z ${OSCAM_VERSION+x} ]; then \
|
||||||
|
OSCAM_VERSION=$(svn info --show-item revision http://www.streamboard.tv/svn/oscam/trunk ); \
|
||||||
|
fi && \
|
||||||
|
svn checkout http://www.streamboard.tv/svn/oscam/trunk@${OSCAM_VERSION} /tmp/oscam-svn && \
|
||||||
cd /tmp/oscam-svn && \
|
cd /tmp/oscam-svn && \
|
||||||
./config.sh \
|
./config.sh \
|
||||||
--enable all \
|
--enable all \
|
||||||
|
@ -3,6 +3,7 @@ FROM lsiobase/alpine:arm64v8-3.8
|
|||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
ARG OSCAM_VERSION
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="saarg"
|
LABEL maintainer="saarg"
|
||||||
|
|
||||||
@ -18,6 +19,7 @@ RUN \
|
|||||||
make \
|
make \
|
||||||
libressl-dev \
|
libressl-dev \
|
||||||
pcsc-lite-dev \
|
pcsc-lite-dev \
|
||||||
|
subversion \
|
||||||
tar && \
|
tar && \
|
||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
@ -28,7 +30,10 @@ RUN \
|
|||||||
pcsc-lite \
|
pcsc-lite \
|
||||||
pcsc-lite-libs && \
|
pcsc-lite-libs && \
|
||||||
echo "**** compile oscam ****" && \
|
echo "**** compile oscam ****" && \
|
||||||
bzr branch lp:oscam /tmp/oscam-svn && \
|
if [ -z ${OSCAM_VERSION+x} ]; then \
|
||||||
|
OSCAM_VERSION=$(svn info --show-item revision http://www.streamboard.tv/svn/oscam/trunk ); \
|
||||||
|
fi && \
|
||||||
|
svn checkout http://www.streamboard.tv/svn/oscam/trunk@${OSCAM_VERSION} /tmp/oscam-svn && \
|
||||||
cd /tmp/oscam-svn && \
|
cd /tmp/oscam-svn && \
|
||||||
./config.sh \
|
./config.sh \
|
||||||
--enable all \
|
--enable all \
|
||||||
|
@ -3,6 +3,7 @@ FROM lsiobase/alpine:arm32v7-3.8
|
|||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
ARG OSCAM_VERSION
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="saarg"
|
LABEL maintainer="saarg"
|
||||||
|
|
||||||
@ -18,6 +19,7 @@ RUN \
|
|||||||
make \
|
make \
|
||||||
libressl-dev \
|
libressl-dev \
|
||||||
pcsc-lite-dev \
|
pcsc-lite-dev \
|
||||||
|
subversion \
|
||||||
tar && \
|
tar && \
|
||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
@ -28,7 +30,10 @@ RUN \
|
|||||||
pcsc-lite \
|
pcsc-lite \
|
||||||
pcsc-lite-libs && \
|
pcsc-lite-libs && \
|
||||||
echo "**** compile oscam ****" && \
|
echo "**** compile oscam ****" && \
|
||||||
bzr branch lp:oscam /tmp/oscam-svn && \
|
if [ -z ${OSCAM_VERSION+x} ]; then \
|
||||||
|
OSCAM_VERSION=$(svn info --show-item revision http://www.streamboard.tv/svn/oscam/trunk ); \
|
||||||
|
fi && \
|
||||||
|
svn checkout http://www.streamboard.tv/svn/oscam/trunk@${OSCAM_VERSION} /tmp/oscam-svn && \
|
||||||
cd /tmp/oscam-svn && \
|
cd /tmp/oscam-svn && \
|
||||||
./config.sh \
|
./config.sh \
|
||||||
--enable all \
|
--enable all \
|
||||||
|
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -91,12 +91,14 @@ pipeline {
|
|||||||
/* ########################
|
/* ########################
|
||||||
External Release Tagging
|
External Release Tagging
|
||||||
######################## */
|
######################## */
|
||||||
// If this is an os release set release type to none to indicate no external release
|
// If this is a custom command to determine version use that command
|
||||||
stage("Set ENV os"){
|
stage("Set tag custom bash"){
|
||||||
steps{
|
steps{
|
||||||
script{
|
script{
|
||||||
env.EXT_RELEASE = env.PACKAGE_TAG
|
env.EXT_RELEASE = sh(
|
||||||
env.RELEASE_LINK = 'none'
|
script: ''' docker run --rm alpine:3.9 sh -c 'apk add subversion > /dev/null 2>&1 && svn info --show-item revision http://www.streamboard.tv/svn/oscam/trunk' ''',
|
||||||
|
returnStdout: true).trim()
|
||||||
|
env.RELEASE_LINK = 'custom_command'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -585,11 +587,11 @@ pipeline {
|
|||||||
"tagger": {"name": "LinuxServer Jenkins","email": "jenkins@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
|
"tagger": {"name": "LinuxServer Jenkins","email": "jenkins@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
|
||||||
echo "Pushing New release for Tag"
|
echo "Pushing New release for Tag"
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
echo "Updating base packages to ${PACKAGE_TAG}" > releasebody.json
|
echo "Updating to ${EXT_RELEASE_CLEAN}" > releasebody.json
|
||||||
echo '{"tag_name":"'${EXT_RELEASE_CLEAN}'-pkg-'${PACKAGE_TAG}'-ls'${LS_TAG_NUMBER}'",\
|
echo '{"tag_name":"'${EXT_RELEASE_CLEAN}'-pkg-'${PACKAGE_TAG}'-ls'${LS_TAG_NUMBER}'",\
|
||||||
"target_commitish": "master",\
|
"target_commitish": "master",\
|
||||||
"name": "'${EXT_RELEASE_CLEAN}'-pkg-'${PACKAGE_TAG}'-ls'${LS_TAG_NUMBER}'",\
|
"name": "'${EXT_RELEASE_CLEAN}'-pkg-'${PACKAGE_TAG}'-ls'${LS_TAG_NUMBER}'",\
|
||||||
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n**OS Changes:**\\n\\n' > start
|
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n**Remote Changes:**\\n\\n' > start
|
||||||
printf '","draft": false,"prerelease": false}' >> releasebody.json
|
printf '","draft": false,"prerelease": false}' >> releasebody.json
|
||||||
paste -d'\\0' start releasebody.json > releasebody.json.done
|
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'''
|
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
|
||||||
|
@ -182,6 +182,8 @@ Below are the instructions for updating containers:
|
|||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **29.04.19:** - Add revision check, so pipeline can build new revisions.
|
||||||
|
* **28.04.19:** - Switch back to streamboard svn to fix version not showing in UI.
|
||||||
* **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
|
* **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
|
||||||
* **19.02.19:** - Add pipeline logic and multi arch, rebase to Alpine 3.8.
|
* **19.02.19:** - Add pipeline logic and multi arch, rebase to Alpine 3.8.
|
||||||
* **03.01.18:** - Deprecate cpu_core routine lack of scaling.
|
* **03.01.18:** - Deprecate cpu_core routine lack of scaling.
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# jenkins variables
|
# jenkins variables
|
||||||
project_name: docker-oscam
|
project_name: docker-oscam
|
||||||
external_type: os
|
external_type: na
|
||||||
|
custom_version_command: "docker run --rm alpine:3.9 sh -c 'apk add subversion > /dev/null 2>&1 && svn info --show-item revision http://www.streamboard.tv/svn/oscam/trunk'"
|
||||||
release_type: stable
|
release_type: stable
|
||||||
release_tag: latest
|
release_tag: latest
|
||||||
ls_branch: master
|
ls_branch: master
|
||||||
|
@ -73,6 +73,8 @@ app_setup_block: |
|
|||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- { date: "29.04.19:", desc: "Add revision check, so pipeline can build new revisions." }
|
||||||
|
- { date: "28.04.19:", desc: "Switch back to streamboard svn to fix version not showing in UI." }
|
||||||
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
|
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
|
||||||
- { date: "19.02.19:", desc: "Add pipeline logic and multi arch, rebase to Alpine 3.8." }
|
- { date: "19.02.19:", desc: "Add pipeline logic and multi arch, rebase to Alpine 3.8." }
|
||||||
- { date: "03.01.18:", desc: "Deprecate cpu_core routine lack of scaling." }
|
- { date: "03.01.18:", desc: "Deprecate cpu_core routine lack of scaling." }
|
||||||
|
Reference in New Issue
Block a user