1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-26 13:14:31 +01:00
Commit Graph

366 Commits

Author SHA1 Message Date
Pavel Odintsov
0fb23ec144 Wrapped command in quotes to avoid issues with YAML 2022-04-29 21:02:05 +01:00
Pavel Odintsov
86c16e1acc Added logic to build base image with caching 2022-04-29 20:59:55 +01:00
Pavel Odintsov
36a3229d8d Enabled extended regular expressions for sed and improved regular expression for matching 2022-04-29 20:51:22 +01:00
Pavel Odintsov
5e9634d5c2 Added logic to cut revision from version number: 1.2.0+git20220427-1 to 1.2.0+git20220427 2022-04-29 20:44:48 +01:00
Pavel Odintsov
99de6e7981 Added CI target to build upstream package for Debian 2022-04-29 20:38:47 +01:00
Pavel Odintsov
dbc0f2c9b5
Added sudo for Docker login 2022-04-21 23:45:14 +01:00
Pavel Odintsov
e33dac3bde Fixed username for GitHub 2022-04-21 21:22:49 +01:00
Pavel Odintsov
5ade9c4cbd Aded prefix for container registry 2022-04-21 21:19:12 +01:00
Pavel Odintsov
b5e6a328f8 Added Docker image build by default 2022-04-21 21:03:17 +01:00
Pavel Odintsov
4f179e1e71 Updated Docker image and added CI/CI task to prepare Docker images 2022-04-21 21:02:00 +01:00
Pavel Odintsov
8d187cde31 Fixed type to string from integer 2022-04-21 20:37:46 +01:00
Pavel Odintsov
f982a83161 Corrected template name 2022-04-21 20:37:01 +01:00
Pavel Odintsov
7af0a0a35f Unified RedHat family builds 2022-04-21 20:36:12 +01:00
Pavel Odintsov
6b71c59879 Corrected parameters for Debian CI tasks 2022-04-21 20:07:18 +01:00
Pavel Odintsov
2c137e51de Fixed indentation 2022-04-21 20:06:12 +01:00
Pavel Odintsov
ff9ed34294 Unified Debian CI builds 2022-04-21 20:02:40 +01:00
Pavel Odintsov
f86bda3a96 Unified Ubuntu builds using template job 2022-04-21 19:32:41 +01:00
Pavel Odintsov
48db4ada67 Set correct Docker image for Jammy 2022-04-03 21:22:28 +01:00
Pavel Odintsov
7dbf8ab4a3 Added builds for Debian 11 and Ubuntu 22.04 2022-04-03 21:21:12 +01:00
Pavel Odintsov
dbb22a5097 Switched to latest images for all Linux distributions 2022-04-03 21:08:52 +01:00
Pavel Odintsov
dbfa9bf42e Deprecated Debian 8 for new versions of FastNetMon Community. The very last version which supports Debian 8 will be 1.2.0 2022-04-03 17:33:02 +01:00
Pavel Odintsov
3ec4437d9a Deprecated CentOS 6 2022-04-03 17:19:51 +01:00
Pavel Odintsov
910624eaf5 Removed CentOS 6 as CI build target. We officially deprecate it for new versions of FastNetMon. The very last version which supports CentOS 6 will be 1.2.0 2022-04-03 17:18:49 +01:00
Pavel Odintsov
f75048bce0 Upgraded CentOS 6.9 to 6.10 2022-04-02 20:42:46 +01:00
Pavel Odintsov
b671e01457 Reverted build to 4 CPU cores and large instance type as xlarge is not available on free plan 2022-04-02 19:36:03 +01:00
Pavel Odintsov
95c98a8406 Increased machine size from large to xlarge and adjusted number of compilation threads 2022-04-02 18:33:51 +01:00
Pavel Odintsov
eae160c98b
Increased CirceCI machine type to large to speedup gcc build 2022-04-02 14:36:42 +01:00
Pavel Odintsov
4074d245f0 Switched CentOS 8 to AlmaLinux 2022-04-02 01:49:38 +01:00
Pavel Odintsov
cc5e38bbd7
Increased time limit for gcc build on CentOS 8 2022-04-02 01:44:03 +01:00
Pavel Odintsov
8c86f3d781
Increased time limit for gcc build on CircleCI 2022-04-02 01:42:22 +01:00
Pavel Odintsov
b79d39e788 Bump version to 1.2.1 for development release 2022-04-02 01:39:06 +01:00
Pavel Odintsov
652e39ba42 Moved CI builds into subfolder 2022-03-29 22:00:24 +01:00
Pavel Odintsov
1ab949968c Switched to pipeline variables for FNM version 2022-03-29 22:00:24 +01:00
Pavel Odintsov
36d786c001 Added pipeline variable to keep FastNetMon version for CircleCI 2022-03-29 22:00:24 +01:00
Pavel Odintsov
3c075f5115 Fixed build for CentOS 6 2022-03-29 22:00:24 +01:00
Pavel Odintsov
76ff423f13 Bump version for CI 2022-03-28 14:58:01 +01:00
Pavel Odintsov
f2d48d9f07 Bump dev version build 2022-03-25 13:40:29 +00:00
Pavel Odintsov
3df12ebccb FastNetMon Release 1.1.8 2022-03-24 01:29:11 +00:00
Pavel Odintsov
79ff4876fc Switched to archive CentOS 6 repository 2022-03-24 01:29:11 +00:00
Pavel Odintsov
915e66dad8 Changed EPEL6 install URL due to deprecation 2022-03-24 01:29:11 +00:00
Pavel Odintsov
1d54eb27ab Changed dependencies cache key to force full dependencies rebuild 2022-03-13 23:45:05 +02:00
Pavel Odintsov
795ea2ccb0 We need to create bundle after compiling FastNetMon 2022-03-13 23:45:05 +02:00
Pavel Odintsov
bdd30a146f Bumped revision version for dependencies to update grpc and cmake 2022-03-13 23:45:05 +02:00
Pavel Odintsov
eba38d87f3 Split FNM build and dependencies build into different steps for easier rerun 2022-03-13 23:45:05 +02:00
Pavel Odintsov
eb2d21c81d Cleanup for old cache 2022-03-13 23:45:05 +02:00
Pavel Odintsov
5330f3de8c Few more fixes to handle compile version bump 2022-03-13 23:45:05 +02:00
Pavel Odintsov
4b3384783a Switched to use custom compiler on all platforms. I see no reasons to maintain different configurations for different platforms 2022-03-13 23:40:27 +02:00
Pavel Odintsov
0ce8eb6b27 We need more time to build dependencies 2022-03-13 17:18:21 +02:00
Pavel Odintsov
806ffe6598 Removed old build targets, cleanup build cache 2022-03-13 17:18:21 +02:00
Pavel Odintsov
1ec3f668e8 Made gobgp, api and boost build options default. Switched to C++ 14 2022-03-13 17:18:21 +02:00
Pavel Odintsov
a60a50ad2c Switched Debian 8 to custom compiler, removed cache for Centos 7 and Ubuntu 14 2022-03-13 17:18:21 +02:00
Pavel Odintsov
344cfa41fd Moved compiler configuration to argument, switches CentOS 7 and Ubutnu 14.04 to custom compiler 2022-03-13 17:18:21 +02:00
Pavel Odintsov
e999e9126e Added perl-Archive-Tar as dependency for CentOS builds 2022-03-13 17:18:21 +02:00
Pavel Odintsov
8d18dba250 Enabled build mode by default. Disabled mirror use by default 2022-03-13 17:18:21 +02:00
Pavel Odintsov
b2da05e6e1 Added option to process intrenal traffic as external for attack detection purposes. 2022-03-13 17:18:21 +02:00
Pavel Odintsov
ba0b82cd5c Require C++ 11 support in compiler. Dropped CI target which builds code on standard gcc compilers in CentOS 6. 2022-02-11 12:38:08 +00:00
Pavel Odintsov
7879bf87e2 Bump version in CI to build packages for new version of FNM 2022-02-10 13:39:54 +00:00
Pavel Odintsov
1d3a635af7 Split fastnetmon_install.pl into two scripts and moved all source compilation logic into fastnetmon_build.pl 2022-02-09 14:42:21 +00:00
Pavel Odintsov
b29599547a Switched new installs for Ubuntu to official binary packages 2022-02-09 14:42:21 +00:00
Pavel Odintsov
6e44268a2e We need to rebuild all libs with new compiler 2022-02-09 14:42:21 +00:00
Pavel Odintsov
db7bdf7c51 Fixed command to build gcc, we cannot use mirror in this case 2022-02-09 14:42:20 +00:00
Pavel Odintsov
a1d53e165e Added separate step for compiler build on CentOS 6 2022-02-09 14:42:20 +00:00
Pavel Odintsov
216e0a17df Changed cache key to force libicu rebuild 2022-02-09 14:42:20 +00:00
Pavel Odintsov
ebded5a775 Added rpath for Boost's regexp library and improved build process for new CentOS 2022-02-09 14:42:20 +00:00
Pavel Odintsov
b7fa6989dd Attempt to build fresh Boost on CentOS66 2022-02-09 14:42:20 +00:00
Pavel Odintsov
95ed176c63 Added different version of dateutil 2022-02-09 14:42:20 +00:00
Pavel Odintsov
8b2f0507f9 Added ldd call to debug dependency issues 2022-02-09 14:42:20 +00:00
Pavel Odintsov
3bc37793b6 Downgraded s3util version to version which works well on CentOS 6 2022-02-09 14:42:20 +00:00
Pavel Odintsov
a6708ef313 Fixed api flag name, added explicit failure if we cannot build mongodb dependency 2022-02-09 14:42:20 +00:00
Pavel Odintsov
e652556bb8 Added separate builds for each Ubuntu 2022-02-09 14:42:20 +00:00
Pavel Odintsov
9cb19128df Added automatic upload to S3 2022-02-09 14:42:20 +00:00
Pavel Odintsov
e62562773f Added yum install accept by default for EPEL 2022-02-09 14:42:20 +00:00
Pavel Odintsov
a657ecb058 Added EPEL install as pip dependency on CentOS 6 2022-02-09 14:42:20 +00:00
Pavel Odintsov
22976f50c6 Added s3cmd for all binary package build endpoints 2022-02-09 14:42:20 +00:00
Pavel Odintsov
c51f07d24e Removed sudo and added S3 ORB for CircleCI 2022-02-09 14:42:20 +00:00
Pavel Odintsov
640318cf01 Extended build time allowance, explicitly added distro name to package build script 2022-02-09 14:42:20 +00:00
Pavel Odintsov
a7e4ba2dbf Added CentOS 7 and CentOS 8 builds for rpm packages 2022-02-09 14:42:20 +00:00
Pavel Odintsov
2a35e561ed Added external build tasks for Debian 9 and Debian 10. We cannot use Jessie packages on Debian 9 because of dependencies on OpenSSL 1.0.0: libssl.so.1.0.0 => not found 2022-02-09 14:42:20 +00:00
Pavel Odintsov
5ddb169f5f Added version configuration for CentOS 6 build 2022-02-09 14:42:20 +00:00
Pavel Odintsov
d8c50fa1cc Fix indentation 2022-02-09 14:42:20 +00:00
Pavel Odintsov
8de46977ab Fixed typo 2022-02-09 14:42:20 +00:00
Pavel Odintsov
ca45ae4bab Added build target for not recommended CentOS 6 2022-02-09 14:42:20 +00:00
Pavel Odintsov
4846517210 Added build task to Build all packages for Debian 7 2022-02-09 14:42:20 +00:00
Pavel Odintsov
85fd05f0eb Added build task for Debian 8 2022-02-09 14:42:20 +00:00
Pavel Odintsov
3a36a3ddf0 Implement CI task to build FastNetMon for all popular Ubuntu distros 2022-02-09 14:42:20 +00:00
Pavel Odintsov
65d02c6a7a Improved our own logic to build libraries bundle 2022-02-09 14:42:20 +00:00
Pavel Odintsov
8f62eb1a1b Added debug about Boost libraries and switched to using bundled FNM build from script 2022-02-09 14:42:20 +00:00
Pavel Odintsov
c77ed59379 Added example configuration for test FNM run 2022-02-09 14:42:20 +00:00
Pavel Odintsov
8e4fab2669 Added logic to ignore failed command and continue processing 2022-02-09 14:42:20 +00:00
Pavel Odintsov
e3c66677ee We need to collect install log as artifact 2022-02-09 14:42:20 +00:00
Pavel Odintsov
97e5baa391 Added command to disable FastNetMon compilation for CI 2022-02-09 14:42:20 +00:00
Pavel Odintsov
f1fbe7527f Moved test daemon call downward 2022-02-09 14:42:20 +00:00
Pavel Odintsov
9862559039 Added true to address "tar: /opt: file changed as we read it" 2022-02-09 14:42:20 +00:00
Pavel Odintsov
66a1091dd8 Changed artifacts to capture only tar.gz file 2022-02-09 14:42:20 +00:00
Pavel Odintsov
201daff68c Added logic to install cmake from sources for all lib build 2022-02-09 14:42:20 +00:00
Pavel Odintsov
45d12c0d0c All lib build cannot use mirror due to Boost distro size 2022-02-09 14:42:20 +00:00
Pavel Odintsov
c2d8f95a2f Added Ubuntu 14.04 build with all libs 2022-02-09 14:42:20 +00:00
Pavel Odintsov
c9c22efc36 Added Ubuntu 14.04. It's still pretty popular 2022-02-09 14:42:20 +00:00
Pavel Odintsov
049ef32cf3 Unified save and restore cache names 2022-02-09 14:42:20 +00:00
Pavel Odintsov
f95eb81c05 Fixed variable mapping 2022-02-09 14:42:20 +00:00
Pavel Odintsov
1b9f7c53b0 Added CI task for Debian Jessie, we need packages for it 2022-02-09 14:42:20 +00:00
Pavel Odintsov
6a010b5d94 Added PF_RING header from system folder to CircleCI cache 2022-02-09 14:42:20 +00:00
Pavel Odintsov
91e3256983 Increased time to build first package, we need more time for full rebuild. 2022-02-09 14:42:20 +00:00
Pavel Odintsov
c5689c8449 We need dependency rebuild 2022-02-09 14:42:20 +00:00
Pavel Odintsov
e7bd39904d Improved failure experience in CI environment 2022-02-09 14:42:20 +00:00
Pavel Odintsov
25e64d486a Removed ldconfig changes, added conf option flag, added FNM run on CI after build 2022-02-09 14:42:20 +00:00
Pavel Odintsov
1b2fe874ae Enabled GoBGP and API builds for all Linux distributions excluding CentOS 6 2022-02-09 14:42:20 +00:00
Pavel Odintsov
e0cfad38e3 Changed apt-get to yum for CentOS 2022-02-09 14:42:20 +00:00
Pavel Odintsov
706f8d2cbc Added CentOS 6,7,8 2022-02-09 14:42:20 +00:00
Pavel Odintsov
52682c74ad Added Debian 9 and 10 for CI 2022-02-09 14:42:20 +00:00
Pavel Odintsov
449f465a0b Added all Ubuntus for CircleCI 2022-02-09 14:42:20 +00:00
Pavel Odintsov
55d48d8d96 Added logic to cache compiled dependencies and skipt their build if we've got them 2022-02-09 14:42:20 +00:00
Pavel Odintsov
91b1439610 Split dependency install process into two steps: packages and compilation 2022-02-09 14:42:20 +00:00
Pavel Odintsov
dab1c4a439 Increased build time for CircleCI 2022-02-09 14:42:20 +00:00
Pavel Odintsov
9a754ea03f Enabled CircleCI for Ubuntu 20.04 builds 2022-02-09 14:42:20 +00:00
Pavel Odintsov
f9e1bd92f5 Add .circleci/config.yml 2022-02-09 14:42:20 +00:00