1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-26 09:03:49 +01:00
Commit Graph

366 Commits

Author SHA1 Message Date
Pavel Odintsov
2e0039b1cb Fixed typo and added correct folder prefix 2023-01-15 20:42:32 +00:00
Pavel Odintsov
bb445cd6da Switched path to fastnetmon 2023-01-15 20:39:49 +00:00
Pavel Odintsov
e8088d8b2f Fixed typo 2023-01-15 20:35:43 +00:00
Pavel Odintsov
8af59ee9d6 Switched CentOS build to VM in attempt to increase amount of resources for builds and increase security of our tokens 2023-01-15 20:34:09 +00:00
Pavel Odintsov
2cad384221 Upgrade machine images 2023-01-15 20:25:26 +00:00
Pavel Odintsov
33208acfa9 There are no reasons to use artifacts on CircleCI as it's chargeable asset as we use our S3 2023-01-15 19:48:44 +00:00
Pavel Odintsov
9eb10668d2 Disabled GCE build 2023-01-15 19:28:39 +00:00
Pavel Odintsov
0e21e2b9d2 Switched GCE to large 2023-01-15 19:07:52 +00:00
Pavel Odintsov
ad0270b7c7 CircleCI configuration fix 2023-01-15 19:04:22 +00:00
Pavel Odintsov
ce91f9345e Added GCE target as it may be useful for IPv6 testing 2023-01-15 18:58:00 +00:00
Pavel Odintsov
5127b94aea Let's try enabling ARM build to test platform configuration 2023-01-15 18:35:20 +00:00
Pavel Odintsov
1d47d66e6e Reverted type from xlarge to large 2023-01-14 21:29:05 +00:00
Pavel Odintsov
19eb81c2c5 Do not store libraries bundle as artifact as we clearly do not need it. Plus tried to switch one build to xlarge 2023-01-14 21:25:12 +00:00
Pavel Odintsov
4a3b136fe1 Unified gcc folder naming with other libraries. Removed package installer app and install_fastnetmon_dependencies can be usefd instead. Improved FastNetMon build tool. Unified gcc build system 2023-01-13 16:24:54 +00:00
Pavel Odintsov
ae64f39be1 We do not need Env module anymore 2023-01-13 15:08:05 +00:00
Pavel Odintsov
5e45c465b3 Added logic to run fastnetmon_api_client from CI to check for linking issues 2023-01-13 14:28:26 +00:00
Pavel Odintsov
be3c76819a We need to check that fastnetmon_client can run smoothly from CI as it may have linking issues 2023-01-13 14:20:18 +00:00
Pavel Odintsov
a4439d5e29 Bump version for Docker image 2023-01-12 19:01:19 +00:00
Pavel Odintsov
529375f881
Fedora 35 End Of Life tomorrow, we're removing CI for it
Tomas Hrcka thrcka@redhat.com via lists.fedoraproject.org  to devel-announce, test-announce

Hello all,

Fedora 35 will go end of life for updates and support on 2022-12-13
No further updates, including security updates, will be
available for Fedora 35 after the said date. All the updates of Fedora
35 being pushed to stable will be stopped as well.

Fedora 36 will continue to receive updates until approximately one
month after the release of Fedora 38. The maintenance schedule of
Fedora releases is documented on the Fedora Project wiki [0]. The
Fedora Project wiki also contains instructions [1] on how to upgrade
from a previous release of Fedora to a version receiving updates.

Regards,
Tomas Hrcka
Fedora Release Engineering
2022-12-12 15:17:52 +00:00
Pavel Odintsov
5763a37ecc Disabled CircleCI standard cache and switched to our new persistent caching system 2022-12-03 17:23:49 +00:00
Pavel Odintsov
ccde51651f Added missing argument 2022-12-03 14:05:31 +00:00
Pavel Odintsov
7100b5e8c5 Unified Debian and Ubuntu build pipelines 2022-12-03 14:03:59 +00:00
Pavel Odintsov
05da488dd6 Improved script which builds FNM itself 2022-12-03 13:45:59 +00:00
Pavel Odintsov
2ea5b16546 Switched gcc build to new package system 2022-12-02 19:26:35 +00:00
Pavel Odintsov
c88d738cde Fixed build order 2022-12-02 19:20:54 +00:00
Pavel Odintsov
3a38464982 Get rid of custom module 2022-12-02 18:41:22 +00:00
Pavel Odintsov
f1aa74de55 Added additional repos to pull perl-DateTime 2022-12-02 18:31:24 +00:00
Pavel Odintsov
0084036170 Added Epel, we need it for perl-DateTime 2022-12-02 18:18:00 +00:00
Pavel Odintsov
a8687370ec Full rebuild of dependencies 2022-12-02 14:36:36 +00:00
Pavel Odintsov
9dff9d31d7 Fixed name of package for RH family 2022-12-02 14:34:07 +00:00
Pavel Odintsov
cb33195b70 Added libdatetime-perl as dependency for build_all_fastnetmon_dependencies.pl 2022-12-02 14:30:46 +00:00
Pavel Odintsov
58a8f9147b Added extension for perl scripts 2022-12-02 14:22:52 +00:00
Pavel Odintsov
bab6fc45b3 Switched dependencies build to new script 2022-12-02 14:20:56 +00:00
Pavel Odintsov
3b738ead1f Disabled ARM builds for now to fix CI color 2022-12-02 12:16:31 +00:00
Pavel Odintsov
c00f5ffed6 Unfortunately, we're not ready for this change as ARM64 can be enabled only for machine builds and not supported by Docker: https://circleci.canny.io/cloud-feature-requests/p/support-arm-resource-class-on-docker-executor 2022-11-30 20:20:08 +00:00
Pavel Odintsov
c7a7612d2d Added Debian builds for ARM64 2022-11-30 20:15:19 +00:00
Pavel Odintsov
ff18c5b3d7 We've pushed official images for https://packages.debian.org/bullseye-backports/fastnetmon and we do not need it in CI anymore 2022-11-30 19:55:28 +00:00
Pavel Odintsov
e374e6d824 Added Debian 12 (future release) and Fedora 38 (future release) 2022-11-30 19:26:57 +00:00
Pavel Odintsov
4fd4f0d142 Fixed path for series 2022-11-30 19:18:16 +00:00
Pavel Odintsov
db3ce483de Remove all patches for Debian Upstream 2022-11-30 19:15:35 +00:00
Pavel Odintsov
eac549cfdf Removed Debian patches as we've patched libbpf stuff in main branch 2022-11-30 19:11:17 +00:00
Pavel Odintsov
f526525643 Disabled brew audit as it does not like HEAD Formula and breaks build 2022-11-30 18:52:39 +00:00
Pavel Odintsov
b523ec0e96 Added logic to print name of RoboCop checks triggered by brew audit 2022-11-30 18:06:14 +00:00
Pavel Odintsov
6d19de965a Disabled brew audit stric mode in effort to address: Head-only (no stable download) 2022-11-30 11:55:34 +00:00
Pavel Odintsov
fb06b56120 Added --HEAD for MacOS builds as it's required for install for HEAD formulas 2022-11-25 13:33:03 +00:00
Pavel Odintsov
3ee0830b02 Next version will be 1.2.4 2022-10-17 18:45:20 +01:00
Pavel Odintsov
fd4f232239 Rebuild all dependencies before release 2022-10-15 16:01:53 +01:00
Pavel Odintsov
025e65b5e1 Starting new FastNetMon 1.2.3 release 2022-06-20 13:49:13 +01:00
Pavel Odintsov
bec65ce6fd Added argument to pass installer name on ARM64 platforms 2022-06-18 14:10:16 +01:00
Pavel Odintsov
41749d4636 Added ARM64 target 2022-06-18 13:58:37 +01:00
Pavel Odintsov
6c7d626a5d Added new-formula test for Homebrew 2022-06-17 19:10:43 +01:00
Pavel Odintsov
386df38589 Returned missing command to copy HomeBrew manifest 2022-06-17 18:45:36 +01:00
Pavel Odintsov
153af61c31 Switched to new logic to use native Homebrew manifest for builds 2022-06-17 18:27:34 +01:00
Pavel Odintsov
cd04048e37 Applied recommendations from Homebrew linter. Added linter in CI. 2022-06-17 18:20:26 +01:00
Pavel Odintsov
894353d4fb No need in HEAD when we do non HEAD release 2022-06-17 16:25:03 +01:00
Pavel Odintsov
59bddb9ea2 For CI we need to have builds from master all the time 2022-06-17 15:45:33 +01:00
Pavel Odintsov
f94824c881 Updated XCode version to more modern one 2022-06-17 14:53:59 +01:00
Pavel Odintsov
44c3e192d5 Switched to latest commit for HomeBrew 2022-06-17 14:46:22 +01:00
Pavel Odintsov
5d6a96ca4c Switched Windows build to use ORBs 2022-06-17 13:24:11 +01:00
Pavel Odintsov
142eb7e2c0 Switched to use Windows 2019 2022-06-17 13:18:30 +01:00
Pavel Odintsov
f2c6e7e9a4 Added Windows 2021 CI target 2022-06-17 13:11:39 +01:00
Pavel Odintsov
1a282310b3 As we use FastNetMon build target for master builds switched to use master by default 2022-06-17 12:49:40 +01:00
Pavel Odintsov
9ec38c73ee
Added logic to build Home Brew package directly from CI 2022-06-11 22:27:44 +01:00
Pavel Odintsov
c9ec3881ec Added command to build FastNetMon on macOS CI target 2022-06-11 19:21:31 +01:00
Pavel Odintsov
0abb55e511 Switched OpenSSL build on macos to OpenSSL 3 and explicity set library search path to OpenSSL 3 from HomeBrew 2022-06-11 19:08:41 +01:00
Pavel Odintsov
a62516a188 We need OpenSSL on MacOS build and it need to be installed from HomeBrew 2022-06-11 16:21:57 +01:00
Pavel Odintsov
9f7e0b8a98 Added capnproto dependency for macos build 2022-06-11 16:12:51 +01:00
Pavel Odintsov
6f949ca46a Added some dependencies for MacOS build 2022-06-11 16:05:38 +01:00
Pavel Odintsov
c2c1454749 As usual for all the things we need brew on MacOS platform 2022-06-11 15:53:14 +01:00
Pavel Odintsov
f8fac8de64 Fixed build folder name 2022-06-11 15:51:19 +01:00
Pavel Odintsov
dba808f106 Fixed typo in CI build file 2022-06-11 15:50:30 +01:00
Pavel Odintsov
834545186e Attempt to enable MacOS builds 2022-06-11 15:49:50 +01:00
Pavel Odintsov
38cb9740ff Debian sid image build breaks quite often and I think that we should disable cache for it to avoid failed builds 2022-06-10 20:45:05 +01:00
Pavel Odintsov
31b6262bdd Due to missing grpc-cpp, grpc-cpp, grpc-cpp in EPEL 8 we cannot do FNM build for it: https://bugzilla.redhat.com/show_bug.cgi?id=1757147 2022-06-10 20:34:16 +01:00
Pavel Odintsov
cd62d04543 Added Powertools repo for CentOS 8 EPEL 8 build as it has plenty of devel packages 2022-06-10 20:01:15 +01:00
Pavel Odintsov
39d4b3b092 We need to use -y flag to confirm EPEL installation 2022-06-10 19:57:35 +01:00
Pavel Odintsov
c4c6397774 We have no arguments in this case 2022-06-10 19:56:21 +01:00
Pavel Odintsov
0ad8673fe7 Attempt to build EPEL 8 package 2022-06-10 19:55:19 +01:00
Pavel Odintsov
bec0a62053 Created specific build target for EPEL 9 2022-06-10 19:52:30 +01:00
Pavel Odintsov
3887e5761f Copied Fedora upstream SPEC to EPEL spec as we need to disable capnproto dependency for now 2022-06-10 19:41:23 +01:00
Pavel Odintsov
8774578498 Added EPEL package for EPEL 9 build 2022-06-10 19:30:45 +01:00
Pavel Odintsov
282d6e1cc1 Added crb repo for EPEL 9 build. We need it for dev packages 2022-06-10 19:27:03 +01:00
Pavel Odintsov
323ac936ac Let's try to build package for EPEL9 2022-06-10 19:21:00 +01:00
Pavel Odintsov
e3317be57a
Disabled Ubuntu 14.04 builds as we've deprecated it 2022-06-03 14:17:37 +01:00
Pavel Odintsov
a5f2beec10 Bump dependencies to upgrade Boost in cached bundle 2022-06-03 13:43:02 +01:00
Pavel Odintsov
7ff74d09a2 Corrected path for CI tasks to new one 2022-06-03 12:17:13 +01:00
Pavel Odintsov
87cca37b66 Adjusted paths for CI checks with ldd to new one 2022-06-03 12:11:06 +01:00
Pavel Odintsov
fc1fec6b6d Fixed CI commands for Debian 2022-06-03 10:27:34 +01:00
Pavel Odintsov
7df6439cc2 Switched FastNetMon binaries to new folder 2022-06-03 10:09:58 +01:00
Pavel Odintsov
d6229ce1d3 Moved back to large class 2022-05-29 23:29:21 +01:00
Pavel Odintsov
b83833804d let's try to get more resources 2022-05-29 23:15:03 +01:00
Pavel Odintsov
3341ed44f0 Fixed path to save gcc cache and bumped cache keys 2022-05-29 23:12:58 +01:00
Pavel Odintsov
4543b3859d Bump cache keys as we're doing full rebuild for gcc and libraries 2022-05-29 22:07:23 +01:00
Pavel Odintsov
aa31d9f2fe Added missing dependency for CentOS 7 on perl-Env 2022-05-29 21:45:04 +01:00
Pavel Odintsov
f84a5cf9d7 Moved fastnetmon_build.pl to scripts folder 2022-05-29 21:42:28 +01:00
Pavel Odintsov
670f365801 Forced rebuild for Debian base image as it's broken for some reasons in cache 2022-05-28 22:27:41 +01:00
Pavel Odintsov
7b031f5c93 We can upload whole folders as artifacts 2022-05-28 19:38:45 +01:00
Pavel Odintsov
420e7b8732 Added logic to upload source RPM for Fedora build as artifact for CircleCI 2022-05-28 18:57:24 +01:00
Pavel Odintsov
965bd719dc Added target to build source RPM 2022-05-28 18:52:56 +01:00
Pavel Odintsov
8a3217640c Explicitly added fastnetmon.sysusers into SOURCES folder 2022-05-28 18:46:27 +01:00
Pavel Odintsov
1fca8e69a5 Switched to use full path for FastNetMon SPEC 2022-05-28 18:15:41 +01:00
Pavel Odintsov
9ee358111c Fixed path to Fedora spec file 2022-05-28 18:10:59 +01:00
Pavel Odintsov
3ef02bc67d Moved all things for Fedora package into separate folder 2022-05-28 18:09:40 +01:00
Pavel Odintsov
83f7fe7678 Added CI build for Fedora 37 aka current rawhide 2022-05-28 16:00:02 +01:00
Pavel Odintsov
225434999e Switched arguments to be strings 2022-05-21 12:57:18 +01:00
Pavel Odintsov
9e972b38f5 Added Fedora 36 build 2022-05-21 12:52:14 +01:00
Pavel Odintsov
6e50aa7375 Bump cache name to rebuild gcc for Ubuntus 2022-05-21 01:00:28 +01:00
Pavel Odintsov
ab7f63cd11 Returned dnf-plugins-core for RHEL 8 build 2022-05-20 22:18:20 +01:00
Pavel Odintsov
740873746c Fixed typo for gcc save path 2022-05-20 20:07:34 +01:00
Pavel Odintsov
32bb0b2f79 Bump date for cache variables to force rebuild again 2022-05-20 19:03:23 +01:00
Pavel Odintsov
8cd298a2f7 Fixed gcc cache path to save new compiler 2022-05-20 18:59:56 +01:00
Pavel Odintsov
5244766a20 Updated cache keys to force rebuild gcc and all dependencies on all platforms 2022-05-20 16:13:20 +01:00
Pavel Odintsov
45e294ff4b
Added Docker build for 1.2.1 release 2022-05-17 12:37:35 +01:00
Pavel Odintsov
dc037dc752
Added Alma Linux 9 as build target 2022-05-15 16:29:22 +01:00
Pavel Odintsov
73193dc358 Upgrade version of FastNetMon to 1.2.2 as we released 1.2.1 as stable 2022-05-14 13:04:29 +01:00
Pavel Odintsov
64bdf3b892 Added logic to export RPM ackages on Fedora as Artifacts 2022-05-06 01:36:23 +01:00
Pavel Odintsov
c633f182c6 Switched to large machine type for Fedora builds 2022-05-05 01:19:43 +01:00
Pavel Odintsov
5a5b3a1cdd We need to add flag -p for mkdir to create intermediate folders 2022-05-04 18:37:16 +01:00
Pavel Odintsov
e25455cf33 Added argument to approve installation of dependencies for RPM 2022-05-04 18:33:14 +01:00
Pavel Odintsov
ec59f6eadb We need to add dnf-plugins-core for builddep 2022-05-04 18:27:20 +01:00
Pavel Odintsov
c47a29eb97 Fixed dnf command name to correct spelling 2022-05-04 18:23:47 +01:00
Pavel Odintsov
113fd81b15 Added job to build Fedora upstream RPM in CI 2022-05-04 18:22:01 +01:00
Pavel Odintsov
198c668a12 Added target to build package for Debian Bullseye backports as we expect issues with fmt:: library 2022-05-03 13:28:20 +01:00
Pavel Odintsov
1cf0027328 Fixed case for version of CircleCI 2022-05-03 13:24:28 +01:00
Pavel Odintsov
06dfeef0c2 Added quotes 2022-05-03 13:23:19 +01:00
Pavel Odintsov
73a7eab750 Added quotes 2022-05-03 13:15:45 +01:00
Pavel Odintsov
ed42ac62d2 Added option to change baseimage for upstream build to add future support for backports option 2022-05-03 13:12:27 +01:00
Pavel Odintsov
dee57b92c2 Switched to upstream Salsa repo and removed logic which removes capnp binding files 2022-05-03 12:26:56 +01:00
Pavel Odintsov
f96e9dd4d1 Fixed logic to return success when we have sid image in place 2022-04-30 16:33:51 +01:00
Pavel Odintsov
8e41a988d9 Well, I think we need full permissions to restore cache correctly 2022-04-30 16:26:51 +01:00
Pavel Odintsov
6bd77da219 Allowed read only access for /data folder for all users 2022-04-30 16:22:57 +01:00
Pavel Odintsov
313b638e4d Fixed typo in command 2022-04-30 16:19:13 +01:00
Pavel Odintsov
d9c8f790bd Added missing sudo for mkdir and improved capnp command search logic 2022-04-30 16:18:01 +01:00
Pavel Odintsov
42e031dc0e Explicitly created /data folder with relaxed permissions to fix restore cache logic 2022-04-30 16:13:48 +01:00
Pavel Odintsov
982c68b36e Added logic to remove capnp bindings from sources and trigger regeneration 2022-04-30 16:06:27 +01:00
Pavel Odintsov
6fa50073b7 Added ls -la command to debug issue with restore cache error. Skipping writing data/sid_base.tgz - open /data/sid_base.tgz: permission denied 2022-04-30 15:55:10 +01:00
Pavel Odintsov
2e4eee8c62 Switched official Salsa repo to my own fork to add missing dependencies 2022-04-30 14:28:36 +01:00
Pavel Odintsov
eb3541bbd1 Switched PROJECT_BINARY_DIR to PROJECT_SOURCE_DIR for GoBGP protobuf logic generation as it was incorrect approach 2022-04-30 13:56:59 +01:00
Pavel Odintsov
cc85aaf4f9 Added logic for package build, finally 2022-04-29 22:47:19 +01:00
Pavel Odintsov
ab88e2a296 Fixed /data folder mount to :rw from :ro 2022-04-29 22:42:58 +01:00
Pavel Odintsov
f78328058d Added more debug for Debian build, removed absolute path for pbuilder 2022-04-29 22:36:49 +01:00
Pavel Odintsov
3103178074 Fixed logic to retrieve Deb package version from container 2022-04-29 22:29:07 +01:00
Pavel Odintsov
07fb23d324 Fixed bash call for dpkg-buildpackage to aboid issue with cd 2022-04-29 22:05:30 +01:00
Pavel Odintsov
9afb1ea3ef Added missing dependencies 2022-04-29 21:57:34 +01:00
Pavel Odintsov
adbb70bede Fixed machine configuration 2022-04-29 21:56:16 +01:00
Pavel Odintsov
fed3b2ca6d Removed unused Docker call 2022-04-29 21:55:15 +01:00
Pavel Odintsov
571349e559 Fixed typo and added documentation about our Docker setup for Debian 2022-04-29 21:53:58 +01:00
Pavel Odintsov
c66877120b Switched Debian container build to VM and priviledged Docker container 2022-04-29 21:50:32 +01:00
Pavel Odintsov
c4c743f989 Unfortunately Debian mirror do not support https properly, switched to plain http 2022-04-29 21:23:49 +01:00
Pavel Odintsov
e786c36c23 Upgraded debootstrap to version from Debian Unstable to address issues with Docker
I: running debootstrap
/usr/sbin/debootstrap
mknod: /var/cache/pbuilder/build/25122/test-dev-null: Operation not permitted
E: Cannot install into target '/var/cache/pbuilder/build/25122' mounted with noexec or nodev
E: debootstrap failed
2022-04-29 21:19:20 +01:00