Skip to content

Commit 0e0ff08

Browse files
authored
chore(stoneintg-1241): sample task to export logs to quay (#526)
* chore(stoneintg-1241): sample task to export logs to quay Signed-off-by: jcullina <[email protected]> * fix(stoneintg-1241): fixs for gemini assist suggestions Signed-off-by: jcullina <[email protected]> * fix(stoneintg-1241): task code moved to catalog and linked here Signed-off-by: jcullina <[email protected]> * fix(stoneintg-1241): adding to nav Signed-off-by: jcullina <[email protected]> * fix(stoneintg-1241): fix nav link Signed-off-by: jcullina <[email protected]> --------- Signed-off-by: jcullina <[email protected]>
1 parent cf730f8 commit 0e0ff08

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

modules/testing/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
**** xref:integration/accessing-private-repositories.adoc[Accessing Private Repositories]
1313
**** xref:integration/periodic-integration-tests.adoc[Triggering Periodic Integration Tests]
1414
**** xref:integration/standardized-outputs.adoc[Standardized outputs]
15+
**** xref:integration/logs-to-quay.adoc[Export Pipeline Logs to Quay]
1516
**** xref:integration/snapshots/index.adoc[Snapshots]
1617
***** xref:integration/snapshots/working-with-snapshots.adoc[Working with Snapshots]
1718
***** xref:integration/snapshots/override-snapshots.adoc[Creating an override snapshot]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= Export Pipeline Logs to Quay
2+
3+
Use the `export-pipeline-logs` task to gather all execution logs from a completed Tekton PipelineRun and package them into a compressed `tar.gz` artifact.
4+
5+
The task waits for all other TaskRuns in the PipelineRun to complete, excluding itself. It then iterates through each underlying Pod to retrieve and collect the complete log stream.
6+
7+
Push the archived log data as a secure OCI artifact to the same registry location as the build image, SBOM, and source code artifacts.
8+
9+
Download and extract this log data artifact by using the `oras` command-line tool.
10+
11+
Call this task in the `finally` section of the PipelineRun.
12+
13+
https://github.com/konflux-ci/tekton-integration-catalog/tree/main/tasks/export-logs/0.1[View Export Logs Task^]

0 commit comments

Comments
 (0)