forked from openshift-pipelines/tekton-caches
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot:main] update konflux configuration
- Loading branch information
openshift-pipelines-bot
committed
Feb 14, 2025
1 parent
768502d
commit e273504
Showing
12 changed files
with
101 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Generated by openshift-pipelines/hack. DO NOT EDIT. | ||
apiVersion: tekton.dev/v1 | ||
kind: PipelineRun | ||
metadata: | ||
name: boussole | ||
annotations: | ||
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/pac-boussole/refs/heads/main/pipeline-boussole.yaml" | ||
pipelinesascode.tekton.dev/on-comment: "^/(help|rebase|merge|lgtm|(cherry-pick|assign|unassign|label|unlabel)[ ].*)$" | ||
pipelinesascode.tekton.dev/max-keep-runs: "2" | ||
spec: | ||
params: | ||
- name: trigger_comment | ||
value: | | ||
'{{trigger_comment}}' | ||
- name: repo_owner | ||
value: '{{ repo_owner }}' | ||
- name: repo_name | ||
value: '{{ repo_name }}' | ||
- name: pull_request_number | ||
value: '{{ pull_request_number }}' | ||
- name: pull_request_sender | ||
value: '{{ body.issue.user.login }}' | ||
- name: git_auth_secret | ||
value: '{{ git_auth_secret }}' | ||
- name: comment_sender | ||
value: '{{ sender }}' | ||
# | ||
# Optional parameters (value is the default): | ||
# | ||
# The key in git_auth_secret that contains the token (default: git-provider-token) | ||
# - name: git_auth_secret_key | ||
# value: git-provider-token | ||
# | ||
# The /lgtm threshold needed of approvers for a PR to be approved (default: 1) | ||
- name: lgtm_threshold | ||
value: "1" | ||
# | ||
# The permissionms the user need to trigger a lgtm | ||
- name: lgtm_permissions | ||
value: "admin,write" | ||
# | ||
# The review event when lgtm is triggered, can be APPROVE, | ||
# REQUEST_CHANGES, or COMMENT if setting to empty string it will be set as | ||
# PENDING | ||
# - name: lgtm_review_event | ||
# value: "APPROVE" | ||
# | ||
# The merge method to use. Can be one of: merge, squash, rebase | ||
- name: merge_method | ||
value: "rebase" | ||
pipelineRef: | ||
name: boussole |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"github.com/openshift-pipelines/tekton-caches/internal/tar" | ||
) | ||
|
||
func main() { | ||
err := tar.Tarit("/tmp/1714", "/tmp/cache.tar.gz") | ||
if err != nil { | ||
println(err.Error()) | ||
panic(err) | ||
} | ||
fmt.Printf("Done") | ||
} |