doc: remove use of XXX in example descriptions

tickgit.com identifies `XXX` as label for TODO's. There is no need to
list the `digest` hash examples in the TODO list, so  replace the `XXX`
and `YYY` examples with `XYZ` and `ZYX`.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2023-11-03 10:17:23 +01:00 committed by mergify[bot]
parent 311193d5ca
commit a4195b6e11
2 changed files with 7 additions and 7 deletions

View File

@ -14,10 +14,10 @@ GITHUB_EMAIL=${GITHUB_EMAIL:-"ceph-csi-bot@users.noreply.github.com"}
# Build and push images. Steps as below: # Build and push images. Steps as below:
# 1. get base image from ./build.env (BASE_IMAGE=ceph/ceph:v14.2) # 1. get base image from ./build.env (BASE_IMAGE=ceph/ceph:v14.2)
# 2. parse manifest to get image digest per arch (sha256:XXX, sha256:YYY) # 2. parse manifest to get image digest per arch (sha256:XYZ, sha256:ZYX)
# 3. patch Dockerfile with amd64 base image (FROM ceph/ceph:v14.2@sha256:XXX) # 3. patch Dockerfile with amd64 base image (FROM ceph/ceph:v14.2@sha256:XYZ)
# 4. build and push amd64 image # 4. build and push amd64 image
# 5. patch Dockerfile with arm64 base image (FROM ceph/ceph:v14.2@sha256:YYY) # 5. patch Dockerfile with arm64 base image (FROM ceph/ceph:v14.2@sha256:ZYX)
# 6. build and push arm64 image # 6. build and push arm64 image
build_push_images() { build_push_images() {
# "docker manifest" requires experimental feature enabled # "docker manifest" requires experimental feature enabled
@ -29,11 +29,11 @@ build_push_images() {
# get image digest per architecture # get image digest per architecture
# { # {
# "arch": "amd64", # "arch": "amd64",
# "digest": "sha256:XXX" # "digest": "sha256:XYZ"
# } # }
# { # {
# "arch": "arm64", # "arch": "arm64",
# "digest": "sha256:YYY" # "digest": "sha256:ZYX"
# } # }
manifests=$(docker manifest inspect "${baseimg}" | jq '.manifests[] | {arch: .platform.architecture, digest: .digest}') manifests=$(docker manifest inspect "${baseimg}" | jq '.manifests[] | {arch: .platform.architecture, digest: .digest}')
# qemu-user-static is to enable an execution of different multi-architecture containers by QEMU # qemu-user-static is to enable an execution of different multi-architecture containers by QEMU

View File

@ -16,11 +16,11 @@ baseimg=$(awk -F = '/^BASE_IMAGE=/ {print $NF}' "${build_env}")
# get image digest per architecture # get image digest per architecture
# { # {
# "arch": "amd64", # "arch": "amd64",
# "digest": "sha256:XXX" # "digest": "sha256:XYZ"
# } # }
# { # {
# "arch": "arm64", # "arch": "arm64",
# "digest": "sha256:YYY" # "digest": "sha256:ZYX"
# } # }
manifests=$(docker manifest inspect "${baseimg}" | jq '.manifests[] | {arch: .platform.architecture, digest: .digest}') manifests=$(docker manifest inspect "${baseimg}" | jq '.manifests[] | {arch: .platform.architecture, digest: .digest}')
# qemu-user-static is to enable an execution of different multi-architecture containers by QEMU # qemu-user-static is to enable an execution of different multi-architecture containers by QEMU