text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
load _helpers @test "syncCatalog/Deployment: disabled by default" { cd `chart_dir` local actual=$(helm template \ -x templates/sync-catalog-deployment.yaml \ . | tee /dev/stderr | yq 'length > 0' | tee /dev/stderr) [ "${actual}" = "false" ] } @test "syncCatalog/Deployment: enable with global....
the_stack
############################################################## # Set / Calculate standard environmental values # Note: Do NOT put local customizations here. See sqf/LocalSettingsTemplate.sh ############################################################## # Adding build-time dependencies: # * Add environment variable in ...
the_stack
set -eu TOOL=$(basename "$0") HELP=$(cat <<HELP $0 - Tarantool Automatic Bug Reporting Tool This tool collects all required artefacts (listed below) and packs them into a single archive with unified format: - /checklist - the plain text file with the list of tarball contents - /version - the plain tex...
the_stack
WORK_DIR=$(cd "$(dirname "$0")"; pwd) CONFIG_FILE_PATH=$1 DST_PATH=$2 printUsage() { echo "usage:" echo " zfproj_creator.sh CONFIG_FILE_PATH [ZF_OUTPUT]" echo " zfproj_creator.sh -app PROJ_NAME OUTPUT_PATH" echo " zfproj_creator.sh -lib PROJ_NAME OUTPUT_PATH" echo " zfproj_creator.sh -impl PROJ_...
the_stack
# The invocation of bootstrap.sh below performs the following tasks: # (1) Import several bash3boilerplate helper functions & default settings. # (2) Set several variables describing the current file and its usage page. # (3) Parse the usage information (default usage file name: current file's name with -usage appended...
the_stack
# Build 20211208-003-test name_js=( jd_fruit jd_pet jd_plantBean jd_dreamFactory jd_jdfactory jd_crazy_joy jd_jdzz jd_jxnc jd_bookshop jd_cash jd_sgmh jd_cfd jd_health jd_carnivalcity jd_city jd_moneyTree jd_cfdtx ) name_config=( Fruit Pet Bean DreamFactory JdFactory Joy ...
the_stack
# 'globals' within bash context # used for caching purposes to avoid calling # pestle unless we have to pestle_magento2_base_directory="" pestle_module_suggestions="" pestle_have_suggestions_for="" pestle_arg_types_suggestions="" pestle_currently_suggesting="" pestle_pluggable_class_suggestions="" _commandList () { ...
the_stack
find_or_install() { package="$1" # This is a bash 3 hack standing in for a bash 4 hash (bash 3 is the lowest common # denominator because, for licensing reasons, OS X only has bash 3 by default.) # See http://stackoverflow.com/questions/1494178/how-to-define-hash-tables-in-bash package_executable_array=( ...
the_stack
options_menu() { COLUMNS=12 exitmenu=$(printf "\e[1;4;33mExit\e[0m") returntopreviousmenu=$(printf "\e[1;4;33mReturn to previous menu\e[0m") container_check=1 # if service is marked as installed, make sure all containers exist and offer to run them if necessary if elementInArray "${PROPER_NAME}" "${INSTALLED_S...
the_stack
###################################################################### # # RAW2RESANL.SH : Convert RAW Date Gotten by GATHERTW.SH to RES and ANL Data # # Usage: ${0##*/} [options] [file ...] # Args : file ... # Twitter original JSON data (RAW) files: # For example, you can set the files as follows...
the_stack
# Copyright (c) 2011-2015 Benjamin Fleischer # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # lis...
the_stack
set -euo pipefail . $IMPALA_HOME/bin/report_build_error.sh setup_report_build_error . ${IMPALA_HOME}/bin/impala-config.sh > /dev/null 2>&1 . ${IMPALA_HOME}/testdata/bin/run-step.sh # Environment variables used to direct the data loading process to an external cluster. # TODO: We need a better way of managing how thes...
the_stack
# Copyright 2014 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
the_stack
###################################################################################### # # Copyright (c) 2013, Ben Tasker # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # Redistributions of...
the_stack
# Copyright (C) 2018-2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 # # Installs the Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver on Linux. # # Usage: sudo -E ./install_NEO_OCL_driver.sh # # Supported platforms: # 6th-11th generation Intel® Core™ processor with Intel(R) # ...
the_stack
set -eo pipefail # Define paths for oci-cli and jq or put them on $PATH. Don't use relative PATHs in the variables below. v_oci="oci" v_jq="jq" if [ -z "${BASH_VERSION}" -o "${BASH}" = "/bin/sh" ] then >&2 echo "Script must be executed in BASH shell." exit 1 fi # Add any desired oci argument exporting OCI_CLI_AR...
the_stack
ACCESS_KEY_ID=$1 ACCESS_KEY_SECRET=$2 DB_PASSWORD=$3 ES_PASSWORD=$4 BUCKET=$5 PAY_TYPE=$6 REGION="cn-beijing" ZONE_ID="cn-beijing-h" GENERATER_NAME="fedlearnerwins" VPC_CIDR_BLOCK="192.168.0.0/16" function echo_exit { echo $1 exit 1 } function echo_log { msg=$1 echo $msg echo $msg >> install.log ...
the_stack
set -eu if command -v oc >/dev/null; then kubectl() { oc "$@"; } kubectl version elif ! command -v kubectl >/dev/null; then # Use a version of `kubectl` that matches the Kubernetes server. eval "kubectl() { kubectl-$( kubectl-1.16 version --output=json | jq --raw-output '.serverVersion | .major + "." + .minor')"...
the_stack
TARGET_ARCH='needs-to-be-set-by-board-definition' # Board setup should not touch these, so users can FREEBSD_SRC=/usr/src FREEBSD_EXTRA_ARGS="" FREEBSD_WORLD_EXTRA_ARGS="" FREEBSD_BUILDWORLD_EXTRA_ARGS="" FREEBSD_INSTALLWORLD_EXTRA_ARGS="" FREEBSD_KERNEL_EXTRA_ARGS="" FREEBSD_BUILDKERNEL_EXTRA_ARGS="" FREEBSD_INSTALLK...
the_stack
# Create a shell script to automate the conversion and publishing of the given csv filenames. # Running the created script once will produce the raw conversion; # running it a second time will produce the enhanced conversion. # # \./ source-id ...
the_stack
# SPDX-License-Identifier: Apache-2.0 # Copyright(c) 2017 Intel Corporation cd $(dirname ${BASH_SOURCE[0]}) CPUS=${CPUS:-$(nproc)} SERVICE=3 SGX_SERVICE=0 SERVICE_NAME="Collocated CP and DP" source ./services.cfg export NGIC_DIR=$PWD echo "------------------------------------------------------------------------------"...
the_stack
# nmrpipe_1d_time.fid # 1D time containing 1 - 1j, 2 - 2j, 0, 0, ... simTimeND \ -xN 32 \ -xT 16 \ -xMODE Complex \ -xSW 50000.000 \ -xOBS 500.000 \ -xCAR 99.000 \ -xLAB H1 \ -ndim 1 \ -out ...
the_stack
# GATK realignment and recalibration # script filename script_path="${BASH_SOURCE[0]}" script_name=$(basename "$script_path") segment_name=${script_name/%.sh/} echo -e "\n ========== SEGMENT: $segment_name ========== \n" >&2 # check for correct number of arguments if [ ! $# == 4 ] ; then echo -e "\n $script_name ER...
the_stack
yum clean all yum install -y hadoop-yarn-nodemanager hadoop-hdfs-datanode hadoop-mapreduce hadoop-lzo ################## setup configuration files ############## # create a custom configuration profile called 'conf.vagrant' #------------------------------------------------------------ # ref http://www.cloudera.com/c...
the_stack
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
the_stack
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
the_stack
# Copyright 2012-2014 Johns Hopkins University (Author: Daniel Povey) # 2014-2015 Vimal Manohar # Apache 2.0. set -o pipefail # This script does MPE or MMI or state-level minimum bayes risk (sMBR) training # using egs obtained by steps/nnet3/get_egs_discriminative.sh # Begin configuration section. cmd=ru...
the_stack
set -Eeo pipefail # usage: file_env VAR [DEFAULT] # ie: file_env 'XYZ_DB_PASSWORD' 'example' # (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of # "$XYZ_DB_PASSWORD" from a file, especially for Docker's secrets feature) export GAUSSHOME=/usr/local/opengauss export PATH=$GAUSSHOME/bin:$PATH export LD...
the_stack
# Copyright 2014 Intel Corporation, All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the"License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or a...
the_stack
# ``grenade.sh`` is an OpenStack upgrade test harness to exercise the # OpenStack upgrade process. It uses DevStack to perform the initial # OpenStack install. # Grenade assumes it is running on the system that will be hosting the # upgrade processes # ``grenade.sh [-b] [-t] [-s stop-label] [-q]`` # # ``-b`` Run ...
the_stack
# Flags FLAG_Y="y" FLAG_N="n" FLAGS_Y_N="$FLAG_Y $FLAG_N" FLAG_NOT_APPLICABLE="_NA_" CURRENT_VERSION=$1 WRAPPER_SCRIPT_TYPE_RPMDEB="RPMDEB" WRAPPER_SCRIPT_TYPE_DOCKER_COMPOSE="DOCKERCOMPOSE" SENSITIVE_KEY_VALUE="__sensitive_key_hidden___" # Shared system keys SYS_KEY_SHARED_JFROGURL="shared.jfrogUrl" SYS_KEY_SHARED...
the_stack
progname="gs_plan_simulator" dbname="" node_group="" mode="" port=$PGPORT user="" dir="" tables="" ishdfs="no" enable_extended_statistic="yes" enable_node_group="no" #global variables sql_conect="" sql_conect_pg="" dump_conect="" data_node_prefix="datanode" node_group_name="group1" #file name files_path="" clean_tem...
the_stack
set -e; echo -e \ "\n########################################################### # # CHROMOSOME SORT ORDER AND NAMING CONVENTIONS # ###########################################################\n" BT=${BT-../../../bin/bedtools} FAILURES=0; check() { if diff $1 $2; then echo ok else FAILU...
the_stack
#see="https://github.com/timrdf/csv2rdf4lod-automation/wiki/CSV2RDF4LOD-not-set" #CSV2RDF4LOD_HOME=${CSV2RDF4LOD_HOME:?"not set; source csv2rdf4lod/source-me.sh or see $see"} HOME=$(cd ${0%/*/*} && echo ${PWD%/*}) export CLASSPATH=$CLASSPATH`$HOME/bin/util/cr-situate-classpaths.sh` CSV2RDF4LOD_HOME=${CSV2RDF4LOD_HOME:?...
the_stack
. ./trace.sh ln_create_invoice() { trace "Entering ln_create_invoice()..." local result local data local id local request=${1} local msatoshi=$(echo "${request}" | jq -r ".msatoshi") trace "[ln_create_invoice] msatoshi=${msatoshi}" local label=$(echo "${request}" | jq -r ".label") trace "[ln_create...
the_stack
if [ "$DEBUG_SCRIPT" -eq 1 ]; then set -x fi SANITY_CONFIG_FILE="" # The token file name will have a suffix which is this shell's PID # It will allow to run the sanity in parallel export BOURNE_TOKEN_FILE="/tmp/token$$.txt" BOURNE_SAVED_TOKEN_FILE="/tmp/token_saved.txt" PATH=$(dirname $0):$(dirname $0)/..:/bin:/...
the_stack
# model A, B, C, D, E, F, G # method PGD, MILP, PercySDP, FazlybSDP, AI2, RefineZono, LPAll # kReLU, DeepPoly, ZicoDualLP, CROWN, CROWN_IBP, CNNCert, FastLin_IBP # FastLin, FastLinSparse, FastLip, RecurJac, Spectral, IBP, IBPVer2 # 3rd row method; mnist; full models; verify+radius # run on window run1, ...
the_stack
set -o pipefail # BEGIN - From https://raw.githubusercontent.com/jenkinsci/docker/master/jenkins-support # compare if version1 < version2 versionLT() { local v1; v1=$(echo "$1" | cut -d '-' -f 1 ) local q1; q1=$(echo "$1" | cut -s -d '-' -f 2- ) local v2; v2=$(echo "$2" | cut -d '-' -f 1 ) local q2; q2...
the_stack
cat << EOF > /tmp/hashicorp.asc -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBGB9+xkBEACabYZOWKmgZsHTdRDiyPJxhbuUiKX65GUWkyRMJKi/1dviVxOX PG6hBPtF48IFnVgxKpIb7G6NjBousAV+CuLlv5yqFKpOZEGC6sBV+Gx8Vu1CICpl Zm+HpQPcIzwBpN+Ar4l/exCG/f/MZq/oxGgH+TyRF3XcYDjG8dbJCpHO5nQ5Cy9h QIp3/Bh09kET6lk+4QlofNgHKVT2epV8iK1cXlbQe2tZtfCUtxk+pxv...
the_stack
apt-get update -y apt-get install -y wget tar git g++ make curl libssl-dev libevent-dev \ libcurl4-openssl-dev libsnappy-dev ncurses-dev openssl libiodbc2-dev \ autoconf cmake libtool python python-dev golang-go subversion cmake \ gnupg openjdk-8-jdk openjdk-8-jre lsb-release apt-get update -y apt-get up...
the_stack
# This file serves the purpose of testing the network behavior under extreme load of # random transactions and tokens/nfts transactions. # Blocks are being mined through proof of stake process so this script usually takes hours # to finish depending on the setup. Tests that are included are: # # 1. Create random trans...
the_stack
# run buildall.sh -help to see options ROOT=`dirname "$0"` ROOT=`cd "$ROOT"; pwd` # Grab this *before* we source impala-config.sh to see if the caller has # kerberized environment variables already or not. NEEDS_RE_SOURCE_NOTE=1 if [ ! -z "${MINIKDC_REALM}" ]; then NEEDS_RE_SOURCE_NOTE=0 fi export IMPALA_HOME=$ROO...
the_stack
#!/bin/bash export PYTHONPATH=`pwd` echo $PYTHONPATH gpu=5 #source configs/fb60kcut.sh # #siz=data/FB60K-Cut/FB60K-0.1 #echo "$siz" ## echo "$siz" >> results.txt #data_dir=$siz # #cmd="python3 -m src.experiments \ # --data_dir $data_dir \ # --process_data \ # --model $model \ # --bandwidth $bandwidth \ #...
the_stack
# Contiv network connectivity report v1.2 # This version works with Contiv-VPP 1.2+ and Kubernetes 1.10.5+ set -euo pipefail usage() { echo "Usage: $0 [OPTION]..." echo echo "If no options are specified, IP and MAC addresses are shown for:" echo " - Host GigE interface" echo " - VPP GigE interface...
the_stack
setup() { export RUNPREDICTION_SH="${BATS_TEST_DIRNAME}/../runprediction.sh" export TEST_TMP_DIR="${BATS_TMPDIR}/"`uuidgen` /bin/mkdir -p "$TEST_TMP_DIR" } teardown() { if [ -d "$TEST_TMP_DIR" ] ; then /bin/rm -rf "$TEST_TMP_DIR" fi } @test "runprediction.sh no args" { run $RUNPREDICTI...
the_stack
UTILS_TEST_SUITE_PATH=/usr/share/buendia/tests . /usr/share/buendia/utils.sh test_begin="[\033[7m RUNNING \033[0m]" test_pass="[ \033[32mPASS\033[0m ]" test_fail="[ \033[31mFAIL\033[0m ]" suite_begin="----" suite_fail="\033[91mFAILURE:\033[0m" suite_skip="\033[33mSKIPPED:\033[0m" warning="\033[33mWARNING\033...
the_stack
# common parameters if [ -x /bin/uname ];then UNAME=/bin/uname else UNAME=/usr/bin/uname fi SYSTEM=`${UNAME} -s` DATE=/bin/date MKDIR=/bin/mkdir # set TMP_DIR to HOME so that we don't fill up /tmp by accident TMP_DIR=${TMP_DIR:="$HOME"} USE_VALGRIND=${USE_VALGRIND:="no"} DO_LEACKCHECK=${DO_LEAKCHECK:="no"} D...
the_stack
#!/bin/bash # Due to deployment times, you should plan for a full day to complete the entire script. You can monitor deployment progress in the activity log within the Azure portal. For more information on deployment times, see https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance#managed-instanc...
the_stack
set -uo pipefail [ $# -eq 0 ] && { echo "No arguments provided. Use -h for help."; exit 1; } while getopts 'amprduenh' c do case "$c" in a) ANALYZE="TRUE" ;; m) REFERENCE="TRUE" ;; p) PROTECT="TRUE" ;; r) UNPROTECT="TRUE" ;; d) DRAIN="TRUE" ;; u) UNDRAIN="TRUE" ;; e) ELIGIBLE="TRUE" ;; ...
the_stack
# ltcf-cxx.sh - Create a C++ compiler specific configuration # # Copyright (C) 1996-1999, 2000, 2001, 2003 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # Original C++ support by:Gary V. Vaughan <gvv@techie.com> # Alexandre Oliva <oliva@lsd.ic.unicamp.br> # Ossama ...
the_stack
##################################################### # Prints the command line help for usage and # available commands. ##################################################### print_help() { print_help_header echo " Available commands: disable Disables a hook in the current repository enable ...
the_stack
set -e root=false while [[ "$#" -gt 0 ]]; do case $1 in -r|--root) root=true ;; *) echo "Unknown parameter passed: $1"; exit 1 ;; esac shift done # some constant params FD_VERSION=8.2.1 BAT_VERSION=0.18.0 ZSH_HL=zsh-syntax-highlighting ZSH_AS=zsh-autosuggestions ZSH_CUSTOM=${ZSH}/custom Z...
the_stack
team=RADICAL corpusid= partition= scase=BaEval #BaDev|BaEval master= version=1 sysid= prim=c cer=0 dryrun=true dir="exp/sgmm5_mmi_b0.1/" data=data/dev10h.seg master=dev10h extrasys= final=false #end of configuration echo $0 " " "$@" [ -f ./cmd.sh ] && . ./cmd.sh [ -f ./path.sh ] && . ./path.sh . ./utils/parse_opti...
the_stack
# This script outputs a proper Spring Boot executable jar. # This script is callable from a Bazel build (via a genrule in springboot.bzl). # It takes a standard Bazel java_binary output executable jar and 'springboot-ifies' it. # See springboot.bzl to see how it is invoked from the build. # You should not be trying to ...
the_stack
# Copyright (c) 2015, Plume Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of condition...
the_stack
set -beEu -x -o pipefail # Do not modify this script, modify the source tree copy: # kent/src/hg/utils/otto/sarscov2phylo/makeNewMaskedVcf.sh usage() { echo "usage: $0 prevDate today problematicSitesVcf [baseProtobuf]" echo "This assumes that ncbi.latest and cogUk.latest links/directories have been updated." ...
the_stack
# Enable verbose shell output if OVNKUBE_SH_VERBOSE is set to 'true' if [[ "${OVNKUBE_SH_VERBOSE:-}" == "true" ]]; then set -x fi # source the functions in ovndb-raft-functions.sh . /root/ovndb-raft-functions.sh # This script is the entrypoint to the image. # Supports version 3 daemonsets # $1 is the daemon to s...
the_stack
# This code is based on an example recipe from the AppImage project, # https://github.com/probonopd/AppImages/blob/e05cbebc62c86f8c602d74d9050bbfbf10df1c69/recipes/powershell/Recipe # Copyright (c) 2016 Simon Peter # The license of this code and of https://github.com/probonopd/AppImages/raw/e05cbebc62c86f8c602d74d9050b...
the_stack
# Copyright 2016 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
the_stack
if [[ $# -lt 1 || "$1" == "--help" ]]; then echo "usage: `basename $0` [--[no-]compress] [--[no-]turtle] [--[no-]ntriples] [--[no-]rdfxml] [--link-as-latest] source/some.{rdf,ttl,nt}" echo " will create publish/*.ttl and publish/bin" echo " --compress : gzip publish/*" echo " --turtle : include publ...
the_stack
set -ex #source parse_yml.sh # Pull variables from pipline yaml files # TODO check for file exists eval $(ruby parse_yml.rb params_template.yml) # TODO check for file exists eval $(ruby parse_yml.rb creds-template.yml) IDENTIFIER_URI="http://NETWORKAzureCPI-${azure_terraform_prefix}" DISPLAY_NAME="${azure_terraform_...
the_stack
# needed to allow the loop on *.png without using "*.png" as value shopt -s nullglob date if [ $# -ne 5 ]; then afstokenchecker.sh "You have to provide a <tag_search_string>, a <DB>, an <Account>, a <GTAccount> and the <FrontierPath> !!!" exit fi afstokenchecker.sh "Starting execution of MonitorDB_NewDirStruc...
the_stack
# Include logging . $FLEDGE_ROOT/scripts/common/write_log.sh # Logger wrapper schema_update_log() { if [ "$1" != "debug" ]; then write_log "Upgrade" "scripts.plugins.storage.${PLUGIN_NAME}schema_update" "$1" "$2" "$3" "$4" fi } calculate_table_id() { declare _n_readings_allocate=$1 schema_...
the_stack
# Exit on error set -e BUILD_DIR=`pwd` WORKING_DIR="${BUILD_DIR}/TMP" RELEASE_DIR="${BUILD_DIR}/releases" CONFIG_FILE="${BUILD_DIR}/config.json" if [[ "${2}" =~ "--config" ]]; then CONFIG_FILE="${2#*=}"; fi get_value_by_key() { JSON_FILE=${CONFIG_FILE} KEY=${1} REGEX="(?<=\"${KEY}\":.\")[^\"]*" J...
the_stack
# Copyright Istio Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
the_stack
BASE_PATH="src/third-party/text" DEPENDENCY=${1} STATIC_ASSETS_BRANCH=${2:-master} STATIC_ASSETS_VERSION=$(./build/current_version.sh) STATIC_ASSETS_PATH="${BASE_PATH}/${STATIC_ASSETS_VERSION}" build_custom_highlightjs() { # TODO: This list of languages should be made more dynamic based on the file extensions Prev...
the_stack
set -ex SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" IRONIC_IMAGE=${IRONIC_IMAGE:-"quay.io/metal3-io/ironic:master"} IRONIC_INSPECTOR_IMAGE=${IRONIC_INSPECTOR_IMAGE:-"quay.io/metal3-io/ironic"} IRONIC_KEEPALIVED_IMAGE=${IRONIC_KEEPALIVED_IMAGE:-"quay.io/metal3-io/keepalived"} IPA_DOWNLOADER_IMAGE=...
the_stack
YAML_FILE=$1 GEN_DIR=$2 YAML_PARSER="dasel -n -p yaml --plain -f" TARGET_NAME=$(basename "$YAML_FILE" .yml) OUT_HEADER="$GEN_DIR"/Target.h OUT_MAKEFILE="$GEN_DIR"/Defines.mk #generated header contains cpp code #generate USB names in dedicated header since this one is included in .c files OUT_HEADER_USB="$GEN_DIR"/USBn...
the_stack
# Uncomment cmdline below to get stdout/stderr logged into # file for online inspection when being interactively logged # in to running container with a shell #exec 1> /tmp/run-onboard-sit.log 2>&1 # Give the JEE Discovery Directory a chance to start ... sleep 120 echo "SIT: Onboard RUN END TO END TEST" echo "ENVIRO...
the_stack
load helpers # This is a long ugly way to clean up pods and remove the pause image function teardown() { run_podman pod rm -t 0 -f -a run_podman rm -t 0 -f -a run_podman image list --format '{{.ID}} {{.Repository}}' while read id name; do if [[ "$name" =~ /podman-pause ]]; then run_...
the_stack
## This script is designed to setup a Munki repository on a local machine for sync to the cloud. ## Version: 1.0 ## This script carries NO warranty or guarantee. If it breaks, you own both pieces. ## Goals: ## This script should do the following: # 1. Install git if needed. # 2. Install the Python pip installer too...
the_stack
################################################################################ # Copyright EnterpriseDB Cooperation # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # * Redistributions of sour...
the_stack
_SYNC_RUN() { SPACE_SIGNATURE="forceSync quite [podToOverwrite] " SPACE_ENV="CLUSTERPATH" SPACE_DEP="PRINT _PRJ_IS_CLUSTER_CLEAN _PRJ_GET_CLUSTER_GIT_COMMIT_CHAIN _PRJ_GET_CLUSTER_ID _SYNC_GET_METADATA _SYNC_RUN2 _SYNC_OUTPUT_INFO _SYNC_ACQUIRE_LOCK _PRJ_LOG_C _PRJ_LIST_HOSTS _SYNC_MK_TMP_FILES _SYNC_RM_TMP...
the_stack
# exit this script if any commmand fails set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ADXE_ROOT="$DIR"/../.. COCOSFILE_PATH="$ADXE_ROOT/templates/cocos2dx_files.json" CPU_CORES=4 function do_retry() { cmd=$@ retry_times=5 retry_wait=3 c=0 while [ $c -lt $((retry_times+1)) ]; do c=$((c+1)) e...
the_stack
# Paths importPath='./src/assets/extracts/.temp/settings/' staticLightTempPath='./src/assets/extracts/.temp/static-light' staticLightPath='./src/assets/extracts/modes/static-light' dynamicLightTempPath='./src/assets/extracts/.temp/dynamic-light' dynamicLightPath='./src/assets/extracts/modes/dynamic-light' # Extract S...
the_stack
############################################################################### # PREVENT PEOPLE FROM SHOOTING THEMSELVES IN THE FOOT # ############################################################################### starting_script=`basename "$0"` if [ "$starting_script" != "freshinstall.sh" ];...
the_stack
. include/common test="dSIPRouter API Test" # static settings project_dir=/opt/dsiprouter cookie_file=/tmp/cookie temp_pass='temp' temp_token='temp' # dynamic settings proto=$(getConfigAttrib 'DSIP_PROTO' ${DSIP_CONFIG_FILE}) host='127.0.0.1' port=$(getConfigAttrib 'DSIP_PORT' ${DSIP_CONFIG_FILE}) username=$(getConf...
the_stack
. helpers/error.sh . helpers/prompt.sh echo 'Setting up the Proton environment to run ACT with network capture' echo 'This script will set up your wine prefix and proton executables to run ACT, as well as set up a default ACT install for you' echo 'If this process is aborted at any Continue prompt, it will resume from...
the_stack
# utility functions for staged authoring of ISOs [ -n "$DEBUG" ] && set -x BASE_DIR=$(dirname $(readlink -f "$BASH_SOURCE")) BUILD_NUMBER=${BUILD_NUMBER:-0} VERSION=`git describe --abbrev=0 --tags`-${BUILD_NUMBER}-`git rev-parse --short HEAD` # initialize a directory with the assumptions we make for authoring # 1: t...
the_stack
SCRIPT_NAME="Dolphin Platform Release preparation" SCRIPT_VERSION="v1.0.0 (2018-02-15)"; function show_help() { echo "Usage: prepare-release <package> <version> [candidate]" echo echo " package: The package that should be released. Possible packages are: javascript, js-frameworks, java-examples, java...
the_stack
############################################################################ # Copyright Nash!Com, Daniel Nashed 2021 - APACHE 2.0 see LICENSE ############################################################################ # Domino on Linux installation script # - Installs required software # - Adds notes:notes user and...
the_stack
#################################################################################################### # variables for convenience CURRENT_ORGAN_ID=1 CURRENT_PLANE=A CURRENT_FOLD=0 CURRENT_GPU=$CURRENT_FOLD #################################################################################################### # turn on the...
the_stack
# NOTE: This script can be sourced or executed, but NOT via symlink REPO_ROOT=$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd ) . "${REPO_ROOT}/scripts/release/release_utils.sh" ADAPT_DOCKER_REPO=adaptjs/adapt # Globals declare -A ARGS LERNA_ARGS=() STARTERS_CMD="${REPO_ROOT}/scripts/starters.js" ADAPT_PUSH_REM...
the_stack
###################################################### # Variable declaration ###################################################### # Executables mysqlExec="/usr/bin/mysql" opensslExec="/usr/bin/openssl" sedExec="/usr/bin/sed" echoExec="/usr/bin/echo" shExec="/bin/sh" suExec="/usr/bin/su" catExec="/usr/bin/cat" cpExec...
the_stack
if [ "$#" -ne 1 ]; then BIN="yubihsm-shell" else BIN=$1 # path to the yubico-piv-tool command line tool fi if [ -e yubihsm-shell_test_dir ]; then rm -rf yubihsm-shell_test_dir fi mkdir yubihsm-shell_test_dir; cd yubihsm-shell_test_dir echo test signing and decryption data > data.txt set -e set -x echo "-------...
the_stack
MAIN_PATH=$(pwd) N_MONO=10000000 # number of monolingual sentences for each language CODES=60000 # number of BPE codes N_THREADS=16 SRC=en TGT=ro POSITIONAL=() while [[ $# -gt 0 ]] do key="$1" case $key in --reload_codes) RELOAD_CODES="$2"; shift 2;; --reload_vocab) RELOAD_VOCAB="$2"; shift 2;; *)...
the_stack
set -e . include_crldp_base.sh echo "Using CRL distribution points: $CRLDP_BASE<ca_name>.crl" # Setup: build intermediate directories. rm -rf crl/ mkdir -p private mkdir -p crl declare -ra CA_NAMES=( cbsd_ca non_cbrs_root_ca non_cbrs_root_signed_cbsd_ca non_cbrs_root_signed_oper_ca non_cbrs_root_signed_sas...
the_stack
ODS_ENFORCER_WAIT_START=90 ODS_SIGNER_WAIT_START=90 ODS_ODS_CONTROL_WAIT_START=90 ODS_ENFORCER_WAIT_START_LOG=90 ODS_SIGNER_WAIT_START_LOG=90 ODS_ENFORCER_WAIT_STOP=90 ODS_SIGNER_WAIT_STOP=90 ODS_ODS_CONTROL_WAIT_STOP=90 ODS_ENFORCER_WAIT_STOP_LOG=90 ODS_SIGNER_WAIT_STOP_LOG=90 ODS_ENFORCER_START_LOG_STRING='ods-en...
the_stack
function setup_my_nodes { export MY_NODES=`trafconf -wname` export NODE_LIST=`trafconf -name` } function setup_sqpdsh { if [ -e $SQ_PDSH ]; then if [ -z "$MY_NODES" ]; then export SQPDSHA="$SQ_PDSH -a" else setup_my_nodes export SQPDSHA="$PDSH $MY_NODES $...
the_stack
# ------------------------------------------------------------------------------ # Description : Installation and basic configuration of web2py, uWSGI, Redmine, # Unicorn, Nginx and PostgreSQL. # Usage : Copy the script in /home/username and run it as root, you may # need to allow exec...
the_stack
# char width: 7 # char height: 15 # clear screen printf '\033[2J' # set color printf '\033[46;31;3m' #move to 2,0 printf '\033[2H' # set text TEXT="The path of the righteous man is beset on all sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good wil...
the_stack
# - - - - - - - - - - - - - - - - - - - - # Profiling Tools # - - - - - - - - - - - - - - - - - - - - PROFILE_STARTUP=false if [[ "$PROFILE_STARTUP" == true ]]; then zmodload zsh/zprof # http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html PS4=$'%D{%M%S%.} %N:%i> ' exec 3>&2 2>$HOME/startlog.$$...
the_stack
################################### ### FUNCTIONS ### ################################### #----------------------------# host_prep_Makefiles() { # Initialization of the system #----------------------------# local CLFS_HOST echo "${tab_}${GREEN}Processing... ${L_arrow}host prep files ( SE...
the_stack
echo RAVEN_libs_script incoming environmental variables env BUILD_DIR=${BUILD_DIR:=$HOME/raven_libs/build} INSTALL_DIR=${INSTALL_DIR:=$HOME/raven_libs/pylibs} DOWNLOAD_DIR=${DOWNLOAD_DIR:=$BUILD_DIR/../downloads} PYTHON_CMD=${PYTHON_CMD:=python} export PATH="$INSTALL_DIR/bin:$PATH" export PKG_CONFIG_PATH="$INSTALL_DIR/...
the_stack
#/******************************************************************************* # Copyright (c) 2012 IBM Corp. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/li...
the_stack
####################################################################### # # Linux on Hyper-V and Azure Test Code, ver. 1.0.0 # Copyright (c) Microsoft Corporation # # All rights reserved. # Licensed under the Apache License, Version 2.0 (the ""License""); # you may not use this file except in compliance with the Licen...
the_stack
#will attach timestamp onto end of script name to prevent overwriting cur_time=`date '+%H:%M:%S'` hostname=`hostname` case $hostname in ##yellowstone ys* ) submit_script="test_driver_yellowstone${cur_time}.sh" ##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv writing to batch script vvvvvvvvvvvvvvvvvvv cat > ./${submi...
the_stack
LAUNCH_TEMPLATE=lt-02226ebae5fbef5f3 # Ohio #LAUNCH_TEMPLATE=lt-09d74bbb3e4da1ff9 # N. Virginia function start_instances { # $1: number of instances to start if [ $# -ne 1 ]; then tput setaf 1 echo "Required: number of instances to start" tput sgr0 exit 1 fi echo "Really?" select yn in "Yes" "No"; do ca...
the_stack
####################################################### ### Autor: Nico Hartung <nicohartung1@googlemail.com> # ####################################################### ########### ### Install ## mkdir /mnt/us/scripts ## chmod 700 /mnt/us/scripts/weatherscript.sh ## mntroot rw ## cp /mnt/us/scripts/weather.conf /etc/up...
the_stack
source test-header.sh # ====================================================================== # # Initial setup. # # ====================================================================== PYARMOR="${PYTHON} pyarmor.py" csih_inform "Python is $PYTHON" csih_inform "Tested Package: $pkgfile" csih_inform "PyArmor is $P...
the_stack