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

Commit b0f6b60

Browse files
authored
Merge pull request #29 from linuxserver/deprecate-nodejs
2 parents 74a74bc + c195612 commit b0f6b60

File tree

8 files changed

+67
-4
lines changed

8 files changed

+67
-4
lines changed

.github/ISSUE_TEMPLATE/issue.bug.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ 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+
We recommend looking at our code-server and openvscode-server containers as potential replacements.
10+
https://github.com/linuxserver/docker-code-server
11+
https://github.com/linuxserver/docker-openvscode-server
12+
613
[linuxserverurl]: https://linuxserver.io
714
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
815

.github/ISSUE_TEMPLATE/issue.feature.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ 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+
We recommend looking at our code-server and openvscode-server containers as potential replacements.
10+
https://github.com/linuxserver/docker-code-server
11+
https://github.com/linuxserver/docker-openvscode-server
12+
613
[linuxserverurl]: https://linuxserver.io
714
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
815

.github/PULL_REQUEST_TEMPLATE.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# DEPRECATION NOTICE
2+
3+
This image is deprecated. We will not offer support for this image and it will not be updated.
4+
We recommend looking at our code-server and openvscode-server containers as potential replacements.
5+
https://github.com/linuxserver/docker-code-server
6+
https://github.com/linuxserver/docker-openvscode-server
7+
18
<!--- Provide a general summary of your changes in the Title above -->
29

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

.github/workflows/greetings.yml

+2-2
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-cloud9/blob/nodejs/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-cloud9/blob/nodejs/.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-cloud9/blob/nodejs/.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-cloud9/blob/nodejs/README.md) may have additional information. Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-cloud9/blob/nodejs/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-cloud9/blob/nodejs/.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-cloud9/blob/nodejs/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-cloud9/blob/nodejs/.github/PULL_REQUEST_TEMPLATE.md)!'
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}

Jenkinsfile

+7-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pipeline {
5656
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
5757
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
5858
env.PULL_REQUEST = env.CHANGE_ID
59-
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'
59+
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'
6060
}
6161
script{
6262
env.LS_RELEASE_NUMBER = sh(
@@ -312,13 +312,15 @@ pipeline {
312312
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
313313
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
314314
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
315+
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/root/etc/cont-init.d
315316
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
316317
cd ${TEMPDIR}/repo/${LS_REPO}/
317318
if ! grep -q '.jenkins-external' .gitignore 2>/dev/null; then
318319
echo ".jenkins-external" >> .gitignore
319320
git add .gitignore
320321
fi
321322
git add ${TEMPLATED_FILES}
323+
git rm ${TEMPDIR}/repo/${LS_REPO}/.github/workflows/{external_trigger,external_trigger_scheduler,package_trigger,package_trigger_scheduler}.yml || :
322324
git commit -m 'Bot Updating Templated Files'
323325
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
324326
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}
@@ -342,6 +344,10 @@ pipeline {
342344
fi
343345
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
344346
cd ${TEMPDIR}/unraid/templates/
347+
if ! grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
348+
echo "${CONTAINER_NAME}" >> ${TEMPDIR}/unraid/templates/unraid/ignore.list
349+
git add unraid/ignore.list
350+
fi
345351
if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
346352
echo "Image is on the ignore list, marking Unraid template as deprecated"
347353
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ 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+
We recommend looking at our code-server and openvscode-server containers as potential replacements.
34+
https://github.com/linuxserver/docker-code-server
35+
https://github.com/linuxserver/docker-openvscode-server
36+
3037
# [linuxserver/cloud9](https://github.com/linuxserver/docker-cloud9)
3138

3239
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fcloud9?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fcloud9)
@@ -245,5 +252,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
245252

246253
## Versions
247254

255+
* **23.06.22:** - Deprecate image.
248256
* **07.02.20:** - Add optional http auth.
249257
* **02.06.19:** - Initial Release.

readme-vars.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ project_blurb: |
88
[{{ project_name|capitalize }}]({{ project_url }}) Cloud9 is a complete web based IDE with terminal access. This container is for running their core SDK locally and developing plugins.
99
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
1010

11+
project_deprecation_status: true
12+
project_deprecation_message: |
13+
We recommend looking at our code-server and openvscode-server containers as potential replacements.
14+
https://github.com/linuxserver/docker-code-server
15+
https://github.com/linuxserver/docker-openvscode-server
16+
1117
# supported architectures
1218
available_architectures:
1319
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
@@ -50,6 +56,6 @@ app_setup_block: |
5056
5157
# changelog
5258
changelogs:
59+
- { date: "23.06.22:", desc: "Deprecate image." }
5360
- { date: "07.02.20:", desc: "Add optional http auth." }
5461
- { date: "02.06.19:", desc: "Initial Release." }
55-

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

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
We recommend looking at our code-server and openvscode-server containers as potential replacements.
17+
https://github.com/linuxserver/docker-code-server
18+
https://github.com/linuxserver/docker-openvscode-server
19+
20+
21+
******************************************************
22+
******************************************************'

0 commit comments

Comments
 (0)