From a00fc839934c1a17377a848c1ac523d9a04866ef Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Mon, 8 Apr 2024 20:35:03 +0530 Subject: [PATCH] update container to node18 --- jobs.yml | 52 ++++++++++++++++++++--------------------- webservice/package.json | 2 +- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/jobs.yml b/jobs.yml index 7802585..7855a4e 100644 --- a/jobs.yml +++ b/jobs.yml @@ -1,27 +1,27 @@ --- -- {"continuous": true, "name": "stream", "command": "~/bin/node ~/SDZeroBot/eventstream-router/main.js", mem: "2Gi", "image": "node16"} -- {"schedule": "0 2 1,15 * *", "name": "job-mostimported", mem: "256Mi", "command": "~/SDZeroBot/job reports/most-imported-scripts/most-imported-scripts.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 2,10,18 * * *", "name": "job-afc", mem: "256Mi", "command": "~/SDZeroBot/job reports/afc-sorting/afc-sorting.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "15 2,10,18 * * *", "name": "job-pafc", mem: "256Mi", "command": "~/SDZeroBot/job reports/pending-afc.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 1,13 * * *", "name": "job-npp", mem: "512Mi", "command": "~/SDZeroBot/job reports/npp-sorting/npp-sorting.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "30 0,4,8,12,16,20 * * *", "name": "job-prod", mem: "256Mi", "command": "~/SDZeroBot/job reports/prod-sorting/prod-sorting.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "30 1,5,9,13,17,21 * * *", "name": "job-afd", mem: "256Mi", "command": "~/SDZeroBot/job reports/afd-sorting/afd-sorting.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 1 * * *", "name": "job-notifier", mem: "256Mi", "command": "~/SDZeroBot/job afd-notifications/notifier.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "3 0 * * *", "name": "job-grid", mem: "256Mi", "command": "~/SDZeroBot/job reports/grid-afd-prod.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 5 * * *", "name": "job-gan", mem: "256Mi", "command": "~/SDZeroBot/job reports/gan-sorting.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "10 4 * * 1", "name": "job-g13-soon", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-soon.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "10 0 * * *", "name": "job-declined", mem: "256Mi", "command": "~/SDZeroBot/job reports/declined-afcs.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "15 0 * * *", "name": "job-g131week", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-1week.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "20 0 * * *", "name": "job-g13-elig", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-eligible.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "5 0 * * 2", "name": "job-draft", mem: "256Mi", "command": "~/SDZeroBot/job reports/draftify-watch.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "5 0 * * 3", "name": "job-pwatch", mem: "256Mi", "command": "~/SDZeroBot/job reports/prod-watch.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 1 * * *", "name": "job-rwatch", mem: "256Mi", "command": "~/SDZeroBot/job reports/redirectify-watch.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "30 3 * * 2", "name": "job-peer", mem: "256Mi", "command": "~/SDZeroBot/job reports/peer-review.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 6 * * *", "name": "job-unref", mem: "256Mi", "command": "~/SDZeroBot/job reports/unreferenced-blps.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "5 0 * * *", "name": "job-g13watch", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-watch/g13-watch.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "15,45 * * * *", "name": "stream-check", mem: "128Mi", "command": "~/SDZeroBot/job eventstream-router/check.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "20 * * * *", "name": "bot-monitor", mem: "256Mi", "command": "~/SDZeroBot/job bot-monitor/main.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "25 1,5,9,13,17,21 * * *", "name": "db-tabulator", mem: "256Mi", "command": "~/SDZeroBot/job db-tabulator/main.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "8 16 * * *", "name": "gans-list", mem: "256Mi", "command": "~/SDZeroBot/job most-gans/gans-lister.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 3 1 * *", "name": "gans-users", mem: "256Mi", "command": "~/SDZeroBot/job most-gans/update-entries.js", "image": "node16", "emails": "onfailure"} -- {"schedule": "0 4 * * *", "name": "shells", mem: "128Mi", "command": "~/SDZeroBot/job terminate-shell-pods.js", "image": "node16", "emails": "onfailure"} +- {"continuous": true, "name": "stream", "command": "~/bin/node ~/SDZeroBot/eventstream-router/main.js", mem: "2Gi", "image": "node18"} +- {"schedule": "0 2 1,15 * *", "name": "job-mostimported", mem: "256Mi", "command": "~/SDZeroBot/job reports/most-imported-scripts/most-imported-scripts.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 2,10,18 * * *", "name": "job-afc", mem: "256Mi", "command": "~/SDZeroBot/job reports/afc-sorting/afc-sorting.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "15 2,10,18 * * *", "name": "job-pafc", mem: "256Mi", "command": "~/SDZeroBot/job reports/pending-afc.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 1,13 * * *", "name": "job-npp", mem: "512Mi", "command": "~/SDZeroBot/job reports/npp-sorting/npp-sorting.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "30 0,4,8,12,16,20 * * *", "name": "job-prod", mem: "256Mi", "command": "~/SDZeroBot/job reports/prod-sorting/prod-sorting.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "30 1,5,9,13,17,21 * * *", "name": "job-afd", mem: "256Mi", "command": "~/SDZeroBot/job reports/afd-sorting/afd-sorting.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 1 * * *", "name": "job-notifier", mem: "256Mi", "command": "~/SDZeroBot/job afd-notifications/notifier.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "3 0 * * *", "name": "job-grid", mem: "256Mi", "command": "~/SDZeroBot/job reports/grid-afd-prod.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 5 * * *", "name": "job-gan", mem: "256Mi", "command": "~/SDZeroBot/job reports/gan-sorting.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "10 4 * * 1", "name": "job-g13-soon", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-soon.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "10 0 * * *", "name": "job-declined", mem: "256Mi", "command": "~/SDZeroBot/job reports/declined-afcs.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "15 0 * * *", "name": "job-g131week", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-1week.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "20 0 * * *", "name": "job-g13-elig", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-eligible.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "5 0 * * 2", "name": "job-draft", mem: "256Mi", "command": "~/SDZeroBot/job reports/draftify-watch.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "5 0 * * 3", "name": "job-pwatch", mem: "256Mi", "command": "~/SDZeroBot/job reports/prod-watch.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 1 * * *", "name": "job-rwatch", mem: "256Mi", "command": "~/SDZeroBot/job reports/redirectify-watch.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "30 3 * * 2", "name": "job-peer", mem: "256Mi", "command": "~/SDZeroBot/job reports/peer-review.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 6 * * *", "name": "job-unref", mem: "256Mi", "command": "~/SDZeroBot/job reports/unreferenced-blps.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "5 0 * * *", "name": "job-g13watch", mem: "256Mi", "command": "~/SDZeroBot/job reports/g13-watch/g13-watch.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "15,45 * * * *", "name": "stream-check", mem: "128Mi", "command": "~/SDZeroBot/job eventstream-router/check.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "20 * * * *", "name": "bot-monitor", mem: "256Mi", "command": "~/SDZeroBot/job bot-monitor/main.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "25 1,5,9,13,17,21 * * *", "name": "db-tabulator", mem: "256Mi", "command": "~/SDZeroBot/job db-tabulator/main.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "8 16 * * *", "name": "gans-list", mem: "256Mi", "command": "~/SDZeroBot/job most-gans/gans-lister.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 3 1 * *", "name": "gans-users", mem: "256Mi", "command": "~/SDZeroBot/job most-gans/update-entries.js", "image": "node18", "emails": "onfailure"} +- {"schedule": "0 4 * * *", "name": "shells", mem: "128Mi", "command": "~/SDZeroBot/job terminate-shell-pods.js", "image": "node18", "emails": "onfailure"} diff --git a/webservice/package.json b/webservice/package.json index e754394..7307370 100644 --- a/webservice/package.json +++ b/webservice/package.json @@ -6,7 +6,7 @@ "tunnels": "node tunnels.js", "test": "nodemon server.ts", "debug": "node --require ts-node/register server.js", - "restart": "webservice --backend kubernetes node16 restart", + "restart": "webservice --backend kubernetes node18 restart", "logs": "kubectl logs deployment/sdzerobot" }, "dependencies": {