Skip to content

Commit 6e77e99

Browse files
authored
Merge pull request #107 from linuxserver/kill-alpine-branch
2 parents 48f908f + 8942e82 commit 6e77e99

File tree

8 files changed

+58
-3
lines changed

8 files changed

+58
-3
lines changed

.github/ISSUE_TEMPLATE/issue.bug.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Bug report
33
about: Create a report to help us improve
44

55
---
6+
# DEPRECATION NOTICE
7+
8+
This image is deprecated. We will not offer support for this image and it will not be updated.
9+
Please switch to the "latest" tag instead
10+
as it is now Alpine-based.
11+
612
[linuxserverurl]: https://linuxserver.io
713
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
814

.github/ISSUE_TEMPLATE/issue.feature.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Feature request
33
about: Suggest an idea for this project
44

55
---
6+
# DEPRECATION NOTICE
7+
8+
This image is deprecated. We will not offer support for this image and it will not be updated.
9+
Please switch to the "latest" tag instead
10+
as it is now Alpine-based.
11+
612
[linuxserverurl]: https://linuxserver.io
713
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
814

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# DEPRECATION NOTICE
2+
3+
This image is deprecated. We will not offer support for this image and it will not be updated.
4+
Please switch to the "latest" tag instead
5+
as it is now Alpine-based.
6+
17
<!--- Provide a general summary of your changes in the Title above -->
28

39
[linuxserverurl]: https://linuxserver.io

.github/workflows/greetings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ jobs:
88
steps:
99
- uses: actions/first-interaction@v1
1010
with:
11-
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-mariadb/blob/alpine/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-mariadb/blob/alpine/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
12-
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-mariadb/blob/alpine/.github/PULL_REQUEST_TEMPLATE.md)!'
11+
issue-message: 'This image is deprecated. We will not offer support for this image and it will not be updated. The [README](https://github.com/linuxserver/docker-mariadb/blob/alpine/README.md) may have additional information. Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-mariadb/blob/alpine/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-mariadb/blob/alpine/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
12+
pr-message: 'This image is deprecated. We will not offer support for this image and it will not be updated. The [README](https://github.com/linuxserver/docker-mariadb/blob/alpine/README.md) may have additional information. Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-mariadb/blob/alpine/.github/PULL_REQUEST_TEMPLATE.md)!'
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}

Jenkinsfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pipeline {
5959
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
6060
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
6161
env.PULL_REQUEST = env.CHANGE_ID
62-
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.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/external_trigger.yml ./.github/workflows/package_trigger.yml'
62+
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.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/external_trigger.yml ./.github/workflows/package_trigger.yml ./root/etc/cont-init.d/99-deprecation'
6363
}
6464
script{
6565
env.LS_RELEASE_NUMBER = sh(
@@ -316,13 +316,15 @@ pipeline {
316316
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
317317
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
318318
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
319+
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/root/etc/cont-init.d
319320
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
320321
cd ${TEMPDIR}/repo/${LS_REPO}/
321322
if ! grep -q '.jenkins-external' .gitignore 2>/dev/null; then
322323
echo ".jenkins-external" >> .gitignore
323324
git add .gitignore
324325
fi
325326
git add ${TEMPLATED_FILES}
327+
git rm ${TEMPDIR}/repo/${LS_REPO}/.github/workflows/{external_trigger,external_trigger_scheduler,package_trigger,package_trigger_scheduler}.yml || :
326328
git commit -m 'Bot Updating Templated Files'
327329
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
328330
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
@@ -346,6 +348,10 @@ pipeline {
346348
fi
347349
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
348350
cd ${TEMPDIR}/unraid/templates/
351+
if ! grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
352+
echo "${CONTAINER_NAME}" >> ${TEMPDIR}/unraid/templates/unraid/ignore.list
353+
git add unraid/ignore.list
354+
fi
349355
if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
350356
echo "Image is on the ignore list, marking Unraid template as deprecated"
351357
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Find us at:
2727
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
2828
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
2929

30+
# DEPRECATION NOTICE
31+
32+
This image is deprecated. We will not offer support for this image and it will not be updated.
33+
Please switch to the "latest" tag instead
34+
as it is now Alpine-based.
35+
3036
# [linuxserver/mariadb](https://github.com/linuxserver/docker-mariadb)
3137

3238
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fmariadb?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fmariadb)

readme-vars.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is one of the
88
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
99
project_blurb_optional_extras_enabled: false
1010

11+
project_deprecation_status: true
12+
project_deprecation_message: |
13+
Please switch to the "latest" tag instead
14+
as it is now Alpine-based.
15+
1116
# supported architectures
1217
available_architectures:
1318
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}

root/etc/cont-init.d/99-deprecation

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
echo '
4+
******************************************************
5+
******************************************************
6+
* *
7+
* *
8+
* This image is deprecated. *
9+
* We will not offer support for this image *
10+
* and it will not be updated. *
11+
* *
12+
* *
13+
******************************************************
14+
******************************************************
15+
16+
Please switch to the "latest" tag instead
17+
as it is now Alpine-based.
18+
19+
******************************************************
20+
******************************************************'

0 commit comments

Comments
 (0)