Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for mkdir (0.18 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    ln -s ../tensorflow $1/tensorflow
    # extglob is necessary for @(a|b) pattern matching
    # see "extglob" in the bash manual page ($ man bash)
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. buildscripts/verify-build.sh

    	return "$rv"
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    	mkdir -p "$MINT_DATA_DIR"
    
    	MC_BUILD_DIR="mc-$RANDOM"
    	if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    		echo "failed to download https://github.com/minio/mc"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. buildscripts/verify-healing.sh

    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    	return 1
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  4. buildscripts/heal-inconsistent-versions.sh

    	export MINIO_ROOT_PASSWORD=minio123
    	export MC_HOST_minio="http://minio:minio123@127.0.0.1:${start_port}/"
    	unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects
    	export MINIO_CI_CD=1
    
    	mkdir ${WORK_DIR}
    	C_PWD=${PWD}
    	if [ ! -x "$PWD/mc" ]; then
    		MC_BUILD_DIR="mc-$RANDOM"
    		if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    			echo "failed to download https://github.com/minio/mc"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/packaging/deb/init.d/fess

    		log_begin_msg "Already running."
    		log_end_msg 0
    		exit 0
    	fi
    
    	# Prepare environment
    	mkdir -p "$LOG_DIR" "$DATA_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$LOG_DIR" "$DATA_DIR"
    
    	# Ensure that the PID_DIR exists (it is cleaned at OS startup time)
    	if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
    		mkdir -p "$PID_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$PID_DIR"
    	fi
    	if [ -n "$PID_FILE" ] && [ ! -e "$PID_FILE" ]; then
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. buildscripts/verify-healing-with-root-disks.sh

    }
    
    # Prepare fake disks with losetup
    function prepare_block_devices() {
    	set -e
    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    		device=$(sudo losetup --find --show ${WORK_DIR}/disks/img.${i})
    		sudo mkfs.ext4 -F ${device}
    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. buildscripts/verify-healing-empty-erasure-set.sh

    function check_online() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		echo "1"
    	fi
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. buildscripts/rewrite-old-new.sh

    		-debug \
    		-versions \
    		-access-key minio \
    		-secret-key minio123 \
    		-endpoint http://127.0.0.1:${start_port}/ 2>&1 | grep INTACT; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		mkdir -p inspects
    		(
    			cd inspects
    			"${WORK_DIR}/mc" admin inspect minio/healing-rewrite-bucket/verify-build.sh/**
    		)
    
    		"${WORK_DIR}/mc" mb play/inspects
    		"${WORK_DIR}/mc" mirror inspects play/inspects
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.5K bytes
    - Viewed (1)
  9. ci/official/utilities/repack_libtensorflow.sh

      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    }
    DIR=$1
    TARBALL_SUFFIX=$2
    mkdir -p "$DIR"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. manifests/addons/gen.sh

    set -eux
    
    # This script sets up the plain text rendered deployments for addons
    # See samples/addons/README.md for more information
    
    ADDONS="${WD}/../../samples/addons"
    DASHBOARDS="${WD}/dashboards"
    mkdir -p "${ADDONS}"
    TMP=$(mktemp -d)
    LOKI_VERSION=${LOKI_VERSION:-"6.0.0"}
    GRAFANA_VERSION=${GRAFANA_VERSION:-"7.3.7"}
    
    # Set up kiali
    {
    helm3 template kiali-server \
      --namespace istio-system \
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top