Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Hatch (0.17 sec)

  1. common/scripts/kind_provisioner.sh

        # Get the current config
        original_coredns=$(kubectl get -oyaml -n=kube-system configmap/coredns)
        echo "Original CoreDNS config:"
        echo "${original_coredns}"
        # Patch it
        fixed_coredns=$(
          printf '%s' "${original_coredns}" | sed \
            -e 's/^.*kubernetes cluster\.local/& internal/' \
            -e '/^.*upstream$/d' \
            -e '/^.*fallthrough.*$/d' \
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  2. ci/official/utilities/get_versions.sh

    export TF_VER_MAJOR=$(awk '/#define TF_MAJOR_VERSION/ {print $3}' tensorflow/core/public/version.h)
    export TF_VER_MINOR=$(awk '/#define TF_MINOR_VERSION/ {print $3}' tensorflow/core/public/version.h)
    export TF_VER_PATCH=$(awk '/#define TF_PATCH_VERSION/ {print $3}' tensorflow/core/public/version.h)
    
    # Note: in awk, "print $N" prints the Nth "field", where fields are strings separated
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. docs/bucket/replication/setup_ilm_expiry_replication.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 sitec sited; 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
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/rpm-patch.sh

    #
    # Given an RPM spec file $1, apply its patches.
    
    SPEC="$1"
    grep '%patch' "${SPEC}" |while read cmd ; do
      N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,')
      file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,')
      parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,')
      if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; then
        echo "patch ${parg} -s < ${file}"
        patch ${parg} -s < "${file}"
      fi
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  5. common/scripts/check_clean_repo.sh

    #   See the License for the specific language governing permissions and
    #   limitations under the License.
    
    function write_patch_file() {
        if [ -z "${ARTIFACTS}" ]; then
          return 0
        fi
    
        PATCH_NAME="check-clean-repo-diff.patch"
        PATCH_OUT="${ARTIFACTS}/${PATCH_NAME}"
        git diff > "${PATCH_OUT}"
    
        [ -n "${JOB_NAME}" ] && [ -n "${BUILD_ID}" ]
        IN_PROW="$?"
    
        # Don't persist large diffs (30M+) on CI
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Jan 11 22:57:12 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. docs/site-replication/run-ssec-object-replication.sh

    	echo "BUG: Etag: '${rep_obj1_etag}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_etag}'"
    	exit_1
    fi
    if [ "${rep_obj1_size}" != "${src_obj1_size}" ]; then
    	echo "BUG: Size: '${rep_obj1_size}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_size}'"
    	exit_1
    fi
    if [ "${rep_obj2_etag}" != "${src_obj2_etag}" ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. 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
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_3site_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"
    		for site in sitea siteb sitec; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. ci/official/utilities/setup.sh

    # simple" is MUCH more important than "don't repeat yourself."
    
    # -e: abort script if one command fails
    # -u: error if undefined variable used
    # -x: log all commands
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    # -o history: record shell history
    # -o allexport: export all functions and variables to be available to subscripts
    #               (affects 'source $TFCI')
    set -euxo pipefail -o history -o allexport
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  10. docs/site-replication/run-sse-kms-object-replication.sh

    	echo "BUG: Algorithm: '${rep_obj1_algo}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_algo}'"
    	exit_1
    fi
    if [ "${rep_obj1_keyid}" != "${src_obj1_keyid}" ]; then
    	echo "BUG: KeyId: '${rep_obj1_keyid}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_keyid}'"
    	exit_1
    fi
    if [ "${rep_obj2_algo}" != "${src_obj2_algo}" ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top