Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: workflow examples - testkube.io replaced with test page #5934

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/examples/status-page/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
memory: 32Mi
steps:
- name: Run tests
shell: curl -f -LI https://docs.testkube.io
shell: curl -f -LI https://testkube-test-page-lipsum.pages.dev/
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down
12 changes: 6 additions & 6 deletions test/jmeter/executor-tests/crd/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ spec:
variables:
URL_ENV:
name: URL_ENV
value: "testkube.io"
value: "testkube-test-page-lipsum.pages.dev"
type: basic
args:
- "-JURL_PROPERTY=testkube.io"
- "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n"
activeDeadlineSeconds: 180
---
Expand Down Expand Up @@ -194,10 +194,10 @@ spec:
variables:
URL_ENV:
name: URL_ENV
value: "testkube.io"
value: "testkube-test-page-lipsum.pages.dev"
type: basic
args:
- "-JURL_PROPERTY=testkube.io"
- "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n"
activeDeadlineSeconds: 180
---
Expand All @@ -224,13 +224,13 @@ spec:
type: basic
URL_ENV:
name: URL_ENV
value: "testkube.io"
value: "testkube-test-page-lipsum.pages.dev"
type: basic
ANOTHER_CUSTOM_ENV:
name: ANOTHER_CUSTOM_ENV
value: "SOME_CUSTOM_ENV"
type: basic
args:
- "-JURL_PROPERTY=testkube.io"
- "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n"
activeDeadlineSeconds: 180
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.domain">testkube.io</stringProp>
<stringProp name="HTTPSampler.domain">testkube-test-page-lipsum.pages.dev</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.domain">testkube.io</stringProp>
<stringProp name="HTTPSampler.domain">testkube-test-page-lipsum.pages.dev</stringProp>
<stringProp name="HTTPSampler.port"></stringProp>
<stringProp name="HTTPSampler.protocol"></stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
Expand All @@ -67,11 +67,11 @@
<stringProp name="filename"></stringProp>
<stringProp name="cacheKey">true</stringProp>
<stringProp name="script">println(&quot;Property and ENV Test&quot;)
if(vars.get(&quot;url_property&quot;) != &quot;testkube.io&quot;) {
println(&quot;Incorrect property - url_property should equal \&quot;testkube.io\&quot;&quot;)
if(vars.get(&quot;url_property&quot;) != &quot;testkube-test-page-lipsum.pages.dev&quot;) {
println(&quot;Incorrect property - url_property should equal \&quot;testkube-test-page-lipsum.pages.dev\&quot;&quot;)
System.exit(1);
} else if(vars.get(&quot;url_env&quot;) != &quot;testkube.io&quot;) {
println(&quot;Incorrect ENV - url_property should equal \&quot;testkube.io\&quot;&quot;)
} else if(vars.get(&quot;url_env&quot;) != &quot;testkube-test-page-lipsum.pages.dev&quot;) {
println(&quot;Incorrect ENV - url_property should equal \&quot;testkube-test-page-lipsum.pages.dev\&quot;&quot;)
System.exit(1);
} else {
println(&quot;OK&quot;)
Expand Down
4 changes: 2 additions & 2 deletions test/special-cases/edge-cases-expected-fails.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ spec:
variables:
URL_ENV:
name: expected-fail-URL_ENV
value: "testkube.io"
value: testkube-test-page-lipsum.pages.dev"
type: basic
args:
- "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"
Expand All @@ -192,7 +192,7 @@ spec:
variables:
URL_ENV:
name: expected-fail-URL_ENV
value: "testkube.io"
value: "testkube-test-page-lipsum.pages.dev"
type: basic
args:
- "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"
Expand Down
Loading