-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix pm2-process restart error #11
base: master
Are you sure you want to change the base?
Conversation
peterMuriuki
commented
Sep 7, 2020
•
edited
Loading
edited
- use weareinteractive.pm2 role to install and configure pm2 processes
- Test using podman
1ef616e
to
4f29a79
Compare
It can be really stressful dealing with docker when you want to containerize a service that makes use of systemd
Somehow this way when the handler service start task runs it does not fail
created issue to look at idempotence and linting here: #13 |
what is causing the test to fail? |
This reverts commit cbb776d.
tasks/configure.yml
Outdated
ignore_errors: true | ||
tags: | ||
- molecule-idempotence-notest # noqa 301 | ||
- name: pm2 configure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some of the envs that should be passed are outputs of havin run some tasks for example. pm2 start command needs to be passed the path where the index file is, the index file is an output of running build.
The problem is that I understand dependencies will run before the role actually executes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, makes sense
Forced due to reason that ll containers running on github actions run on systemd-unsupported docker containers
Make it possible to deploy several apps to the same host
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite a number of places where code is commented out, could we either remove it or make relevant parts part of the code?
Are we using both Github actions and drone or only one of them is going to be relevant?