Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Affected Issue(s): Fix latest "express-versioned" #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

muhammad-levi
Copy link

Before

image

After

image

https://www.notion.so/DevOps-Fix-ansible-express-role-so-the-service-restarts-with-the-latest-express-versioned-7dedbb6f4a2748f993c6e4b534b3bcbd

What this commit has achieved:

  1. Previously the service showed pm2[460133]: [PM2] Process /home/react/express-versioned/${ANSIBLE_DATE_TIME_EPOCH}/dist/index.js restored in its status log, after this changes it is now pm2[463199]: [PM2] Process /home/react/express/dist/index.js restored with /home/react/express is symlink to latest /home/react/express-versioned/${ANSIBLE_DATE_TIME_EPOCH}

https://www.notion.so/DevOps-Fix-ansible-express-role-so-the-service-restarts-with-the-latest-express-versioned-7dedbb6f4a2748f993c6e4b534b3bcbd

What this commit has achieved:
1. Previously the service showed `pm2[460133]: [PM2] Process /home/react/express-versioned/${ANSIBLE_DATE_TIME_EPOCH}/dist/index.js restored` in its status log, after this changes it is now `pm2[463199]: [PM2] Process /home/react/express/dist/index.js restored` with `/home/react/express` is symlink to latest `/home/react/express-versioned/${ANSIBLE_DATE_TIME_EPOCH}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant