- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 139 for trap (0.11 sec)
-
ci/official/utilities/setup.sh
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 6K bytes - Viewed (0) -
docs/bucket/versioning/versioning-tests.sh
#!/usr/bin/env bash if [ -n "$TEST_DEBUG" ]; then set -x fi trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" echo "server logs =========" cat "/tmp/sitea_1.log" echo "===========================" cat "/tmp/sitea_2.log" fi echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio rm -rf /tmp/multisitea if [ $# -ne 0 ]; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/http/response-recorder.go
package http import ( "bufio" "bytes" "errors" "fmt" "io" "net" "net/http" "time" "github.com/klauspost/compress/gzip" ) // ResponseRecorder - is a wrapper to trap the http response // status code and to record the response body type ResponseRecorder struct { http.ResponseWriter io.ReaderFrom StatusCode int // Log body of 4xx or 5xx responses LogErrBody bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
common/scripts/kind_provisioner.sh
IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}" KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig" IP_FAMILY="${2:-ipv4}" check_default_cluster_yaml # Trap replaces any previous trap's, so we need to explicitly cleanup clusters here trap cleanup_kind_clusters EXIT function deploy_kind() { IDX="${1}" CLUSTER_NAME="${CLUSTER_NAMES[$IDX]}" CLUSTER_POD_SUBNET="${CLUSTER_POD_SUBNETS[$IDX]}"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 21 04:47:23 UTC 2024 - 17.2K bytes - Viewed (0) -
docs/bucket/lifecycle/setup_ilm_transition.sh
#!/usr/bin/env bash set -x trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" for site in sitea siteb; do echo "$site server logs =========" cat "/tmp/${site}_1.log" echo "===========================" cat "/tmp/${site}_2.log" done fi echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio rm -rf /tmp/multisitea
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 2.8K bytes - Viewed (0) -
buildscripts/minio-upgrade.sh
#!/bin/bash trap 'cleanup $LINENO' ERR # shellcheck disable=SC2120 cleanup() { MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \ -f "buildscripts/upgrade-tests/compose.yml" \ down || true MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \ -f "buildscripts/upgrade-tests/compose.yml" \ rm || true for volume in $(docker volume ls -q | grep upgrade); do docker volume rm ${volume} || true done
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 2.6K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
echo "minio executable binary not found in current directory" exit 1 fi if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi trap 'catch $LINENO' ERR function purge() { rm -rf "$1" } # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" fi echo "Cleaning up instances of MinIO"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/bucket/replication/delete-replication.sh
#!/usr/bin/env bash echo "Running $0" if [ -n "$TEST_DEBUG" ]; then set -x fi trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" echo "dc1 server logs =========" cat /tmp/dc1.log echo "dc2 server logs =========" cat /tmp/dc2.log fi echo "Cleaning up instances of MinIO" set +e pkill minio pkill mc rm -rf /tmp/xl/
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 3.9K bytes - Viewed (0) -
bin/update_crds.sh
# See the License for the specific language governing permissions and # limitations under the License. set -e fail() { echo "$@" 1>&2 exit 1 } API_TMP="$(mktemp -d -u)" trap 'rm -rf "${API_TMP}"' EXIT SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOTDIR=$(dirname "${SCRIPTPATH}") cd "${ROOTDIR}" REPO="github.com/istio/api"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 01 20:23:30 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/bucket/replication/setup_2site_existing_replication.sh
#!/usr/bin/env bash echo "Running $0" set -x trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" for site in sitea siteb; do echo "$site server logs =========" cat "/tmp/${site}_1.log" echo "===========================" cat "/tmp/${site}_2.log" done fi echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 5.6K bytes - Viewed (0)