Skip to content

Commit

Permalink
buildah/0.3: deprecate on 31st March 2025
Browse files Browse the repository at this point in the history
Deprecate version 0.3 on 31st March 2025 (a Monday), roughly two months
after the release of 0.4.

Also update the sast-coverity-check task to be based on buildah 0.4
rather than 0.3, to avoid inheriting the deprecation annotation. And fix
the version label in the task.

Signed-off-by: Adam Cmiel <[email protected]>
  • Loading branch information
chmeliik committed Feb 7, 2025
1 parent d2bc137 commit 687015d
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pipelines/docker-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/reposito
|PRIVILEGED_NESTED| Whether to enable privileged mode| false| |
|PROJECT_NAME| | | |
|RECORD_EXCLUDED| | false| |
|SBOM_TYPE| Select the SBOM format to generate. Valid values: spdx, cyclonedx. Note: the SBOM from the prefetch task - if there is one - must be in the same format.| cyclonedx| |
|SBOM_TYPE| Select the SBOM format to generate. Valid values: spdx, cyclonedx. Note: the SBOM from the prefetch task - if there is one - must be in the same format.| spdx| |
|SKIP_SBOM_GENERATION| Skip SBOM-related operations. This will likely cause EC policies to fail if enabled| false| |
|SKIP_UNUSED_STAGES| Whether to skip stages in Containerfile that seem unused by subsequent stages| true| |
|SQUASH| Squash all new and previous layers added as a part of this build, as per --squash| false| |
Expand Down
2 changes: 1 addition & 1 deletion pipelines/maven-zip-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/reposito
|PRIVILEGED_NESTED| Whether to enable privileged mode| false| |
|PROJECT_NAME| | | |
|RECORD_EXCLUDED| | false| |
|SBOM_TYPE| Select the SBOM format to generate. Valid values: spdx, cyclonedx. Note: the SBOM from the prefetch task - if there is one - must be in the same format.| cyclonedx| |
|SBOM_TYPE| Select the SBOM format to generate. Valid values: spdx, cyclonedx. Note: the SBOM from the prefetch task - if there is one - must be in the same format.| spdx| |
|SKIP_SBOM_GENERATION| Skip SBOM-related operations. This will likely cause EC policies to fail if enabled| false| |
|SKIP_UNUSED_STAGES| Whether to skip stages in Containerfile that seem unused by subsequent stages| true| |
|SQUASH| Squash all new and previous layers added as a part of this build, as per --squash| false| |
Expand Down
2 changes: 1 addition & 1 deletion pipelines/tekton-bundle-builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
|PRIVILEGED_NESTED| Whether to enable privileged mode| false| |
|PROJECT_NAME| | | |
|RECORD_EXCLUDED| | false| |
|SBOM_TYPE| Select the SBOM format to generate. Valid values: spdx, cyclonedx. Note: the SBOM from the prefetch task - if there is one - must be in the same format.| cyclonedx| |
|SBOM_TYPE| Select the SBOM format to generate. Valid values: spdx, cyclonedx. Note: the SBOM from the prefetch task - if there is one - must be in the same format.| spdx| |
|SKIP_SBOM_GENERATION| Skip SBOM-related operations. This will likely cause EC policies to fail if enabled| false| |
|SKIP_UNUSED_STAGES| Whether to skip stages in Containerfile that seem unused by subsequent stages| true| |
|SQUASH| Squash all new and previous layers added as a part of this build, as per --squash| false| |
Expand Down
1 change: 1 addition & 0 deletions task/buildah-oci-ta/0.3/buildah-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: Task
metadata:
name: buildah-oci-ta
annotations:
build.appstudio.redhat.com/expires-on: "2025-03-31T00:00:00Z"
tekton.dev/pipelines.minVersion: 0.12.1
tekton.dev/tags: image-build, konflux
labels:
Expand Down
1 change: 1 addition & 0 deletions task/buildah-remote-oci-ta/0.3/buildah-remote-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: tekton.dev/v1
kind: Task
metadata:
annotations:
build.appstudio.redhat.com/expires-on: "2025-03-31T00:00:00Z"
tekton.dev/pipelines.minVersion: 0.12.1
tekton.dev/tags: image-build, konflux
creationTimestamp: null
Expand Down
1 change: 1 addition & 0 deletions task/buildah-remote/0.3/buildah-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: tekton.dev/v1
kind: Task
metadata:
annotations:
build.appstudio.redhat.com/expires-on: "2025-03-31T00:00:00Z"
tekton.dev/pipelines.minVersion: 0.12.1
tekton.dev/tags: image-build, konflux
creationTimestamp: null
Expand Down
1 change: 1 addition & 0 deletions task/buildah/0.3/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
app.kubernetes.io/version: "0.2.1"
build.appstudio.redhat.com/build_type: "docker"
annotations:
build.appstudio.redhat.com/expires-on: "2025-03-31T00:00:00Z"
tekton.dev/pipelines.minVersion: "0.12.1"
tekton.dev/tags: "image-build, konflux"
name: buildah
Expand Down
2 changes: 1 addition & 1 deletion task/sast-coverity-check/0.2/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../buildah/0.3
- ../../buildah/0.4

patches:
- path: patch.yaml
Expand Down
5 changes: 5 additions & 0 deletions task/sast-coverity-check/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
path: /metadata/name
value: sast-coverity-check

# Task version
- op: replace
path: /metadata/labels/app.kubernetes.io~1version
value: "0.2"

# Task description
- op: replace
path: /spec/description
Expand Down
4 changes: 2 additions & 2 deletions task/sast-coverity-check/0.2/sast-coverity-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
tekton.dev/pipelines.minVersion: 0.12.1
tekton.dev/tags: image-build, konflux
labels:
app.kubernetes.io/version: 0.2.1
app.kubernetes.io/version: "0.2"
build.appstudio.redhat.com/build_type: docker
name: sast-coverity-check
spec:
Expand Down Expand Up @@ -125,7 +125,7 @@ spec:
to fail if enabled
name: SKIP_SBOM_GENERATION
type: string
- default: cyclonedx
- default: spdx
description: 'Select the SBOM format to generate. Valid values: spdx, cyclonedx.
Note: the SBOM from the prefetch task - if there is one - must be in the same
format.'
Expand Down

0 comments on commit 687015d

Please sign in to comment.