Skip to content

Commit 7e09fc3

Browse files
docs(KFLUXSPRT-6144): update build-definitions task links to v0.7
Update outdated versioned links to the konflux-ci/build-definitions repository: - buildah-oci-ta: 0.3, 0.4 → 0.7 - buildah: 0.1, 0.2 → 0.7 Files changed: - modules/building/pages/creating-secrets.adoc - modules/building/pages/hermetic-builds.adoc - modules/building/pages/build-with-args.adoc Assisted-by: Claude Code Signed-off-by: Ernesto González <[email protected]>
1 parent 3f23e16 commit 7e09fc3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

modules/building/pages/build-with-args.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ It is possible to link:https://github.com/containers/buildah/blob/main/docs/buil
44

55
== Using an arguments file
66

7-
The {ProductName} buildah tasks accept link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah/0.2/buildah.yaml#L78[`BUILD_ARGS` parameter] that allows passing build arguments to the underlying `buildah` command through `--build-arg-file` flag. To enable this, make the following changes to the PipelineRuns under the `.tekton/` directory:
7+
The {ProductName} buildah tasks accept link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah/0.7/buildah.yaml#L78[`BUILD_ARGS` parameter] that allows passing build arguments to the underlying `buildah` command through `--build-arg-file` flag. To enable this, make the following changes to the PipelineRuns under the `.tekton/` directory:
88

99
. Create a build args file in your repository. This should contain lines of build arguments in the form of *arg=value*.
1010
. Define a `build-args-file` Pipeline parameter (if not already present) in `.spec.pipelineSpec.params` to accept the passed-in build arguments.
@@ -53,7 +53,7 @@ spec:
5353

5454
== Setting arguments in the pipeline parameters
5555

56-
The {ProductName} buildah tasks accept link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah/0.2/buildah.yaml#L74[`BUILD_ARGS` parameter] that allows passing build arguments to the underlying `buildah` command through `--build-arg` flag. To enable this, make the following changes to the PipelineRuns under the `.tekton/` directory:
56+
The {ProductName} buildah tasks accept link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah/0.7/buildah.yaml#L74[`BUILD_ARGS` parameter] that allows passing build arguments to the underlying `buildah` command through `--build-arg` flag. To enable this, make the following changes to the PipelineRuns under the `.tekton/` directory:
5757

5858
. Define a `build-args` Pipeline parameter (if not already present) in `.spec.pipelineSpec.params` to accept the passed-in build arguments.
5959

modules/building/pages/creating-secrets.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ type: kubernetes.io/dockerconfigjson
9393
The {ProductName} UI links image pull secrets to either selected or all components
9494
specific service accounts `build-pipeline-$COMPONENT_NAME`
9595
- No pipeline YAML changes are required.
96-
- Tasks like the buildah task will use this secret automatically when pulling images from `quay.io`. (https://github.com/konflux-ci/build-definitions/blob/main/task/buildah-oci-ta/0.3/buildah-oci-ta.yaml in volumes)
96+
- Tasks like the buildah task will use this secret automatically when pulling images from `quay.io`. (https://github.com/konflux-ci/build-definitions/blob/main/task/buildah-oci-ta/0.7/buildah-oci-ta.yaml in volumes)
9797
9898
* **Manual Secret Creation**
9999
. **Link Secret To SA**
@@ -229,7 +229,7 @@ stringData:
229229

230230
== Referencing Secrets in a Containerfile
231231

232-
Sometimes you might need to reference a secret directly in your Containerfile. For example, if your build uses cryptographic parameters stored in secrets, you can use the link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah-oci-ta/0.4/README.md[`ADDITIONAL_SECRET` parameter] to customize encryption in your Containerfile.
232+
Sometimes you might need to reference a secret directly in your Containerfile. For example, if your build uses cryptographic parameters stored in secrets, you can use the link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah-oci-ta/0.7/README.md[`ADDITIONAL_SECRET` parameter] to customize encryption in your Containerfile.
233233

234234
.Procedure
235235

modules/building/pages/hermetic-builds.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
====
2020
* Hermetic builds disable network access, so a build with dependencies outside of its Git repository--including supported languages--might fail. To prevent this, or to pull in dependencies from a package manager for one of the xref:prefetching-dependencies.adoc#supported-languages[supported languages], follow the instructions in xref:prefetching-dependencies.adoc[Prefetching the package manager dependencies for the hermetic build].
2121
+
22-
Similarly, with a link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah/0.1/buildah.yaml[Buildah] task for a non-Java application, when you set the `*hermetic*` parameter to `true`, you’re isolating the build from the network, which restricts it to building only from dependencies listed in your Git repository.
22+
Similarly, with a link:https://github.com/konflux-ci/build-definitions/blob/main/task/buildah/0.7/buildah.yaml[Buildah] task for a non-Java application, when you set the `*hermetic*` parameter to `true`, you’re isolating the build from the network, which restricts it to building only from dependencies listed in your Git repository.
2323
2424
* Do not add these parameters to the link:https://github.com/burrsutter/partner-catalog-stage/blob/e2ebb05ba8b4e842010710898d555ed3ba687329/.tekton/partner-catalog-stage-wgxd-pull-request.yaml#L87[`**pipelineSpec.params**`] section, as it should always display the default values for hermetic builds.
2525
====

0 commit comments

Comments
 (0)