mirror of
https://git.freestone.net/cramer/pcapmirror.git
synced 2025-12-31 03:50:27 +01:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 49173fef25 | |||
| 8e586dade0 | |||
| c7e16616a1 | |||
| 9d91fda7e1 | |||
| 3c007c3fcc | |||
| 8ff71daa36 | |||
| 3a078c5ba2 |
@@ -1,12 +1,15 @@
|
||||
|
||||
stages:
|
||||
- build
|
||||
- publish
|
||||
|
||||
|
||||
variables:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
build-bookworm:
|
||||
stage: build
|
||||
needs: []
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
@@ -20,16 +23,27 @@ build-bookworm:
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- build/*.deb
|
||||
- build/*.dsc
|
||||
- build/*.tar.xz
|
||||
- build/*.tar.gz
|
||||
- build/*.changes
|
||||
- build/*.buildinfo
|
||||
- build/*.diff.gz
|
||||
- build
|
||||
|
||||
publish-bookworm:
|
||||
stage: publish
|
||||
needs:
|
||||
- build-bookworm
|
||||
dependencies:
|
||||
- build-bookworm
|
||||
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_amd64.deb"'
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/pcapmirror_0.3-1_amd64.deb ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/bookworm/pcapmirror_0.3-1_amd64.deb'
|
||||
|
||||
build-sid:
|
||||
stage: build
|
||||
needs: []
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
@@ -43,16 +57,27 @@ build-sid:
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- build/*.deb
|
||||
- build/*.dsc
|
||||
- build/*.tar.xz
|
||||
- build/*.tar.gz
|
||||
- build/*.changes
|
||||
- build/*.buildinfo
|
||||
- build/*.diff.gz
|
||||
- build
|
||||
|
||||
publish-sid:
|
||||
stage: publish
|
||||
needs:
|
||||
- build-sid
|
||||
dependencies:
|
||||
- build-sid
|
||||
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/sid/pcapmirror_0.3-1_amd64.deb"'
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/pcapmirror_0.3-1_amd64.deb ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/sid/pcapmirror_0.3-1_amd64.deb'
|
||||
|
||||
build-rocky9:
|
||||
stage: build
|
||||
needs: []
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
@@ -69,10 +94,28 @@ build-rocky9:
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- build/*
|
||||
- build
|
||||
|
||||
publish-rocky9:
|
||||
stage: publish
|
||||
needs: []
|
||||
needs:
|
||||
- build-rocky9
|
||||
dependencies:
|
||||
- build-rocky9
|
||||
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/rockylinux9/pcapmirror-0.3-1.el8.x86_64.rpm"'
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/pcapmirror-0.3-*.el9.x86_64.rpm ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/pcapmirror/rockylinux9/pcapmirror-0.3-1.el8.x86_64.rpm'
|
||||
|
||||
build-rocky8:
|
||||
stage: build
|
||||
needs: []
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
@@ -89,4 +132,20 @@ build-rocky8:
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- build/*
|
||||
- build
|
||||
|
||||
publish-rocky8:
|
||||
stage: publish
|
||||
needs:
|
||||
- build-rocky8
|
||||
dependencies:
|
||||
- build-rocky8
|
||||
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/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'
|
||||
|
||||
Reference in New Issue
Block a user