Compare commits

...

8 Commits

Author SHA1 Message Date
LinuxServer-CI
cdebac1631 Bot Updating Package Versions 2023-04-09 08:52:56 +02:00
LinuxServer-CI
48162c0d66 Bot Updating Package Versions 2023-04-05 20:53:21 -05:00
LinuxServer-CI
8024c401be Bot Updating Package Versions 2023-04-03 05:53:26 +02:00
LinuxServer-CI
bed6cd2c3d Bot Updating Templated Files 2023-04-03 05:50:20 +02:00
LinuxServer-CI
ca15678df6 Bot Updating Templated Files 2023-04-03 05:48:47 +02:00
LinuxServer-CI
d52ae12b4c Bot Updating Templated Files 2023-04-03 05:47:13 +02:00
LinuxServer-CI
a60d6b8b4e Bot Updating Package Versions 2023-03-27 05:48:21 +02:00
LinuxServer-CI
3975773f2a Bot Updating Package Versions 2023-03-20 04:48:17 +01:00
9 changed files with 77 additions and 78 deletions

View File

@@ -1,12 +0,0 @@
name: Comment on invalid interaction
on:
issues:
types:
- labeled
jobs:
add-comment-on-invalid:
if: github.event.label.name == 'invalid'
permissions:
issues: write
uses: linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1
secrets: inherit

14
.github/workflows/call_issue_pr_tracker.yml vendored Executable file
View File

@@ -0,0 +1,14 @@
name: Issue & PR Tracker
on:
issues:
types: [opened,reopened,labeled,unlabeled]
pull_request_target:
types: [opened,reopened,review_requested,review_request_removed,labeled,unlabeled]
jobs:
manage-project:
permissions:
issues: write
uses: linuxserver/github-workflows/.github/workflows/issue-pr-tracker.yml@v1
secrets: inherit

13
.github/workflows/call_issues_cron.yml vendored Executable file
View File

@@ -0,0 +1,13 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: '29 15 * * *'
workflow_dispatch:
jobs:
stale:
permissions:
issues: write
pull-requests: write
uses: linuxserver/github-workflows/.github/workflows/issues-cron.yml@v1
secrets: inherit

View File

@@ -69,6 +69,13 @@ jobs:
if [ "${EXT_RELEASE}" == "${IMAGE_VERSION}" ]; then
echo "**** Version ${EXT_RELEASE} already pushed, exiting ****"
exit 0
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"qbittorrent-nox"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]] || [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"qbittorrent-nox"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
echo "**** New version ${EXT_RELEASE} found; but not all arch repos updated yet; exiting ****"
FAILURE_REASON="New version ${EXT_RELEASE} for qbittorrent tag latest is detected, however not all arch repos are updated 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 }}
exit 0
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-qbittorrent/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 ****"
exit 0

View File

@@ -2,7 +2,7 @@ name: Package Trigger Scheduler
on:
schedule:
- cron: '43 3 * * 1'
- cron: '48 6 * * 0'
workflow_dispatch:
jobs:

View File

@@ -1,9 +1,10 @@
name: Permission check
on:
pull_request:
pull_request_target:
paths:
- '**/run'
- '**/finish'
- '**/check'
jobs:
permission_check:
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1

View File

@@ -1,23 +0,0 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6.0.1
with:
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
days-before-stale: 30
days-before-close: 365
exempt-issue-labels: 'awaiting-approval,work-in-progress'
exempt-pr-labels: 'awaiting-approval,work-in-progress'
repo-token: ${{ secrets.GITHUB_TOKEN }}

23
Jenkinsfile vendored
View File

@@ -59,7 +59,7 @@ pipeline {
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
env.PULL_REQUEST = env.CHANGE_ID
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/call_invalid_helper.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml'
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/call_issue_pr_tracker.yml ./.github/workflows/call_issues_cron.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml'
}
script{
env.LS_RELEASE_NUMBER = sh(
@@ -234,17 +234,14 @@ pipeline {
}
sh '''curl -sL https://raw.githubusercontent.com/linuxserver/docker-shellcheck/master/checkrun.sh | /bin/bash'''
sh '''#! /bin/bash
set -e
docker pull ghcr.io/linuxserver/lsiodev-spaces-file-upload:latest
docker run --rm \
-e DESTINATION=\"${IMAGE}/${META_TAG}/shellcheck-result.xml\" \
-e FILE_NAME="shellcheck-result.xml" \
-e MIMETYPE="text/xml" \
-v ${WORKSPACE}:/mnt \
-e SECRET_KEY=\"${S3_SECRET}\" \
-e ACCESS_KEY=\"${S3_KEY}\" \
-t ghcr.io/linuxserver/lsiodev-spaces-file-upload:latest \
python /upload.py'''
-v ${WORKSPACE}:/mnt \
-e AWS_ACCESS_KEY_ID=\"${S3_KEY}\" \
-e AWS_SECRET_ACCESS_KEY=\"${S3_SECRET}\" \
ghcr.io/linuxserver/baseimage-alpine:3.17 s6-envdir -fn -- /var/run/s6/container_environment /bin/bash -c "\
apk add --no-cache py3-pip && \
pip install s3cmd && \
s3cmd put --no-preserve --acl-public -m text/xml /mnt/shellcheck-result.xml s3://ci-tests.linuxserver.io/${IMAGE}/${META_TAG}/shellcheck-result.xml" || :'''
}
}
}
@@ -281,7 +278,7 @@ pipeline {
echo "Jenkinsfile is up to date."
fi
# Stage 2 - Delete old templates
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md\n.github/ISSUE_TEMPLATE/issue.bug.md\n.github/ISSUE_TEMPLATE/issue.feature.md"
OLD_TEMPLATES=".github/ISSUE_TEMPLATE.md .github/ISSUE_TEMPLATE/issue.bug.md .github/ISSUE_TEMPLATE/issue.feature.md .github/workflows/call_invalid_helper.yml .github/workflows/stale.yml"
for i in ${OLD_TEMPLATES}; do
if [[ -f "${i}" ]]; then
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
@@ -298,7 +295,7 @@ pipeline {
git commit -m 'Bot Updating Templated Files'
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
echo "Deleting old templates"
echo "Deleting old and deprecated templates"
rm -Rf ${TEMPDIR}
exit 0
else

View File

@@ -87,19 +87,19 @@ alpine-baselayout 3
alpine-baselayout-data 3.4.0-r0 apk
alpine-keys 2.4-r1 apk
apk-tools 2.12.11-r0 apk
bash 5.2.15-r0 apk
bash 5.2.15-r1 apk
brotli-libs 1.0.9-r11 apk
busybox 1.36.0 binary
busybox 1.36.0-r5 apk
busybox-binsh 1.36.0-r5 apk
busybox 1.36.0-r6 apk
busybox-binsh 1.36.0-r6 apk
ca-certificates 20230106-r0 apk
ca-certificates-bundle 20230106-r0 apk
coreutils 9.1-r0 apk
curl 7.88.1-r1 apk
coreutils 9.2-r2 apk
curl 8.0.1-r1 apk
dbus-libs 1.14.6-r1 apk
double-conversion 3.2.1-r0 apk
gdbm 1.23-r0 apk
glib 2.76.0-r1 apk
glib 2.76.1-r0 apk
icu-data-en 72.1-r2 apk
icu-libs 72.1-r2 apk
jq 1.6-r2 apk
@@ -110,42 +110,44 @@ libblkid 2
libbsd 0.11.7-r0 apk
libbz2 1.0.8-r4 apk
libc-utils 0.7.2-r4 apk
libcrypto1.1 1.1.1t-r0 apk
libcrypto3 3.0.8-r1 apk
libcurl 7.88.1-r1 apk
libcrypto1.1 1.1.1t-r2 apk
libcrypto3 3.1.0-r2 apk
libcurl 8.0.1-r1 apk
libexpat 2.5.0-r0 apk
libffi 3.4.4-r0 apk
libffi 3.4.4-r1 apk
libgcc 12.2.1_git20220924-r9 apk
libgomp 12.2.1_git20220924-r9 apk
libidn2 2.3.4-r0 apk
libintl 0.21.1-r2 apk
libmd 1.0.4-r1 apk
libmount 2.38.1-r5 apk
libncursesw 6.4_p20230311-r0 apk
libpanelw 6.4_p20230311-r0 apk
libncursesw 6.4_p20230401-r0 apk
libpanelw 6.4_p20230401-r0 apk
libpcre2-16 10.42-r0 apk
libproc2 4.0.3-r0 apk
libssl1.1 1.1.1t-r0 apk
libssl3 3.0.8-r1 apk
libssl1.1 1.1.1t-r2 apk
libssl3 3.1.0-r2 apk
libstdc++ 12.2.1_git20220924-r9 apk
libtorrent-rasterbar 2.0.8-r2 apk
linux-pam 1.5.2-r3 apk
libunistring 1.1-r0 apk
linux-pam 1.5.2-r9 apk
mpdecimal 2.5.1-r1 apk
musl 1.2.3-r4 apk
musl-utils 1.2.3-r4 apk
ncurses-terminfo-base 6.4_p20230311-r0 apk
ncurses-terminfo-base 6.4_p20230401-r0 apk
netcat-openbsd 1.219-r0 apk
nghttp2-libs 1.52.0-r0 apk
oniguruma 6.9.8-r0 apk
openssl 3.0.8-r1 apk
openssl1.1-compat 1.1.1t-r0 apk
openssl 3.1.0-r2 apk
openssl1.1-compat 1.1.1t-r2 apk
p7zip 17.05-r1 apk
pcre2 10.42-r0 apk
procps-ng 4.0.3-r0 apk
python 3.11.2 binary
python3 3.11.2-r0 apk
qbittorrent-nox 4.5.2-r0 apk
qt6-qtbase 6.4.2-r0 apk
qt6-qtbase-sqlite 6.4.2-r0 apk
python 3.11.3 binary
python3 3.11.3-r0 apk
qbittorrent-nox 4.5.2-r1 apk
qt6-qtbase 6.5.0-r0 apk
qt6-qtbase-sqlite 6.5.0-r0 apk
readline 8.2.1-r0 apk
runtime.any.System.Collections 4.3.0 dotnet
runtime.any.System.Diagnostics.Tools 4.3.0 dotnet
@@ -190,10 +192,10 @@ runtime.unix.System.Private.Uri 4
runtime.unix.System.Runtime.Extensions 4.3.0 dotnet
scanelf 1.3.7-r0 apk
shadow 4.13-r2 apk
skalibs 2.13.1.0-r0 apk
sqlite-libs 3.41.1-r0 apk
ssl_client 1.36.0-r5 apk
tzdata 2022g-r0 apk
skalibs 2.13.1.1-r0 apk
sqlite-libs 3.41.2-r1 apk
ssl_client 1.36.0-r6 apk
tzdata 2023c-r0 apk
utmps-libs 0.1.2.1-r0 apk
xz-libs 5.4.1-r0 apk
xz-libs 5.4.2-r0 apk
zlib 1.2.13-r0 apk