Skip to content

Commit b81c469

Browse files
committed
testing cache
1 parent 7f07bee commit b81c469

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.tekton/buildah-build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ spec:
1414
workspaces:
1515
- name: source
1616
- name: registry
17+
- name: container-storage
18+
mountPath: /var/lib/containers
1719
steps:
1820
# - name: setup-qemu
1921
# image: us.icr.io/ibm-hc4ai-operator/qemu-user-static:latest
@@ -33,7 +35,7 @@ spec:
3335
privileged: true
3436
env:
3537
- name: STORAGE_DRIVER
36-
value: vfs
38+
value: overlay
3739
script: |
3840
#!/bin/sh
3941
set -e

.tekton/pipelinerun.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ spec:
326326
workspace: source
327327
- name: registry
328328
workspace: registry-secret
329+
- name: container-storage
330+
workspace: container-storage
329331

330332
- name: vulnerability-scan
331333
when:
@@ -606,6 +608,9 @@ spec:
606608
name: noop-task
607609

608610
workspaces:
611+
- name: container-storage
612+
persistentVolumeClaim:
613+
claimName: buildah-cache-pvc
609614
- name: source
610615
volumeClaimTemplate:
611616
spec:

0 commit comments

Comments
 (0)