Skip to content

Commit

Permalink
chore: Update tekton cache tasks (#74)
Browse files Browse the repository at this point in the history
* Update url to cache server
* Add space parameter to name definition

Related #74

Change-Id: I365e0d827a586d9f8a875da55355bd82eebc047d
  • Loading branch information
Mykola Serdiuk committed Dec 1, 2023
1 parent 9209218 commit fedc974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions charts/pipelines-library/templates/tasks/get-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
params:
- name: CACHE_SERVER_URL
description: "Cache server URL"
default: http://uploader:8080
default: http://tekton-cache:8080
type: string
- name: CACHE_NAME
description: "Cache name (filename) to be downloaded from the cache server."
Expand Down Expand Up @@ -51,7 +51,6 @@ spec:
value: "$(params.CACHE_SERVER_URL)"
- name: CACHE_NAME
value: "$(params.CACHE_NAME)"

# TODO: We need to run this task as root because the workspace is owned by root.
securityContext:
runAsUser: 0
Expand Down
2 changes: 1 addition & 1 deletion charts/pipelines-library/templates/tasks/save-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
params:
- name: CACHE_SERVER_URL
description: "Cache server URL"
default: http://uploader:8080
default: http://tekton-cache:8080
type: string
- name: CACHE_NAME
description: "Cache name (filename) to be downloaded from the cache server."
Expand Down

0 comments on commit fedc974

Please sign in to comment.