-
Notifications
You must be signed in to change notification settings - Fork 104
CVE pipeline #2614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
djgalloway
wants to merge
6
commits into
main
Choose a base branch
from
cve-pipeline
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
CVE pipeline #2614
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9ee1bb8
cve-pipeline: Creation
djgalloway 329da2b
ceph-dev-pipeline: Add CHACRA_URL parameter
djgalloway 66ce43e
pulp_upload.sh: Do not overwrite BRANCH name
djgalloway f9bf330
pulp_upload.sh: Create repository before upload
djgalloway 045d140
ceph-dev-pipeline: Notify shaman of pulp repo URLs
djgalloway 49b2430
ceph-dev-pipeline: Pulp repo support in ceph-release RPM's ceph.repo
djgalloway File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,128 @@ | ||
| - job: | ||
| name: cve-pipeline | ||
| properties: | ||
| - authorization: | ||
| inheritance-strategy: none | ||
| GROUP:ceph*security: | ||
| - job-read | ||
| - job-discover | ||
| - job-build | ||
| - job-cancel | ||
| - job-configure | ||
| - job-workspace | ||
| - run-replay | ||
| - run-update | ||
| - run-delete | ||
| - scm-tag | ||
| description: | | ||
| This Jenkins pipeline is only used to develop CVE fixes. Its differences are: | ||
| - The job itself is not public-facing. It does not inherit the RBAC under https://jenkins.ceph.com/manage/configureSecurity/ | ||
| - ceph-dev-pipeline pushes to the internal/private pulp instance instead of a public chacra instance | ||
| project-type: pipeline | ||
| quiet-period: 1 | ||
| concurrent: true | ||
| pipeline-scm: | ||
| scm: | ||
| - git: | ||
| url: https://github.com/ceph/ceph-build | ||
| branches: | ||
| - ${{CEPH_BUILD_BRANCH}} | ||
| shallow-clone: true | ||
| submodule: | ||
| disable: true | ||
| wipe-workspace: true | ||
| script-path: ceph-dev-pipeline/build/Jenkinsfile | ||
| lightweight-checkout: true | ||
| do-not-fetch-tags: true | ||
|
|
||
| parameters: | ||
| - string: | ||
| name: BRANCH | ||
| description: "The branch from ceph-private.git to build" | ||
| default: main | ||
|
|
||
| - choice: | ||
| name: SHA1 | ||
| description: "Intentionally blank. ceph-dev-pipeline requires this" | ||
| choices: | ||
| - '' | ||
|
|
||
| - choice: | ||
| name: CEPH_REPO | ||
| choices: | ||
| - git@github.com:ceph/ceph-private.git | ||
|
|
||
| - string: | ||
| name: DISTROS | ||
| description: "A list of distros to build for. Available options are: centos9, noble, jammy, bookworm, trixie" | ||
| default: "noble centos9 bookworm trixie" | ||
|
|
||
| - string: | ||
| name: ARCHS | ||
| description: "A list of architectures to build for. Available options are: x86_64, and arm64" | ||
| default: "x86_64 arm64" | ||
|
|
||
| - bool: | ||
| name: CI_COMPILE | ||
| description: "Whether to compile and build packages" | ||
| default: true | ||
|
|
||
| - bool: | ||
| name: THROWAWAY | ||
| description: "DO NOT UNCHECK. This will push to a chacra node publicly!" | ||
| default: true | ||
|
|
||
| - bool: | ||
| name: PULP_UPLOAD | ||
| description: "If you want packages, this must be true. We do not push to chacra for CVE builds." | ||
| default: true | ||
|
|
||
| - choice: | ||
| name: FLAVORS | ||
| choices: | ||
| - default | ||
|
|
||
| - bool: | ||
|
dmick marked this conversation as resolved.
|
||
| name: CI_CONTAINER | ||
| description: "Whether to build and push container images" | ||
| default: true | ||
|
|
||
| - string: | ||
| name: CONTAINER_REPO_HOSTNAME | ||
| description: "FQDN of container repo server (e.g. 'quay.io')" | ||
| default: "quay-int.front.sepia.ceph.com" | ||
|
|
||
| - string: | ||
| name: CONTAINER_REPO_ORGANIZATION | ||
| description: "Name of container repo organization (e.g. 'ceph-ci')" | ||
| default: "ceph-ci" | ||
|
|
||
| - bool: | ||
| name: DWZ | ||
| description: "Use dwz to make debuginfo packages smaller" | ||
| default: false | ||
|
|
||
| - bool: | ||
| name: SCCACHE | ||
| description: "Use sccache to speed up compilation" | ||
| default: true | ||
|
|
||
| - string: | ||
| name: SETUP_BUILD_ID | ||
| description: "Reuse the source distribution from this cve-source-dist build instead of creating a new one" | ||
| default: "" | ||
|
|
||
| - choice: | ||
| name: SETUP_JOB | ||
| choices: | ||
| - cve-source-dist | ||
|
|
||
| - string: | ||
| name: CEPH_BUILD_BRANCH | ||
| description: "Use the Jenkinsfile from this ceph-build branch" | ||
| default: main | ||
|
|
||
| wrappers: | ||
| - build-name: | ||
| name: "#${{BUILD_NUMBER}} ${{BRANCH}}, ${{VERSION}}" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| - job: | ||
| name: cve-source-dist | ||
| description: This job is only called from https://jenkins.ceph.com/job/cve-pipeline. The entire job and its artifacts are only visible to the ceph/security Github Team. | ||
| project-type: pipeline | ||
| concurrent: true | ||
| pipeline-scm: | ||
| scm: | ||
| - git: | ||
| url: https://github.com/ceph/ceph-build | ||
| branches: | ||
| - ${{CEPH_BUILD_BRANCH}} | ||
| shallow-clone: true | ||
| submodule: | ||
| disable: true | ||
| wipe-workspace: true | ||
| script-path: ceph-source-dist/build/Jenkinsfile | ||
| lightweight-checkout: true | ||
| do-not-fetch-tags: true | ||
| properties: | ||
| - build-discarder: | ||
| days-to-keep: -1 | ||
| num-to-keep: 100 | ||
| artifact-days-to-keep: -1 | ||
| artifact-num-to-keep: 50 | ||
| - copyartifact: | ||
| projects: cve-pipeline | ||
| - authorization: | ||
| inheritance-strategy: none | ||
| GROUP:ceph*security: | ||
| - job-read | ||
| - job-discover | ||
| - job-build | ||
| - job-cancel | ||
| - job-configure | ||
| - job-workspace | ||
| - run-replay | ||
| - run-update | ||
| - run-delete | ||
| - scm-tag | ||
|
|
||
| parameters: | ||
| - choice: | ||
| name: CEPH_REPO | ||
| choices: | ||
| - git@github.com:ceph/ceph-private.git | ||
|
|
||
| - string: | ||
| name: BRANCH | ||
| description: "The Ceph branch to build" | ||
|
|
||
| - string: | ||
| name: SHA1 | ||
| description: "The specific commit to build" | ||
|
|
||
| - string: | ||
| name: CEPH_BUILD_BRANCH | ||
| description: "Use the Jenkinsfile from this ceph-build branch" | ||
| default: main | ||
|
|
||
| scm: | ||
| - git: | ||
| url: ${{CEPH_REPO}} | ||
| # Use the SSH key attached to the ceph-jenkins GitHub account. | ||
| credentials-id: "jenkins-build" | ||
| branches: | ||
| - $BRANCH | ||
| timeout: 20 | ||
| skip-tag: true | ||
| wipe-workspace: true | ||
|
|
||
| wrappers: | ||
| - inject-passwords: | ||
| global: true | ||
| mask-password-params: true | ||
| - credentials-binding: | ||
| - text: | ||
| credential-id: shaman-api-key | ||
| variable: SHAMAN_API_KEY |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.