Skip to content

Instantly share code, notes, and snippets.

@sid226
sid226 / build_go.sh
Last active January 2, 2019 08:50
build_go.sh
#!/usr/bin/env bash
# © Copyright IBM Corporation 2018.
# LICENSE: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
#
# Instructions:
# Download build script: wget https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Go/build_go.sh
# Execute build script: bash build_go.sh (provide -h for help)
#
@sid226
sid226 / test.sh
Last active January 2, 2019 08:41
PACKAGE_NAME="go"
PACKAGE_VERSION="1.11.4"
#Verify if go is configured correctly
if go version | grep -q "$PACKAGE_VERSION"
then
printf -- "Installed %s %s successfully \n" "$PACKAGE_NAME" "$PACKAGE_VERSION"
else
printf -- "Error while installing Go, exiting with 127 \n";
exit 127;
@sid226
sid226 / x86.sh
Last active March 13, 2019 09:30
# Need handling for RHEL 6.10 as it doesn't have os-release file
if [ -f "/etc/os-release" ]; then
source "/etc/os-release"
else
cat /etc/redhat-release >>"${LOG_FILE}"
export ID="centos"
export VERSION_ID="6.x"
export PRETTY_NAME="Red Hat Enterprise Linux 6.x"
fi
@sid226
sid226 / final_s390x.sh
Last active March 12, 2019 12:01
final_s390x.sh
# Need handling for RHEL 6.10 as it doesn't have os-release file
if [ -f "/etc/os-release" ]; then
source "/etc/os-release"
else
cat /etc/redhat-release >>"${LOG_FILE}"
export ID="rhel"
export VERSION_ID="6.x"
export PRETTY_NAME="Red Hat Enterprise Linux 6.x"
fi
@sid226
sid226 / pds_testcase_document.md
Created April 24, 2019 12:29
pds_testcase_document

Steps for running the PDS UI testcases

The instructions provided below specify the steps for running testcases using the Selenium IDE browser extension .

NOTE: Testcases have been tested with following System Specifications:

  • Chrome : Version 73.0.3683.103 (Official Build) (64-bit)
  • OS: Windows 7
#!/usr/bin/env bash
# © Copyright IBM Corporation 2019.
# LICENSE: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
#
# Instructions:
# Download build script: wget https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Puppet/5.5.2/build_puppet.sh
# Execute build script: bash build_puppet.sh (provide -h for help)
set -e -o pipefail
@sid226
sid226 / build_python3.sh
Last active August 8, 2019 09:41
build_python3.sh
#!/bin/bash
# © Copyright IBM Corporation 2019.
# LICENSE: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
#
#Instructions
#Get Build script : wget https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/3.7.4/build_python3.sh
#Execute build script: bash build_python3.sh
set -e -o pipefail