Skip to content

Commit

Permalink
test temp
Browse files Browse the repository at this point in the history
Signed-off-by: Iceber Gu <[email protected]>
  • Loading branch information
Iceber committed Jun 14, 2024
1 parent dab0551 commit 586da1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions test/environments/default.env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ source "$(dirname "${BASH_SOURCE[0]}")/../helper.sh"

function cleanup() {
"${ROOT}/hack/clean-clusterconfigs.sh" >/dev/null 2>&1
delete_data_plane data-v1-28 >/dev/null 2>&1
delete_control_plane control-v1-28 >/dev/null 2>&1
delete_data_plane data-v1-30 >/dev/null 2>&1
delete_control_plane control-v1-30 >/dev/null 2>&1
}
trap cleanup EXIT

create_control_plane control-v1-28 v1.28.0 || {
create_control_plane control-v1-30 v1.30.2 || {
echo "Failed to create control plane"
exit 1
}
create_data_plane data-v1-28 v1.28.2 || {
create_data_plane data-v1-30 v1.30.2 || {
echo "Failed to create data plane"
exit 1
}
Expand Down
5 changes: 3 additions & 2 deletions test/environments/multiple.env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ cases="${1}"
source "$(dirname "${BASH_SOURCE[0]}")/../helper.sh"

releases=(
v1.28.2
v1.28.2
v1.27.6
v1.26.9
Expand All @@ -33,11 +34,11 @@ function cleanup() {
for release in "${releases[@]}"; do
delete_data_plane "data-${release//./-}" >/dev/null 2>&1
done
delete_control_plane control-v1-28 >/dev/null 2>&1
delete_control_plane control-v1-30 >/dev/null 2>&1
}
trap cleanup EXIT

create_control_plane control-v1-28 v1.28.0 || {
create_control_plane control-v1-30 v1.30.2 || {
echo "Failed to create control plane"
exit 1
}
Expand Down

0 comments on commit 586da1c

Please sign in to comment.