Skip to content

Commit

Permalink
feat: Status page - example workflows (#5857)
Browse files Browse the repository at this point in the history
* curl workflow tests updated

* curl - status-page - example workflows

* container image
  • Loading branch information
tkonieczny authored Sep 19, 2024
1 parent 27f690e commit f6c7de6
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/curl/executor-tests/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
memory: 32Mi
steps:
- name: Run tests
shell: curl https://testkube.io
shell: curl -f -LI https://testkube.io
container:
image: curlimages/curl:8.7.1
---
Expand All @@ -33,7 +33,7 @@ spec:
memory: 32Mi
steps:
- name: Run tests
shell: curl https://testkube.io && sleep 10
shell: curl -f -LI https://testkube.io && sleep 10
container:
image: tkoniecznykubeshop/example-private-repo:curl-8.7.1
---
Expand All @@ -54,6 +54,6 @@ spec:
parallel:
matrix:
url: ['https://testkube.io', 'https://docs.testkube.io']
shell: curl '{{ matrix.url }}'
shell: curl -f -LI '{{ matrix.url }}'
container:
image: curlimages/curl:8.7.1
53 changes: 53 additions & 0 deletions test/examples/status-page/crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: tw-testkube-website-5m
spec:
events:
- cronjob:
cron: '*/5 * * * *'
container:
image: curlimages/curl:8.7.1
resources:
requests:
cpu: 32m
memory: 32Mi
steps:
- name: Run tests
shell: curl -f -LI https://testkube.io
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: tw-testkube-docs-5m
spec:
events:
- cronjob:
cron: '*/5 * * * *'
container:
image: curlimages/curl:8.7.1
resources:
requests:
cpu: 32m
memory: 32Mi
steps:
- name: Run tests
shell: curl -f -LI https://docs.testkube.io
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: tw-testkube-blog-5m
spec:
events:
- cronjob:
cron: '*/5 * * * *'
container:
image: curlimages/curl:8.7.1
resources:
requests:
cpu: 32m
memory: 32Mi
steps:
- name: Run tests
shell: curl -f -LI https://testkube.io/blog

0 comments on commit f6c7de6

Please sign in to comment.