#!/bin/bash # Docker entry point - intended to be run on the master only # Installs a p4d installation # Generates some test data # Runs the benchmar scripts function bail () { echo -e "\nError: ${1:-Unknown Error}\n"; exit ${2:-1}; } sudo mkdir /hxdepots /hxmetadata /hxlogs sudo chown -R perforce:perforce /hx* mkdir -p /hxdepots/reset cd /hxdepots/reset curl -k -s -O https://swarm.workshop.perforce.com/downloads/guest/perforce_software/helix-installer/main/src/reset_sdp.sh chmod +x reset_sdp.sh ./reset_sdp.sh -fast -no_ssl -no_sd
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 25669 | Robert Cowham | Refactored - move scripts to utils dir | ||
#4 | 25521 | Robert Cowham |
Install net-tools to get ifconfig. Expand explanation |
||
#3 | 25520 | Robert Cowham |
Tidied up. Created 2 client workspaces |
||
#2 | 25519 | Robert Cowham | Basically working | ||
#1 | 25518 | Robert Cowham | Got master building |