Skip to content

Commit 3c7f731

Browse files
committed
trying vpc file as cache
1 parent e68fb02 commit 3c7f731

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

.tekton/buildah-build.yaml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,9 @@ spec:
1414
workspaces:
1515
- name: source
1616
- name: registry
17-
# - name: container-storage
18-
# mountPath: /var/lib/containers
17+
- name: container-storage
18+
mountPath: /var/lib/containers
1919
steps:
20-
# - name: setup-qemu
21-
# image: us.icr.io/ibm-hc4ai-operator/qemu-user-static:latest
22-
# imagePullPolicy: IfNotPresent
23-
# securityContext:
24-
# privileged: true
25-
# script: |
26-
# #!/bin/sh
27-
# echo "⚙️ Attempting QEMU registration..."
28-
# /register || echo "ℹ️ Skipping errors – QEMU might already be registered"
29-
3020
- name: build
3121
image: quay.io/buildah/stable:latest
3222
imagePullPolicy: IfNotPresent
@@ -35,7 +25,7 @@ spec:
3525
privileged: true
3626
env:
3727
- name: STORAGE_DRIVER
38-
value: vfs
28+
value: overlay
3929
script: |
4030
#!/bin/sh
4131
set -e

.tekton/pipelinerun.yaml

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

332332
- name: vulnerability-scan
333333
when:
@@ -608,10 +608,9 @@ spec:
608608
name: noop-task
609609

610610
workspaces:
611-
# - name: container-storage
612-
# persistentVolumeClaim:
613-
# claimName: build-cache-cos
614-
# # claimName: buildah-cache-pvc6
611+
- name: container-storage
612+
persistentVolumeClaim:
613+
claimName: buildah-cache6
615614
- name: source
616615
volumeClaimTemplate:
617616
spec:

0 commit comments

Comments
 (0)