Switch to buildah for the foreign document test.
Some checks failed
foreign-document-test Build foreign-document-test has failed

BuildKit is having issues with caching which is causing problems with long builds like compiling emacs from source.
This commit is contained in:
Tom Alexander
2026-09-06 18:24:15 -04:00
parent 336b5d3d54
commit 2e1d5908bd
2 changed files with 36 additions and 36 deletions

View File

@@ -103,9 +103,9 @@ spec:
- name: url
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
- name: revision
value: dda7b690195b43e8b9859d1caf5dcbf48588ade1
value: a1e66c6cb0316da629b29c14e3dda9b9519d99f0
- name: pathInRepo
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
value: task/buildah-rootless-daemonless/0.1/buildah-rootless-daemonless.yaml
params:
- name: OUTPUT
value: >-
@@ -116,22 +116,22 @@ spec:
value: $(params.path-to-dockerfile)
- name: EXTRA_ARGS
value:
- "--opt"
- "target=$(params.target-name)"
- --import-cache
- "--target"
- "$(params.target-name)"
- --cache-from
- "type=registry,ref=$(params.image-name):buildcache"
- --export-cache
- --cache-to
- "type=registry,ref=$(params.image-name):buildcache,mode=max,compression=zstd,compression-level=22,rewrite-timestamp=true,image-manifest=true,oci-mediatypes=true"
- --opt
- build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
- name: BUILDKITD_TOML
# - --opt
# - build-arg:SOURCE_DATE_EPOCH=$(tasks.get-git-commit-time.results.unix-time)
- name: REGISTRIES_CONF
value: |
debug = true
[registry."docker.io"]
mirrors = ["dockerhub.dockerhub.svc.cluster.local"]
[registry."dockerhub.dockerhub.svc.cluster.local"]
http = true
insecure = true
[[registry]]
location = "docker.io"
[[registry.mirror]]
location = "://dockerhub.dockerhub.svc.cluster.local" # Replace with your mirror URL
insecure = true
workspaces:
- name: source
workspace: git-source