How much I distorted with ansible & jenkins?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
14 views
The project is written in nodejs. Deployment looks like this:
1)Comico in the branch.
2)Jenkins picks up the change.
3)Runs tests
4) if successful, runs the ansible-playbook, which is to connect to the productions server and obnovlyaetsya app.

In the end, ansible and jenkins doing the exact same work two times(downloading a project that installs npm packages) which is quite long. I know that there is artifacts, and you can direct them to send to the server by using the archive and remove from this chain ansible at all.
Question:
1)do I understand Correctly that uncivil I don't need?
2)How correct my process?
by | 14 views

3 Answers

0 like 0 dislike
About Docker thought?

1) Go commit
2) Gathered a Docker container (it is already all Npm packages and project)
3) Ran the tests
4) If everything is OK, the same Docker launched on the prod.
by
0 like 0 dislike
So you can see what makes ansible
If the whole playbook is to copy the file, run Npm, you can do simple shell script to dump Ansible.

Ansible is needed to simplify the administration of many servers. And two servers, and a line chelnik to write.
by
0 like 0 dislike
Globally if it works fast enough, it is easier to leave it out
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users