Conversation
3b7da44 to
019fcfd
Compare
There was a problem hiding this comment.
Pull request overview
This PR enhances the JFrog Artifactory upload process by centralizing build metadata construction and adding job URL tracking to uploaded artifacts. The changes improve maintainability by reducing duplication and provide better traceability by linking artifacts to their GitHub Actions job pages.
Changes:
- Centralized JFrog artifact properties into a single
JFROG_PROPSvariable for both external apps and main build uploads - Added
job.html_urlmetadata field to track the GitHub Actions job that created each artifact - Standardized property construction across all artifact uploads
|
@copilot open a new pull request to apply changes based on the comments in this thread |
|
@printminion-co I've opened a new pull request, #185, to work on those changes. Once the pull request is ready, I'll request review from you. |
1266c74 to
1d7ad85
Compare
|
@copilot open a new pull request to apply changes based on the comments in this thread |
|
@printminion-co I've opened a new pull request, #186, to work on those changes. Once the pull request is ready, I'll request review from you. |
1c6a2be to
f5f4314
Compare
188bf60 to
7b4226b
Compare
02d66f1 to
694ae5f
Compare
ce25dd5 to
1d13483
Compare
71d6e79 to
ca7f2c5
Compare
|
@printminion-co I've opened a new pull request, #188, to work on those changes. Once the pull request is ready, I'll request review from you. |
0d90f1a to
29d205d
Compare
f06daf5 to
275d8dd
Compare
|
@copilot open a new pull request to apply changes based on the comments in this thread |
|
@printminion-co I've opened a new pull request, #190, to work on those changes. Once the pull request is ready, I'll request review from you. |
…adata Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
Changed from github.ref to github.ref_name to get the actual branch name instead of the full ref path (refs/heads/branch-name).
f72061d to
ced14a6
Compare
0c969f4 to
f254038
Compare
…information Created a new composite action that fetches job data from GitHub API and integrated it into the build workflow to enrich artifact metadata.
… specific app rebuilds Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
f254038 to
39a6488
Compare
Summary
This pull request enhances the artifact upload process in the GitHub Actions workflow by adding richer metadata to artifact uploads and improving traceability. The main changes involve dynamically retrieving the GitHub Actions job URL and attaching it as metadata to uploads, as well as refactoring how artifact properties are constructed and passed to JFrog.
Artifact Metadata and Traceability Improvements:
.github/workflows/build-artifact.ymlto dynamically fetch the current job's GitHub Actions URL using the GitHub API andjq. This URL is exposed as an output (job_html_url) for use in subsequent steps. [1] [2]JFROG_PROPS) are built, consolidating all key metadata (such as app name, SHA, branch, revision, and the new job URL) into a single variable for easier management and future extensibility. [1] [2]JFROG_PROPSvariable, ensuring that all relevant metadata, including the job URL when available, is attached to each upload. [1] [2]TODO
Checklist