Skip to content

Commit

Permalink
Add optional-test-infra-tekton resources (kubeflow#864)
Browse files Browse the repository at this point in the history
* Add optional-test-infra-tekton resources

* Add optional-test-infra-tekton resources
  • Loading branch information
Yao Xiao authored Jan 22, 2021
1 parent ad7cb38 commit 8c71d21
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ data:
decorate_all_jobs: true
periodics:
- interval: 1m
- interval: 1h
agent: kubernetes
name: echo-test
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: echo-hello-world
spec:
steps:
- name: echo
image: ubuntu
command:
- echo
args:
- "Hello World"
9 changes: 4 additions & 5 deletions aws/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ optional-generate-optional-test-infra-argo:
optional-generate-optional-test-infra-tekton:
echo ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}
echo "Start generating yaml files for optional-test-infra-tekton cluster"
rm -rf ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/optional-test-infra-tekton/namespaces/argo/*
mkdir -p ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/optional-test-infra-tekton/namespaces/argo/
####
# Add Logic to copy yaml files here
####
rm -rf ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/optional-test-infra-tekton/namespaces/kubeflow-test-infra/*
mkdir -p ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/optional-test-infra-tekton/namespaces/kubeflow-test-infra/
cp -r ./User/clusters/optional-test-infra-tekton/namespaces/kubeflow-test-infra/task/ \
${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/optional-test-infra-tekton/namespaces/kubeflow-test-infra/
echo "Finish generating yaml files for optional-test-infra-tekton cluster"
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ plank:

decorate_all_jobs: true
periodics:
- interval: 1m
- interval: 1h
agent: kubernetes
name: echo-test
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: echo-hello-world
spec:
steps:
- name: echo
image: ubuntu
command:
- echo
args:
- "Hello World"

0 comments on commit 8c71d21

Please sign in to comment.