-
Notifications
You must be signed in to change notification settings - Fork 133
Create the release pipeline for Lightwell Java artifacts #2322
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
Draft
brunoapimentel
wants to merge
10
commits into
konflux-ci:development
Choose a base branch
from
konflux-lightwell:slan-cuan-pipeline
base: development
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.
Draft
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d2db96b
Create the release pipeline for Lightwell Java artifacts
brunoapimentel 047ec22
slan-cuan-release: Derive pulp-url and pulp-repository from RPA data …
arewm 7f4351d
Merge branch 'konflux-ci:development' into slan-cuan-pipeline
JAVGan 7cacff2
slan-cuan-release: Add generated README
arewm 4ca6981
Merge pull request #2 from arewm/lightwell-pipeline
JAVGan 25af5b4
Merge pull request #1 from konflux-lightwell/slan-cuan-pipeline
JAVGan 2d28200
slan-cuan-release: Derive all runtime params from snapshot and RPA data
arewm 16f284c
slan-cuan-release: Fix slan-cuan task paths to match actual repo layout
arewm 5a78817
slan-cuan-release: Add default for taskGitRevision param
arewm 8ecb3b9
fix: use proper secret for RADAS
JAVGan 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # slan-cuan-release pipeline | ||
|
|
||
| Release pipeline for Lightwell Java artifacts (slan-cuan). | ||
|
|
||
| This pipeline orchestrates the complete release workflow for Java artifacts built by | ||
| PNC (Project Newcastle). All per-release configuration (image reference, signing key, | ||
| Trustify URLs, Pulp target) is derived from the Snapshot and ReleasePlanAdmission data | ||
| via collect-data, so no pipeline parameters need to be supplied at invocation time. | ||
|
|
||
| ## Parameters | ||
|
|
||
| | Name | Description | Optional | Default value | | ||
| |-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|------------------------------------------------------| | ||
| | release | The namespaced name (namespace/name) of the Release | No | - | | ||
| | releasePlan | The namespaced name (namespace/name) of the ReleasePlan | No | - | | ||
| | releasePlanAdmission | The namespaced name (namespace/name) of the ReleasePlanAdmission | No | - | | ||
| | releaseServiceConfig | The namespaced name (namespace/name) of the ReleaseServiceConfig | No | - | | ||
| | snapshot | The namespaced name (namespace/name) of the Snapshot | No | - | | ||
| | ociStorage | The OCI repository where Trusted Artifacts are stored | Yes | empty | | ||
| | ociArtifactExpiresAfter | Expiration date for trusted artifacts created in the OCI repository | Yes | 1d | | ||
| | trustedArtifactsDebug | Flag to enable debug logging in trusted artifacts | Yes | "" | | ||
| | orasOptions | oras options to pass to Trusted Artifacts calls | Yes | "" | | ||
| | dataDir | The location where data will be stored | Yes | /var/workdir/release | | ||
| | caTrustConfigMapName | The name of the ConfigMap to read CA bundle data from | Yes | trusted-ca | | ||
| | caTrustConfigMapKey | The name of the key in the ConfigMap that contains the CA bundle data | Yes | ca-bundle.crt | | ||
| | catalogGitUrl | The url to the git repo where release-service-catalog tasks are stored | Yes | https://github.com/arewm/release-service-catalog.git | | ||
| | catalogGitRevision | The revision in the catalogGitUrl repo to be used | Yes | lightwell-pipeline | | ||
| | taskGitUrl | The url to the git repo where the slan-cuan tasks are stored | Yes | https://github.com/konflux-lightwell/slan-cuan.git | | ||
| | taskGitRevision | The revision in the taskGitUrl repo to be used | No | - | | ||
| | registry-auth-secret | Kubernetes Secret name for registry authentication (.dockerconfigjson format). Points to a Docker/Podman auth config for accessing private registries | Yes | registry-auth | | ||
| | force-extract | Overwrite existing output directory if it exists. Without this flag, the extract task refuses to overwrite existing directories | Yes | false | | ||
| | radas-config-secret | Kubernetes Secret name containing RADAS configuration JSON. The secret must have a `config.json` key with RADAS API URL and credentials | Yes | radas-config | | ||
| | requester-id | Requester identity for signing operations. Used for audit trails and RADAS access control. Typically an email address | Yes | slan-cuan@org.com | | ||
| | zip-root-path | Root of the Maven repository tree inside the ZIP archive submitted to RADAS. The ZIP file structure is <ZIP_ROOT_PATH>/<maven-layout> | Yes | repository | | ||
| | product-key | Product key for metadata tagging. Identifies the product in RADAS records and signing logs | Yes | slan-cuan | | ||
| | ignore-patterns | Comma-separated regex patterns to exclude files from signing. Example: ".*-sources\\.jar$,.*-javadoc\\.jar$" excludes source and javadoc JARs | Yes | "" | | ||
| | sso-secret-name | Kubernetes Secret name with OIDC credentials. The secret must have `client-id` and `client-secret` keys for OAuth2 client credentials flow | Yes | trustify-sso | | ||
| | register-insecure | Disable TLS verification for Trustify API calls. Set to "true" to skip certificate validation (not recommended for production) | Yes | false | | ||
| | register-retries | Number of retry attempts for Trustify API calls. The task will retry failed API calls this many times before giving up | Yes | 3 | | ||
| | register-ca-cert-secret | Kubernetes Secret name for custom CA certificate (optional). The secret must have a `ca.crt` key containing the PEM-encoded CA certificate. Leave empty to use system CA bundle | Yes | "" | | ||
| | publish-insecure | Disable TLS verification for Pulp API calls. Set to "true" to skip certificate validation (not recommended for production) | Yes | false | | ||
| | publish-ca-cert-secret | Kubernetes Secret name for custom CA certificate (optional). The secret must have a `ca.crt` key containing the PEM-encoded CA certificate. Leave empty to use system CA bundle | Yes | "" | | ||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Added pipelines/.../readme.md
📘 Rule violation⚙ MaintainabilityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools