From efe1e26b69888a6c31fcc39134d70a4b416e05c9 Mon Sep 17 00:00:00 2001 From: Shahan Nedadahandeh Date: Tue, 7 Jun 2022 02:42:14 -0400 Subject: [PATCH] Updated script --- csccp.js | 2 +- run.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 run.sh diff --git a/csccp.js b/csccp.js index 05e6350..95e014c 100644 --- a/csccp.js +++ b/csccp.js @@ -13,7 +13,7 @@ app.get('/cscclassprofilestaging', async (req, res) => { await call(`kubectl expose deployment ${name}`); await call(`kubectl create ingress ${name} --rule='${name}-snedadah.k8s.csclub.cloud/*=${name}:80'`); - res.send('Hello World!') + res.send('Finished redeploy!') }) async function call(cmd){ diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..0e1ead9 --- /dev/null +++ b/run.sh @@ -0,0 +1,2 @@ +npm install +npx forever start csccp.js