This commit is contained in:
2025-03-22 14:03:31 +01:00
parent f207c5bdc2
commit 0a71915fd8

View File

@@ -53,6 +53,8 @@ build-sid:
build-rocky9:
stage: build
only:
- tags
tags:
- rocky9
script:
@@ -68,3 +70,21 @@ build-rocky9:
artifacts:
paths:
- build/*
build-rocky9:
stage: build
tags:
- rocky8
script:
- dnf install -y libpcap-devel
- mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- tar -czf /root/rpmbuild/SOURCES/pcapmirror-v0.2.tar.gz --exclude=debian --exclude=.git .
- cp -r * /root/rpmbuild/BUILD
- rpmbuild -ba pcapmirror.spec
- mkdir -p build
- mv /root/rpmbuild/RPMS/x86_64/pcapmirror*.* build/
- mv /root/rpmbuild/SRPMS/pcapmirror*.* build/
artifacts:
paths:
- build/*