From 065bae7338c0ef33419bc213dd414f8a7c8cb926 Mon Sep 17 00:00:00 2001 From: Tomas Nevrlka Date: Mon, 13 Jan 2025 13:24:06 +0100 Subject: [PATCH] improve buildah 0.3 migration files - Some users have encountered problems when migrating buildah tasks from 0.2 to 0.3 when using older PipelineRun definitions which still include the results that are being removed in buildah 0.3 - Mention in the Migration files that users should check if their PipelineRun contains the removed results and that they should be removed --- task/buildah-oci-ta/0.3/MIGRATION.md | 14 ++++++++++---- task/buildah-remote-oci-ta/0.3/MIGRATION.md | 14 ++++++++++---- task/buildah-remote/0.3/MIGRATION.md | 14 ++++++++++---- task/buildah/0.3/MIGRATION.md | 14 ++++++++++---- 4 files changed, 40 insertions(+), 16 deletions(-) diff --git a/task/buildah-oci-ta/0.3/MIGRATION.md b/task/buildah-oci-ta/0.3/MIGRATION.md index 3e2f4824cb..909b5e7058 100644 --- a/task/buildah-oci-ta/0.3/MIGRATION.md +++ b/task/buildah-oci-ta/0.3/MIGRATION.md @@ -8,8 +8,14 @@ Removes references to `jvm-build-service` ## Action from users -The removed items are not in use, so their removal will not impact users. +Before migrating, please check if your PipelineRun definitions contain the following results: +- `JAVA_COMMUNITY_DEPENDENCIES` +- `SBOM_JAVA_COMPONENTS_COUNT` -A Renovate bot PR will be created with a warning icon for this task. - -This is expected, and no action from users is needed. \ No newline at end of file +They should look similar to this following code block: +``` + - description: "" + name: JAVA_COMMUNITY_DEPENDENCIES + value: $(tasks.build-container.results.JAVA_COMMUNITY_DEPENDENCIES) +``` +If your PipelineRun definition contains the results, please delete them. \ No newline at end of file diff --git a/task/buildah-remote-oci-ta/0.3/MIGRATION.md b/task/buildah-remote-oci-ta/0.3/MIGRATION.md index 3e2f4824cb..909b5e7058 100644 --- a/task/buildah-remote-oci-ta/0.3/MIGRATION.md +++ b/task/buildah-remote-oci-ta/0.3/MIGRATION.md @@ -8,8 +8,14 @@ Removes references to `jvm-build-service` ## Action from users -The removed items are not in use, so their removal will not impact users. +Before migrating, please check if your PipelineRun definitions contain the following results: +- `JAVA_COMMUNITY_DEPENDENCIES` +- `SBOM_JAVA_COMPONENTS_COUNT` -A Renovate bot PR will be created with a warning icon for this task. - -This is expected, and no action from users is needed. \ No newline at end of file +They should look similar to this following code block: +``` + - description: "" + name: JAVA_COMMUNITY_DEPENDENCIES + value: $(tasks.build-container.results.JAVA_COMMUNITY_DEPENDENCIES) +``` +If your PipelineRun definition contains the results, please delete them. \ No newline at end of file diff --git a/task/buildah-remote/0.3/MIGRATION.md b/task/buildah-remote/0.3/MIGRATION.md index 3e2f4824cb..909b5e7058 100644 --- a/task/buildah-remote/0.3/MIGRATION.md +++ b/task/buildah-remote/0.3/MIGRATION.md @@ -8,8 +8,14 @@ Removes references to `jvm-build-service` ## Action from users -The removed items are not in use, so their removal will not impact users. +Before migrating, please check if your PipelineRun definitions contain the following results: +- `JAVA_COMMUNITY_DEPENDENCIES` +- `SBOM_JAVA_COMPONENTS_COUNT` -A Renovate bot PR will be created with a warning icon for this task. - -This is expected, and no action from users is needed. \ No newline at end of file +They should look similar to this following code block: +``` + - description: "" + name: JAVA_COMMUNITY_DEPENDENCIES + value: $(tasks.build-container.results.JAVA_COMMUNITY_DEPENDENCIES) +``` +If your PipelineRun definition contains the results, please delete them. \ No newline at end of file diff --git a/task/buildah/0.3/MIGRATION.md b/task/buildah/0.3/MIGRATION.md index 3e2f4824cb..909b5e7058 100644 --- a/task/buildah/0.3/MIGRATION.md +++ b/task/buildah/0.3/MIGRATION.md @@ -8,8 +8,14 @@ Removes references to `jvm-build-service` ## Action from users -The removed items are not in use, so their removal will not impact users. +Before migrating, please check if your PipelineRun definitions contain the following results: +- `JAVA_COMMUNITY_DEPENDENCIES` +- `SBOM_JAVA_COMPONENTS_COUNT` -A Renovate bot PR will be created with a warning icon for this task. - -This is expected, and no action from users is needed. \ No newline at end of file +They should look similar to this following code block: +``` + - description: "" + name: JAVA_COMMUNITY_DEPENDENCIES + value: $(tasks.build-container.results.JAVA_COMMUNITY_DEPENDENCIES) +``` +If your PipelineRun definition contains the results, please delete them. \ No newline at end of file