-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(smoketest): remove unmaintained k8s and pods smoketests (#292)
- Loading branch information
1 parent
e2f72e0
commit 850f91a
Showing
54 changed files
with
92 additions
and
1,116 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,27 @@ | ||
#!/bin/bash | ||
|
||
createBucket() { | ||
awslocal s3 mb "s3://${1}" | ||
} | ||
|
||
createBuckets() { | ||
for name in "$@"; do | ||
createBucket "${name}" & | ||
done | ||
} | ||
|
||
names=() | ||
for i in $(echo "$CRYOSTAT_BUCKETS" | tr ',' '\n'); do | ||
len="${#i}" | ||
if [ "${len}" -lt 3 ]; then | ||
echo "Bucket names must be at least 3 characters" | ||
exit 1 | ||
fi | ||
if [ "${len}" -gt 63 ]; then | ||
echo "Bucket names must be at most 63 characters" | ||
exit 1 | ||
fi | ||
names+=("${i}") | ||
done | ||
|
||
createBuckets "${names[@]}" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 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 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.