Skip to content

Commit

Permalink
fixup fix: add a volume for the configs
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Visiedo <[email protected]>
  • Loading branch information
avisiedo committed Dec 19, 2024
1 parent 410e9ee commit eada77c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .tekton/idmsvc-backend-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ spec:
workspaces:
- name: git-basic-auth
workspace: git-auth
- name: configs
workspace: configs
# - name: source
# workspace: workspace
taskSpec:
Expand All @@ -252,6 +254,9 @@ spec:
- name: workdir
mountPath: /var/workdir
readOnly: false
- name: configs
mountPath: /tmp/configs
readOnly: false
steps:
- name: use-trusted-artifact
image: quay.io/redhat-appstudio/build-trusted-artifacts:latest@sha256:81c4864dae6bb11595f657be887e205262e70086a05ed16ada827fd6391926ac
Expand All @@ -278,13 +283,15 @@ spec:
# ls -1 >&2
# cp -vf configs/config.example.yaml configs/config.yaml
cp -vf configs/config.example.yaml /tmp/configs/config.yaml
make test-unit
volumes:
# New volume to store a copy of the source code accessible only to this Task.
- name: workdir
emptyDir: {}
- name: configs
emptyDir: {}
- name: build-images
matrix:
params:
Expand Down

0 comments on commit eada77c

Please sign in to comment.