File tree Expand file tree Collapse file tree 6 files changed +27
-8
lines changed
public/architectures/setup-multi-cluster/ra-09-setup-externaldns/code_snippets Expand file tree Collapse file tree 6 files changed +27
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ variables:
7
7
- func : setup_mongosh
8
8
- func : download_kube_tools
9
9
- func : build_multi_cluster_binary
10
- teardown_group :
10
+ teardown_task :
11
+ - func : upload_e2e_logs
11
12
- func : upload_code_snippets_logs
12
13
13
14
- &setup_and_teardown_group_kind_code_snippets
@@ -18,12 +19,9 @@ variables:
18
19
- func : download_kube_tools
19
20
- func : configure_docker_auth
20
21
- func : setup_kubernetes_environment
21
- - func : setup_cloud_qa
22
22
teardown_task :
23
23
- func : upload_e2e_logs
24
24
- func : upload_code_snippets_logs
25
- - func : teardown_kubernetes_environment
26
- - func : teardown_cloud_qa
27
25
28
26
# This variable is copied over from .evergreen.yml because anchors don't work for included files
29
27
- &base_om8_dependency
Original file line number Diff line number Diff line change 1
1
mkdir -p secrets
2
2
3
- gcloud iam service-accounts keys create secrets/external-dns-sa-key.json --iam-account=" ${DNS_SA_EMAIL} "
3
+ gcloud iam service-accounts keys create secrets/external-dns-sa-key.json --iam-account=" ${DNS_SA_EMAIL} " || true
Original file line number Diff line number Diff line change @@ -30,7 +30,13 @@ function cleanup() {
30
30
echo " Not deleting anything"
31
31
fi
32
32
}
33
- trap cleanup EXIT
33
+
34
+ function on_exit() {
35
+ scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh
36
+ cleanup
37
+ }
38
+
39
+ trap on_exit EXIT
34
40
35
41
# store all outputs in
36
42
Original file line number Diff line number Diff line change @@ -25,7 +25,14 @@ function cleanup() {
25
25
echo " Not deleting anything"
26
26
fi
27
27
}
28
- trap cleanup EXIT
28
+
29
+ function on_exit() {
30
+ scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh
31
+ cleanup
32
+ }
33
+
34
+ trap on_exit EXIT
35
+
29
36
30
37
source public/architectures/setup-multi-cluster/ra-01-setup-gke/env_variables.sh
31
38
./public/architectures/setup-multi-cluster/ra-01-setup-gke/test.sh
Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ dump_logs() {
18
18
echo
19
19
fi
20
20
}
21
- trap dump_logs EXIT
21
+
22
+ function on_exit() {
23
+ scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh
24
+ }
25
+ trap on_exit EXIT
22
26
23
27
test_dir=" ./docs/search/01-search-community-deploy"
24
28
source " ${test_dir} /env_variables.sh"
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ dump_all_non_default_namespaces() {
28
28
grep -v " kube-public" | \
29
29
grep -v " kube-system" | \
30
30
grep -v " local-path-storage" | \
31
+ grep -v " gmp-" | \
32
+ grep -v " gke-managed" | \
33
+ grep -v " local-path-storage" | \
34
+ grep -v " local-path-storage" | \
31
35
grep -v " metallb-system"
32
36
)
33
37
You can’t perform that action at this time.
0 commit comments