A
A
Alexander Buliterov2020-10-07 08:56:06
linux
Alexander Buliterov, 2020-10-07 08:56:06

How to deploy a working environment on Linux?

Hello!

It is necessary to deploy a working environment on the user's Linux machine (? I hope I use the term correctly)
By working environment I mean the following:
1. installing applications via apt-get
2. cloning git and Mercurial repositories
3. compiling sources (make, cmake, configuration)
4. launch tests

It is also necessary to update the working environment (and updates will be many and often):
1. update (pull) the repositories and recompile the sources
2. install applications
Ie . install and update

Now there is a 14 GB virtual machine image. Transferring it to users is not good.
The circle of users is narrow (communication is established), so there is no need to do something intricate for all occasions.

Head-on solution: bash script.
Docker?
deb package? to update the environment via apt with my ppa server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pfg21, 2020-10-07
@pfg21

ansible??
if there is a ready-made image, then why be smart?? deploy on the user's machine and be done with it.

S
Saboteur, 2020-10-07
@saboteur_kiev

You can take your bash script and distribute it to users through ansible, it will work right away.
Over time, read the ansible doc and rewrite the bash script to ansible playbooks, which will simplify deployment to a different zoo of systems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question