|
|
|
@ -29,8 +29,9 @@ app.get('/cscclassprofilestaging', async (req, res) => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// command for generating deplyoment template
|
|
|
|
|
//await call(`kubectl create deployment ${name} --image ${image} --port=80 -o yaml --dry-run > test.yaml`);
|
|
|
|
|
// command for generating deployment template
|
|
|
|
|
//await call(`kubectl create deployment ${name} --image ${image} --port=80 -o yaml --dry-run > template.yaml`);
|
|
|
|
|
|
|
|
|
|
console.log(`${(new Date()).toUTCString()} - Doing deploy for for branch: ${req.query.ref}`); |
|
|
|
|
|
|
|
|
|
// try deleting incase it already exists
|
|
|
|
|