Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodbindal committed Oct 10, 2024
2 parents d1c9689 + 6ad954d commit fd235c4
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 19 deletions.
4 changes: 0 additions & 4 deletions dev/pipeline/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ spec:
value: $(workspaces.cred.path)/credentials
- name: awsConfigFile
value: $(workspaces.cred.path)/config
- name: cred-store
value: $(workspaces.cred.path)
- name: cred-store
value: $(workspaces.cred.path)
- name: googleCredentialsPath
value: $(workspaces.cred.path)/creds.json

Expand Down
7 changes: 2 additions & 5 deletions dev/step-action/cache-fetch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ spec:
type: string
default: ""
- name: blobQueryParams
type: string
default: ""
- name: cred-store
description: |
Blob Query Params to support configure s3, gcs and azure. This is optional unless some additional features of storage providers are required like s3 acceleration, fips, pathstyle,etc
type: string
default: ""
results: # Any result to "publish" ?
Expand All @@ -69,8 +68,6 @@ spec:
value: $(params.insecure)
- name: GOOGLE_APPLICATION_CREDENTIALS
value: $(params.googleCredentialsPath)
- name: CRED_STORE
value: $(params.cred-store)
- name: AWS_CONFIG_FILE
value: $(params.awsConfigFile)
- name: AWS_SHARED_CREDENTIALS_FILE
Expand Down
2 changes: 1 addition & 1 deletion dev/step-action/cache-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
default: ""
- name: blobQueryParams
description: |
Blob Query Params to support configure s3, gcs and azure.
Blob Query Params to support configure s3, gcs and azure. This is optional unless some additional features of storage providers are required like s3 acceleration, fips, pathstyle,etc
type: string
default: ""
env:
Expand Down
23 changes: 18 additions & 5 deletions tekton/cache-fetch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,19 @@ spec:
The path where to find the google credentials. If left empty, it is ignored.
type: string
default: ""
- name: cred-store
- name: awsConfigFile
description: |
The path where to find the creds to download cache files . If left empty, it is ignored.
The path to the aws config file. If left empty, it is ignored.
type: string
default: ""
- name: awsCredentialFile
description: |
The path to find the aws credentials file. If left empty, it is ignored.
type: string
default: ""
- name: blobQueryParams
description: |
Blob Query Params to support configure s3, gcs and azure. This is optional unless some additional features of storage providers are required like s3 acceleration, fips, pathstyle,etc
type: string
default: ""
results: # Any result to "publish" ?
Expand All @@ -58,9 +68,12 @@ spec:
value: $(params.insecure)
- name: GOOGLE_APPLICATION_CREDENTIALS
value: $(params.googleCredentialsPath)
- name: CRED_STORE
value: $(params.cred-store)

- name: AWS_CONFIG_FILE
value: $(params.awsConfigFile)
- name: AWS_SHARED_CREDENTIALS_FILE
value: $(params.awsCredentialFile)
- name: BLOB_QUERY_PARAMS
value: $(params.blobQueryParams)
# FIXME: use a released version once something is released :)
image: ghcr.io/openshift-pipelines/tekton-caches/cache:latest
args: ["$(params.patterns[*])"]
Expand Down
22 changes: 18 additions & 4 deletions tekton/cache-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,19 @@ spec:
The path where to find the google credentials. If left empty, it is ignored.
type: string
default: ""
- name: cred-store
- name: awsConfigFile
description: |
The path where to find the creds to upload cache files . If left empty, it is ignored.
The path to the aws config file. If left empty, it is ignored.
type: string
default: ""
- name: awsCredentialFile
description: |
The path to find the aws credentials file. If left empty, it is ignored.
type: string
default: ""
- name: blobQueryParams
description: |
Blob Query Params to support configure s3, gcs and azure. This is optional unless some additional features of storage providers are required like s3 acceleration, fips, pathstyle,etc
type: string
default: ""
env:
Expand All @@ -68,8 +78,12 @@ spec:
value: $(params.force-cache-upload)
- name: GOOGLE_APPLICATION_CREDENTIALS
value: $(params.googleCredentialsPath)
- name: CRED_STORE
value: $(params.cred-store)
- name: AWS_CONFIG_FILE
value: $(params.awsConfigFile)
- name: AWS_SHARED_CREDENTIALS_FILE
value: $(params.awsCredentialFile)
- name: BLOB_QUERY_PARAMS
value: $(params.blobQueryParams)
# FIXME: use a released version once something is released :)
image: ghcr.io/openshift-pipelines/tekton-caches/cache:latest
args: ["$(params.patterns[*])"]
Expand Down

0 comments on commit fd235c4

Please sign in to comment.