Commit Graph

125 Commits

Author SHA1 Message Date
ionutboangiu
f36ea1676f Bump go version and update checksum 2023-10-12 13:57:47 +02:00
ionutboangiu
689a78f09c Update deb_packages ansible
Adjusted rng-tools binary path.
Removed redundant distribution, since we can just use the branch
directly.
Removed checks related to the master branch.
2023-10-09 20:53:46 +02:00
ionutboangiu
b0d8cd3856 Bump go version 2023-10-09 20:53:46 +02:00
ionutboangiu
51021f3cb2 Activate privilege escalation for removing go installation
To remove files from /usr/local/go, root privileges are required.
2023-08-29 17:10:30 +02:00
ionutboangiu
84caf3f0b4 Update github workflows
In the integration_tests one, go is now installed using actions, therefore
the ansible go installation will be skipped.
2023-08-28 12:24:59 +02:00
ionutboangiu
a285a3d497 Rename ansible roles to be consistent 2023-08-28 12:24:59 +02:00
ionutboangiu
620476f6c4 Reference the right cgrates role in ansible playbooks 2023-08-28 12:24:59 +02:00
ionutboangiu
9e0a5c0a7c Reference the right go role in ansible playbooks 2023-08-28 12:24:59 +02:00
ionutboangiu
44963afab4 Revise integration_tests playbook
Instead of using tasks to include the roles, use them directly.

The go role executes by default, unless the install_go variable
is set to false.
2023-08-28 12:24:59 +02:00
ionutboangiu
2e6fbf9434 Revise cgrates ansible role
Removed clone_repository variable from defaults. Now if it's not found
we will assume it's true.

In the cgrates building task we are not forcibly sourcing the /etc/profile
script anymore since it's redundant (we are using bash -lc to execute the
script, where -l will do that automatically).

Make sure we create symbolic links for all binaries we build (not just cgr-engine).
This meant the migrator task environment field could be removed as well.
2023-08-28 12:24:59 +02:00
ionutboangiu
b97a669fd0 Revise go ansible role 2023-08-28 12:24:59 +02:00
DanB
528f36d048 Starting 0.10.4~dev 2023-08-10 10:08:31 +02:00
DanB
14e3c92cc9 Adding hosts sample ansible inventory for deb_packages 2023-08-09 16:03:29 +02:00
ionutboangiu
fad94ebe5c Add variable to cgrates role to decide whether to clone the repo
Sometimes we want to use the already existing repo without overwriting. Defaults to true (will
clone).
2023-08-09 15:30:27 +02:00
ionutboangiu
e887ad7479 Bump go version 2023-08-09 15:30:27 +02:00
ionutboangiu
189e6d5f6c Resolve permission issue in deb_packages playbook 2023-07-21 09:01:46 +02:00
ionutboangiu
2b0be04b5b Bump go version from 1.20.5 to 1.20.6 2023-07-21 09:01:46 +02:00
ionutboangiu
531c9941fa Add task to postgres role to manage service state 2023-07-18 16:37:06 +02:00
ionutboangiu
df3ae97e57 Comment post install postgres scripts in cgrates ansible role 2023-07-12 17:06:16 +02:00
ionutboangiu
7faab6e0ff Implement postgresql ansible role 2023-07-12 17:06:16 +02:00
ionutboangiu
b6df49fbb6 Bump go version in ansible role 2023-07-12 17:06:16 +02:00
ionutboangiu
765695761a Add github action workflow for integration tests 2023-07-12 17:06:16 +02:00
ionutboangiu
43dd9e0bdd Update kafka download link and bump version 2023-07-12 17:06:16 +02:00
ionutboangiu
d8b747b8a2 Make sure kamailio dependencies are installed in role 2023-07-10 13:58:21 +02:00
ionutboangiu
91fa6675e4 Implement nginx role 2023-07-04 13:19:31 +02:00
ionutboangiu
af1262e3c1 Implement gpg role 2023-07-04 13:19:31 +02:00
ionutboangiu
d10524b46c Add the cgr-* binaries to /usr/bin instead of /usr/local/bin 2023-06-27 11:04:44 +02:00
ionutboangiu
310876837d Update shebangs for consistency 2023-06-13 20:14:58 +02:00
ionutboangiu
1df7b52e17 Add cgr-engine binary to /usr/local/bin instead of /usr/bin 2023-06-12 14:18:37 +02:00
ionutboangiu
a554946162 Make rabbitmq role idempotent by replacing shell commands with apt_key 2023-06-07 10:28:32 +02:00
ionutboangiu
f45d33a70b Make use of roles in the it_tests ansible playbook 2023-05-18 19:28:16 +02:00
ionutboangiu
f523cb444a Implement install_kafka role 2023-05-18 19:28:16 +02:00
ionutboangiu
995199e634 Revise install_rebbitmq role 2023-05-18 19:28:16 +02:00
ionutboangiu
0657a9525e Make install_mongodb role idempotent 2023-05-18 19:28:16 +02:00
ionutboangiu
73fa59d32b Implement install_rabbitmq role 2023-05-18 19:28:16 +02:00
ionutboangiu
0743363bb2 Implement install_mongodb role 2023-05-18 19:28:16 +02:00
ionutboangiu
6b4dbbbe24 Change extension of .yml files to .yaml for consistency 2023-05-18 19:28:16 +02:00
ionutboangiu
f3807bc656 Remove go.yaml files in favour of install_go role 2023-05-18 19:28:16 +02:00
ionutboangiu
4bc85329c5 Add ansible role for kamailio 2023-05-07 19:25:19 +02:00
ionutboangiu
41cb903515 Use ansible roles for reusable tasks 2023-05-07 19:25:19 +02:00
gezimbll
8a18eb87ec Changed path for git repo 2023-03-21 16:22:50 +01:00
gezimbll
3b64bb4fef Updated paths for copr ansible scripts 2023-03-21 16:22:50 +01:00
gezimbll
bc486a0373 updated folder name for copr ansible script 2023-03-01 17:09:47 +01:00
gezimbll
877f726a35 ansible scripts for copr server 2023-03-01 17:09:47 +01:00
ionutboangiu
b52d049219 Revise freeswitch ansible script 2023-02-27 09:10:31 +01:00
ionutboangiu
5e8619a83e Update rpm ansible script 2022-12-02 14:24:18 +02:00
andronache98
43df5231bf Changed go version in ansible scripts 2021-12-15 19:58:53 +01:00
andronache
2693f5b767 Fixed ansible script for calls freeswitch 2021-11-01 13:50:23 +02:00
Trial97
fb655ee028 Updated ansible 2021-09-10 11:23:41 +02:00
Trial97
edef262ea1 Updated ansible scripts for nginx 2021-09-01 17:29:41 +03:00