Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. export ORCHESTRATION_HOST="localhost"
  2. export ORCHESTRATION_USER=root
  3.  
  4. export WORKLOAD_JOB_NODE_SELECTOR=false
  5. export WORKLOAD_JOB_TAINT=false
  6. export WORKLOAD_JOB_PRIVILEGED=true
  7. export KUBECONFIG_FILE='~/.kube/config'
  8.  
  9. export PBENCH_SSH_PRIVATE_KEY_FILE='~/.ssh/id_rsa_perf'
  10. export PBENCH_SSH_PUBLIC_KEY_FILE='~/.ssh/id_rsa_perf.pub'
  11. export ENABLE_PBENCH_AGENTS=true
  12. export PBENCH_SERVER=pbench.dev.openshift.com
  13.  
  14. export SCALE_CI_RESULTS_TOKEN=
  15.  
  16. # FIO I/O test specific parameters:
  17. export FIOTEST_TEST_PREFIX=fiotest
  18. export FIOTEST_CLEANUP=false
  19. export FIOTEST_BASENAME=fiotest
  20. export FIOTEST_MAXPODS=2
  21. export FIOTEST_POD_IMAGE="quay.io/akrzos/scale-ci-fio"
  22. # quay.io/ekuric/elkofio:latest"
  23. export FIOTEST_STEPSIZE=1
  24. export FIOTEST_PAUSE=0
  25. export FIOTEST_STORAGE_SIZE="2Gi"
  26. export FIOTEST_STORAGECLASS="csi-rbd"
  27. export ACCESS_MODES="ReadWriteOnce"
  28. export FIOTEST_BS=4
  29. export FIOTEST_FILENAME="/mnt/pvcmount/f2"
  30. export FIOTEST_FILESIZE="1GB"
  31. export FIOTEST_RUNTIME=120
  32. export FIOTEST_DIRECT=1
  33. export FIOTEST_IODEPTH=32
  34. export FIOTEST_TESTTYPE=write
  35. export FIOTEST_SAMPLES=1
  36.  
  37. ####################################################################################################
  38. # Start Jenkins Build:
  39. ####################################################################################################
  40. # List the environment variables.
  41. env
  42. set -o pipefail
  43. set -eux
  44.  
  45. export PUBLIC_KEY=~/.ssh/id_rsa_perf.pub
  46. export PRIVATE_KEY=~/.ssh/id_rsa_perf
  47.  
  48. # Create inventory File:
  49. echo "[orchestration]" > inventory
  50. echo "${ORCHESTRATION_HOST}" >> inventory
  51.  
  52. export ANSIBLE_FORCE_COLOR=true
  53. ansible --version
  54. time ansible-playbook -v -i inventory /home/elvir/github/ekuric/workloads/workloads/fio.yml
  55.  
  56. ####################################################################################################
  57. # Post Jenkins Build Clean up:
  58. ####################################################################################################
  59. #rm -rf inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement