forked from cramer/pcapmirror
rocky8
This commit is contained in:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user