ionutboangiu
778f5293cd
update kafka version in role (3.7.0->3.8.0)
2024-08-19 12:11:51 +02:00
gezimbll
6b530e94b7
revising integration tests
2024-06-06 14:33:25 +02:00
ionutboangiu
a765454180
Port relevant new/changed ansible roles from master
2024-06-06 11:13:32 +02:00
ionutboangiu
52e879b505
Bump go version
2024-06-06 11:13:32 +02:00
ionutboangiu
141c0efbd7
Bump kafka version inside ansible role
2024-04-11 13:23:23 +02:00
ionutboangiu
09f4ede812
Remove condition when moving package files to pkg host
2024-02-28 12:45:55 +01:00
ionutboangiu
4850a75499
Bump go version
2024-02-28 12:45:55 +01:00
Bas Couwenberg
f1c5aae7da
Update deb_packages playbook to support multiple distributions.
2024-02-27 16:25:57 +01:00
Bas Couwenberg
d8c5a61253
Fix script-not-executable Lintian issue.
2024-02-27 16:25:57 +01:00
Bas Couwenberg
f9bfb8cba1
Fix executable-not-elf-or-script Lintian issues.
2024-02-27 16:25:57 +01:00
Bas Couwenberg
ef1696d5e1
Pass commit date and hash to -ldflags separately.
2024-02-27 16:25:57 +01:00
ionutboangiu
6d20afc8c5
Bump mongodb version in ansible role
2023-10-26 16:26:52 +02:00
ionutboangiu
4d05b1683b
Delete coprgate ansible playbook
2023-10-19 17:20:25 +02:00
ionutboangiu
7dbef9443b
Update kafka handler to run with sudo
2023-10-19 17:20:25 +02:00
ionutboangiu
0651f3cb8f
Update kafka ansible role
...
- use kraft instead of zookeeper
- add handlers in case of cfg changes
- create a separate user for the kafka service
- bump kafka version
- make the role more configurable
2023-10-17 17:41:19 +02:00
ionutboangiu
32517c6d68
Update rabbitmq role for latest debian/ubuntu compatibility
2023-10-16 18:56:49 +03:00
ionutboangiu
dd82bb3c4b
Add sanity check to prevent xml reader panic
...
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).
If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. This avoids a nil expr error coming from
the xmlquery library.
Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.
Added an integration tes for the special case where the
xml_root_path field is left empty. Before the change it
used to trim the root element from the path slice when
attempting to retrieve a the relative path slice.
2023-10-16 13:31:14 +03:00
ionutboangiu
f36ea1676f
Bump go version and update checksum
2023-10-12 13:57:47 +02:00
arberkatellari
e59b340e51
Add test for radius with vendor
2023-10-09 21:07:20 +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
arberkatellari
e957ae00f4
Improve functionality for Drone CI
2023-09-26 21:33:07 +02:00
arberkatellari
05ede32f0f
Add Drone CI
2023-09-01 18:01:21 +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
b7d172f78a
Fix misspellings
2023-06-21 11:02:39 +02:00
ionutboangiu
262c1bd981
Revise logging .conf files
2023-06-16 10:24:13 +02:00
ionutboangiu
c423d1e81f
Remove executable bit from doc files and rename them
2023-06-16 10:24:13 +02:00