Sha256: dfee75a492a98f2e7087f30f467b379acd52c1767a49c34c768975183bd1dade

Contents?: true

Size: 944 Bytes

Versions: 48

Compression:

Stored size: 944 Bytes

Contents

# Source this file within a docker container to set up convenience shell
# variables & functions.
#
# Usage:
#
#    source /host_files/spec/acceptance/development/docker_env.sh [DIR]
#
#    # testing a particular
#    source /host_files/spec/acceptance/development/docker_env.sh  /home/build_user/host_files/spec/acceptance/files/testpackage_custom_scriptlet


export TERM=xterm
export TOPWD=/home/build_user/host_files
export TOPWD_FILES=${TOPWD}/spec/acceptance/files
export TWD=${1:-$TOPWD_FILES/testpackage}
export TW=$(basename ${TWD})
export TWSPEC="$TWD/dist/tmp/testpackage.spec"
alias  twd="cd $TWD"
rug(){
 runuser build_user -l -c "cd /$TOPWD; $@"
}
ru(){
 runuser build_user -l -c "cd /$TWD; SIMP_RPM_LUA_debug=yes SIMP_RPM_verbose=yes SIMP_PKG_verbose=yes $@"
}
ru_specfile_rpm_q(){
  ru "rpm -q -D 'pup_module_info_dir $TWD' --specfile $TWD/dist/tmp/testpackage.spec $@"
}
cd $TWD
(yum install -y vim-enhanced tree > /dev/null &)

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
simp-rake-helpers-5.22.1 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.22.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.21.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.20.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.19.2 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.19.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.18.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.17.1 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.17.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.16.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.15.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.14.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.13.2 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.13.1 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.13.0 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.12.7 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.12.6 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.12.5 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.12.4 spec/acceptance/suites/default/development/docker_env.sh
simp-rake-helpers-5.12.3 spec/acceptance/suites/default/development/docker_env.sh