Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit f7df115

Browse files
committed
deprecate
1 parent 1dd8c60 commit f7df115

14 files changed

Lines changed: 115 additions & 96 deletions

File tree

.github/ISSUE_TEMPLATE/issue.bug.yml

100755100644
Lines changed: 10 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -4,73 +4,15 @@ description: Create a report to help us improve
44
title: "[BUG] <title>"
55
labels: [Bug]
66
body:
7-
- type: checkboxes
7+
- type: markdown
88
attributes:
9-
label: Is there an existing issue for this?
10-
description: Please search to see if an issue already exists for the bug you encountered.
11-
options:
12-
- label: I have searched the existing issues
13-
required: true
14-
- type: textarea
15-
attributes:
16-
label: Current Behavior
17-
description: Tell us what happens instead of the expected behavior.
18-
validations:
19-
required: true
20-
- type: textarea
21-
attributes:
22-
label: Expected Behavior
23-
description: Tell us what should happen.
24-
validations:
25-
required: false
26-
- type: textarea
27-
attributes:
28-
label: Steps To Reproduce
29-
description: Steps to reproduce the behavior.
30-
placeholder: |
31-
1. In this environment...
32-
2. With this config...
33-
3. Run '...'
34-
4. See error...
35-
validations:
36-
required: true
37-
- type: textarea
38-
attributes:
39-
label: Environment
40-
description: |
41-
examples:
42-
- **OS**: Ubuntu 20.04
43-
- **How docker service was installed**: distro's packagemanager
449
value: |
45-
- OS:
46-
- How docker service was installed:
47-
render: markdown
48-
validations:
49-
required: false
50-
- type: dropdown
51-
attributes:
52-
label: CPU architecture
53-
options:
54-
- x86-64
55-
- arm64
56-
validations:
57-
required: true
58-
- type: textarea
59-
attributes:
60-
label: Docker creation
61-
description: |
62-
Command used to create docker container
63-
Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container
64-
render: bash
65-
validations:
66-
required: true
67-
- type: textarea
68-
attributes:
69-
description: |
70-
Provide a full docker log, output of "docker logs emulatorjs"
71-
label: Container logs
72-
placeholder: |
73-
Output of `docker logs emulatorjs`
74-
render: bash
75-
validations:
76-
required: true
10+
# DEPRECATION NOTICE
11+
This image is deprecated. We will not offer support for this image and it will not be updated.
12+
13+
14+
Please consider these alternatives:
15+
https://github.com/gaseous-project/gaseous-server
16+
https://github.com/rommapp/romm/
17+
https://github.com/webrcade/webrcade
18+

.github/ISSUE_TEMPLATE/issue.feature.yml

100755100644
Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,15 @@ description: Suggest an idea for this project
44
title: "[FEAT] <title>"
55
labels: [enhancement]
66
body:
7-
- type: checkboxes
7+
- type: markdown
88
attributes:
9-
label: Is this a new feature request?
10-
description: Please search to see if a feature request already exists.
11-
options:
12-
- label: I have searched the existing issues
13-
required: true
14-
- type: textarea
15-
attributes:
16-
label: Wanted change
17-
description: Tell us what you want to happen.
18-
validations:
19-
required: true
20-
- type: textarea
21-
attributes:
22-
label: Reason for change
23-
description: Justify your request, why do you want it, what is the benefit.
24-
validations:
25-
required: true
26-
- type: textarea
27-
attributes:
28-
label: Proposed code change
29-
description: Do you have a potential code change in mind?
30-
validations:
31-
required: false
9+
value: |
10+
# DEPRECATION NOTICE
11+
This image is deprecated. We will not offer support for this image and it will not be updated.
12+
13+
14+
Please consider these alternatives:
15+
https://github.com/gaseous-project/gaseous-server
16+
https://github.com/rommapp/romm/
17+
https://github.com/webrcade/webrcade
18+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# DEPRECATION NOTICE
2+
This image is deprecated. We will not offer support for this image and it will not be updated.
3+
4+
5+
Please consider these alternatives:
6+
https://github.com/gaseous-project/gaseous-server
7+
https://github.com/rommapp/romm/
8+
https://github.com/webrcade/webrcade
9+
110
<!--- Provide a general summary of your changes in the Title above -->
211

312
[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 relevant issue templates, or risk having this issue marked as invalid.'
12-
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-emulatorjs/blob/master/.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-emulatorjs/blob/master/README.md) may have additional information. Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
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-emulatorjs/blob/master/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-emulatorjs/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/permissions.yml

100755100644
File mode changed.

Jenkinsfile

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pipeline {
9696
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
9797
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
9898
env.PULL_REQUEST = env.CHANGE_ID
99-
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'
99+
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 ./root/etc/s6-overlay/s6-rc.d/init-deprecate/run ./root/etc/s6-overlay/s6-rc.d/init-deprecate/up ./root/etc/s6-overlay/s6-rc.d/init-deprecate/type ./root/etc/s6-overlay/s6-rc.d/init-deprecate/dependencies.d/init-config-end ./root/etc/s6-overlay/s6-rc.d/init-services/dependencies.d/init-deprecate ./root/etc/s6-overlay/s6-rc.d/user/contents.d/init-deprecate'
100100
}
101101
sh '''#! /bin/bash
102102
echo "The default github branch detected as ${GH_DEFAULT_BRANCH}" '''
@@ -337,6 +337,7 @@ pipeline {
337337
fi
338338
echo "Starting Stage 2 - Delete old templates"
339339
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 .github/workflows/package_trigger.yml"
340+
OLD_TEMPLATES="${OLD_TEMPLATES} $(echo .github/workflows/{external_trigger,external_trigger_scheduler,package_trigger_scheduler,call_issue_pr_tracker,call_issues_cron}.yml)"
340341
for i in ${OLD_TEMPLATES}; do
341342
if [[ -f "${i}" ]]; then
342343
TEMPLATES_TO_DELETE="${i} ${TEMPLATES_TO_DELETE}"
@@ -401,6 +402,10 @@ pipeline {
401402
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
402403
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
403404
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
405+
mkdir -p \
406+
${TEMPDIR}/repo/${LS_REPO}/root/etc/s6-overlay/s6-rc.d/init-deprecate/dependencies.d \
407+
${TEMPDIR}/repo/${LS_REPO}/root/etc/s6-overlay/s6-rc.d/init-services/dependencies.d \
408+
${TEMPDIR}/repo/${LS_REPO}/root/etc/s6-overlay/s6-rc.d/user/contents.d
404409
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
405410
cp --parents readme-vars.yml ${TEMPDIR}/repo/${LS_REPO}/ || :
406411
cd ${TEMPDIR}/repo/${LS_REPO}/
@@ -430,6 +435,19 @@ pipeline {
430435
git add docs/images/docker-${CONTAINER_NAME}.md
431436
echo "Updating docs repo"
432437
git commit -m 'Bot Updating Documentation'
438+
git mv docs/images/docker-${CONTAINER_NAME}.md docs/deprecated_images/docker-${CONTAINER_NAME}.md || :
439+
if ! command -v yq || ! yq --help | grep -q 'mikefarah'; then
440+
YQ_DL_VERSION=$(curl -fsX GET "https://api.github.com/repos/mikefarah/yq/releases/latest" | jq -r '. | .tag_name')
441+
echo "No yq found, retrieving from upstream release version ${YQ_DL_VERSION}"
442+
curl -fo /usr/local/bin/yq -L "https://github.com/mikefarah/yq/releases/download/${YQ_DL_VERSION}/yq_linux_amd64"
443+
chmod +x /usr/local/bin/yq
444+
fi
445+
if ! yq -e '.plugins.[].redirects.redirect_maps.[] | select(. == "deprecated_images/docker-" + env(CONTAINER_NAME) + ".md")' mkdocs.yml >/dev/null 2>&1; then
446+
echo "Updating mkdocs.yml with deprecation info"
447+
yq -i '(.plugins.[] | select(.redirects)).redirects.redirect_maps |= . + {"images/docker-" + env(CONTAINER_NAME) + ".md" : "deprecated_images/docker-" + env(CONTAINER_NAME) + ".md"}' mkdocs.yml
448+
git add mkdocs.yml
449+
fi
450+
git commit -m 'Bot Moving Deprecated Documentation' || :
433451
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/docker-documentation.git ${GH_DOCS_DEFAULT_BRANCH} --rebase
434452
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/linuxserver/docker-documentation.git ${GH_DOCS_DEFAULT_BRANCH} || \
435453
(MAXWAIT="10" && echo "Push to docs failed, trying again in ${MAXWAIT} seconds" && \
@@ -451,6 +469,10 @@ pipeline {
451469
echo "Updating Unraid template"
452470
cd ${TEMPDIR}/unraid/templates/
453471
GH_TEMPLATES_DEFAULT_BRANCH=$(git remote show origin | grep "HEAD branch:" | sed 's|.*HEAD branch: ||')
472+
if ! grep -wq "^${CONTAINER_NAME}$" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
473+
echo "${CONTAINER_NAME}" >> ${TEMPDIR}/unraid/templates/unraid/ignore.list
474+
git add unraid/ignore.list
475+
fi
454476
if grep -wq "^${CONTAINER_NAME}$" ${TEMPDIR}/unraid/templates/unraid/ignore.list && [[ -f ${TEMPDIR}/unraid/templates/unraid/deprecated/${CONTAINER_NAME}.xml ]]; then
455477
echo "Image is on the ignore list, and already in the deprecation folder."
456478
elif grep -wq "^${CONTAINER_NAME}$" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
@@ -930,6 +952,7 @@ pipeline {
930952
if [ -n "${SEMVER}" ]; then
931953
docker buildx imagetools create --prefer-index=false -t ${PUSHIMAGE}:${SEMVER} ${CACHEIMAGE}:amd64-${COMMIT_SHA}-${BUILD_NUMBER}
932954
fi
955+
docker buildx imagetools create -t ${PUSHIMAGE}:latest ghcr.io/linuxserver/jenkins-builder:empty || true
933956
done
934957
'''
935958
}
@@ -961,7 +984,7 @@ pipeline {
961984
fi
962985
done
963986
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}" "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
964-
docker buildx imagetools create -t ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm64v8-latest
987+
docker buildx imagetools create -t ${MANIFESTIMAGE}:latest -t ${MANIFESTIMAGE}:amd64-latest -t ${MANIFESTIMAGE}:arm64v8-latest ghcr.io/linuxserver/jenkins-builder:empty || true
965988
docker buildx imagetools create -t ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
966989
967990
docker buildx imagetools create -t ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
@@ -1116,6 +1139,26 @@ EOF
11161139

11171140
}
11181141
}
1142+
stage('Deprecate/Disable Future Builds') {
1143+
when {
1144+
branch "master"
1145+
environment name: 'CHANGE_ID', value: ''
1146+
environment name: 'EXIT_STATUS', value: ''
1147+
}
1148+
steps {
1149+
sh '''#! /bin/bash
1150+
TEMPDIR=$(mktemp -d)
1151+
mkdir -p ${TEMPDIR}/repo
1152+
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/repo/${LS_REPO}
1153+
cd ${TEMPDIR}/repo/${LS_REPO}
1154+
git checkout -f master
1155+
git rm Jenkinsfile
1156+
git commit -m 'Disabling future builds'
1157+
git pull https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
1158+
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git master
1159+
rm -Rf ${TEMPDIR}'''
1160+
}
1161+
}
11191162
}
11201163
/* ######################
11211164
Send status to Discord

README.md

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

29+
# DEPRECATION NOTICE
30+
This image is deprecated. We will not offer support for this image and it will not be updated.
31+
32+
33+
Please consider these alternatives:
34+
https://github.com/gaseous-project/gaseous-server
35+
https://github.com/rommapp/romm/
36+
https://github.com/webrcade/webrcade
37+
2938
# [linuxserver/emulatorjs](https://github.com/linuxserver/docker-emulatorjs)
3039

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

readme-vars.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
# project information
44
project_name: emulatorjs
5+
project_deprecation_status: true
6+
project_deprecation_message: |
7+
Please consider these alternatives:
8+
https://github.com/gaseous-project/gaseous-server
9+
https://github.com/rommapp/romm/
10+
https://github.com/webrcade/webrcade
11+
512
project_url: "https://github.com/linuxserver/emulatorjs"
613
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/emulatorjs-logo.png"
714
project_blurb: |

root/etc/s6-overlay/s6-rc.d/init-deprecate/dependencies.d/init-config-end

Whitespace-only changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/with-contenv bash
2+
# shellcheck shell=bash
3+
4+
echo '
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+
Please consider these alternatives:
16+
https://github.com/gaseous-project/gaseous-server
17+
https://github.com/rommapp/romm/
18+
https://github.com/webrcade/webrcade
19+
20+
21+
══════════════════════════════════════════════════════'

0 commit comments

Comments
 (0)