-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
34 additions
and
474 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
app-tests-skip-app-deploy: true | ||
app-tests-app-config-file: tests/values.yaml | ||
app-tests-deploy-namespace: kube-system | ||
|
||
smoke-tests-cluster-config-file: tests/kind_config.yaml | ||
smoke-tests-cluster-type: kind | ||
skip-steps: [functional, upgrade] | ||
smoke-tests-cluster-config-file: tests/cluster.yaml | ||
|
||
functional-tests-cluster-type: kind | ||
functional-tests-cluster-config-file: tests/cluster.yaml | ||
|
||
upgrade-tests-cluster-type: kind | ||
upgrade-tests-cluster-config-file: tests/cluster.yaml | ||
upgrade-tests-app-catalog-url: https://giantswarm.github.io/giantswarm-catalog | ||
upgrade-tests-app-config-file: tests/values.yaml |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[pytest] | ||
markers = | ||
smoke | ||
functional | ||
upgrade |
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,16 @@ | ||
from pytest import mark | ||
from pytest_helm_charts.clusters import Cluster | ||
from pytest_helm_charts.giantswarm_app_platform.app import wait_for_apps_to_run | ||
from pytest_helm_charts.k8s.deployment import wait_for_deployments_to_run | ||
|
||
@mark.smoke | ||
@mark.functional | ||
@mark.upgrade | ||
def test_coredns(kube_cluster: Cluster) -> None: | ||
assert kube_cluster.kube_client is not None | ||
|
||
# Wait for coredns app to run. | ||
wait_for_apps_to_run(kube_cluster.kube_client, [ "coredns-app" ], "kube-system", 60) | ||
|
||
# Wait for coredns-controlplane & coredns-workers deployments to run. | ||
wait_for_deployments_to_run(kube_cluster.kube_client, [ "coredns-controlplane", "coredns-workers" ], "kube-system", 60) |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,3 @@ apiVersion: kind.x-k8s.io/v1alpha4 | |
nodes: | ||
- role: control-plane | ||
- role: worker | ||
- role: worker | ||
- role: worker |
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
|
||
name: coredns-test | ||
namespace: default | ||
|
||
cluster: | ||
kubernetes: | ||
DNS: | ||
|