Refs: nodejs/github-bot#377 (comment)
Currently the github-bot server is running Node.js 14.16.1 on Debian 8 (Jessie) installed via https://github.com/nodesource/distributions.
|
- name: Bootstrap | Add nodesource repo |
|
apt_repository: |
|
repo: deb https://deb.nodesource.com/node_14.x jessie main |
|
state: present |
I attempted a quick patch of the playbook to install Node.js 18
diff --git a/ansible/roles/github-bot/tasks/main.yml b/ansible/roles/github-bot/tasks/main.yml
index 7455da3..cda0ea1 100644
--- a/ansible/roles/github-bot/tasks/main.yml
+++ b/ansible/roles/github-bot/tasks/main.yml
@@ -15,7 +15,7 @@
- name: Bootstrap | Add nodesource repo
apt_repository:
- repo: deb https://deb.nodesource.com/node_14.x jessie main
+ repo: deb https://deb.nodesource.com/node_18.x jessie main
state: present
- name: Bootstrap | APT Update and upgrade
but this doesn't work
W: Failed to fetch https://deb.nodesource.com/node_18.x/dists/jessie/main/binary-amd64/Packages HttpError404
we can see that the following URLs do not exist:
so we'll probably need to upgrade the machine to Debian 10 (Debian 8 is long out of support).
e.g. https://deb.nodesource.com/node_18.x/dists/buster/main/binary-amd64/Packages exists.
Refs: nodejs/github-bot#377 (comment)
Currently the github-bot server is running Node.js 14.16.1 on Debian 8 (Jessie) installed via https://github.com/nodesource/distributions.
build/ansible/roles/github-bot/tasks/main.yml
Lines 16 to 19 in b36beec
I attempted a quick patch of the playbook to install Node.js 18
but this doesn't work
W: Failed to fetch https://deb.nodesource.com/node_18.x/dists/jessie/main/binary-amd64/Packages HttpError404we can see that the following URLs do not exist:
so we'll probably need to upgrade the machine to Debian 10 (Debian 8 is long out of support).
e.g. https://deb.nodesource.com/node_18.x/dists/buster/main/binary-amd64/Packages exists.