File tree Expand file tree Collapse file tree 6 files changed +24
-8
lines changed
public/architectures/setup-multi-cluster/setup-externaldns/code_snippets Expand file tree Collapse file tree 6 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,8 @@ variables:
93
93
- func : setup_mongosh
94
94
- func : download_kube_tools
95
95
- func : build_multi_cluster_binary
96
- teardown_group :
96
+ teardown_task :
97
+ - func : upload_e2e_logs
97
98
- func : upload_code_snippets_logs
98
99
99
100
- &setup_and_teardown_group_kind_code_snippets
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 @@ -24,7 +24,13 @@ function cleanup() {
24
24
echo " Not deleting anything"
25
25
fi
26
26
}
27
- trap cleanup EXIT
27
+
28
+ function on_exit() {
29
+ scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh
30
+ cleanup
31
+ }
32
+
33
+ trap on_exit EXIT
28
34
29
35
source public/architectures/setup-multi-cluster/setup-gke/env_variables.sh
30
36
./public/architectures/setup-multi-cluster/setup-gke/test.sh
Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ function cleanup() {
19
19
echo " Not deleting anything"
20
20
fi
21
21
}
22
- trap cleanup EXIT
22
+
23
+ function on_exit() {
24
+ scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh
25
+ cleanup
26
+ }
27
+
28
+ trap on_exit EXIT
23
29
24
30
source public/architectures/setup-multi-cluster/setup-gke/env_variables.sh
25
31
./public/architectures/setup-multi-cluster/setup-gke/test.sh
Original file line number Diff line number Diff line change 3
3
set -eou pipefail
4
4
source scripts/dev/set_env_context.sh
5
5
6
- dump_logs () {
7
- source scripts/evergreen/e2e/dump_diagnostic_information.sh
8
- dump_all_non_default_namespaces " $@ "
6
+ function on_exit() {
7
+ scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh
9
8
}
10
- trap dump_logs EXIT
9
+ trap on_exit EXIT
11
10
12
11
test_dir=" ./docs/community-search/quick-start"
13
12
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