mirror of
https://git.freestone.net/cramer/pcapmirror.git
synced 2025-12-31 03:50:27 +01:00
propper ip6 support, raspberry builds
This commit is contained in:
@@ -98,7 +98,6 @@ build-rocky9:
|
||||
|
||||
publish-rocky9:
|
||||
stage: publish
|
||||
needs: []
|
||||
needs:
|
||||
- build-rocky9
|
||||
dependencies:
|
||||
@@ -149,3 +148,40 @@ publish-rocky8:
|
||||
- ls -la build
|
||||
- 'echo "Uploading to: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/rockylinux8/pcapmirror-0.3-1.el8.x86_64.rpm"'
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/pcapmirror-0.3-*.el8.x86_64.rpm ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/rockylinux8/pcapmirror-0.3-1.el8.x86_64.rpm'
|
||||
|
||||
build-pios12:
|
||||
stage: build
|
||||
needs: []
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
- pios12
|
||||
script:
|
||||
- dnf install -y libpcap-devel
|
||||
- mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||
- tar -czf /root/rpmbuild/SOURCES/pcapmirror-v0.3.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
|
||||
|
||||
publish-pios12:
|
||||
stage: publish
|
||||
needs:
|
||||
- build-rpios12
|
||||
dependencies:
|
||||
- build-pios12
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
- bookworm
|
||||
script:
|
||||
- apt-get update && apt-get install -y curl
|
||||
- ls -la build
|
||||
- 'echo "Uploading to: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/bookworm/pcapmirror_0.3-1_arm64.deb"'
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/pcapmirror_0.3-1_arm64.deb ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/bookworm/pcapmirror_0.3-1_arm64.deb'
|
||||
|
||||
Reference in New Issue
Block a user