Added tekton pipelines
This commit is contained in:
1 parent
24f184e4c5
commit
5a1e9fa22c
25 files changed
+3597
No files matched your search
@@ -0,0 +1,12 @@
|
||||
apiVersion: tekton.dev/v1alpha1
|
||||
kind: Condition
|
||||
metadata:
|
||||
name: has-makefile
|
||||
namespace: tekton-pipelines
|
||||
spec:
|
||||
resources:
|
||||
- name: src
|
||||
type: git
|
||||
check:
|
||||
image: alpine
|
||||
script: 'test -f $(resources.src.path)/Makefile'
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: tekton.dev/v1alpha1
|
||||
kind: Condition
|
||||
metadata:
|
||||
name: is-public-project
|
||||
namespace: tekton-pipelines
|
||||
spec:
|
||||
params:
|
||||
- name: isprivate
|
||||
check:
|
||||
image: alpine
|
||||
script: 'test $(params.isprivate) == false'
|
||||
Reference in new issue
Block a user