Skip to content

Instantly share code, notes, and snippets.

View drnic's full-sized avatar
🏆
Platinum Status Level

Dr Nic Williams drnic

🏆
Platinum Status Level
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<ClusterManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="Test Generated ClusterManifest" Version="v1" Description="Test Generated ClusterManifest" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<NodeTypes>
<NodeType Name="BOSH">
<Endpoints>
<!-- see ServiceFabricServiceModel.xsd under FabricEndpointsType -->
<ClientConnectionEndpoint Port="19000" />
<LeaseDriverEndpoint Port="19001" />
<ClusterConnectionEndpoint Port="19002" />
<ServiceConnectionEndpoint Port="19006" />
[ 0%] Building C object src/retail/native/FabricCommon/dll/CMakeFiles/objects_fabriccommon2.dir/TraceTemplates.Linux.c.o
[ 0%] Building C object src/retail/native/FabricUUID/CMakeFiles/objects_FabricUUID.dir/__/__/__/prebuilt/sdk/FabricClient_i.c.o
In file included from /src/prod/src/retail/native/FabricCommon/dll/TraceTemplates.Linux.c:12:
/src/prod/src/retail/native/FabricCommon/dll/TraceTemplates.Linux.h:23:1: error: incomplete definition of type 'struct lttng_ust_tracepoint'
TRACEPOINT_EVENT(
^~~~~~~~~~~~~~~~~
/src/prod/src/retail/native/FabricCommon/dll/tracepoint.h:498:2: note: expanded from macro 'TRACEPOINT_EVENT'
_DECLARE_TRACEPOINT(provider, name, _TP_PARAMS(args)) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/src/prod/src/retail/native/FabricCommon/dll/tracepoint.h:156:73: note: expanded from macro '_DECLARE_TRACEPOINT'
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables
# Detect # of CPUs so make jobs can be parallelized
CPUS=$(grep -c ^processor /proc/cpuinfo)
# Available variables
# $BOSH_COMPILE_TARGET - where this package & spec'd source files are available
# $BOSH_INSTALL_TARGET - where you copy/install files to be included in package
export HOME=/var/vcap
@drnic
drnic / bumpme
Last active July 19, 2022 14:11
Tue Jul 19 14:11:02 UTC 2022
@drnic
drnic / convert-to-credhub.sh
Last active December 20, 2017 11:09
Convert a ci/settings.yml with `(( vault "/secret/mything" ))` into concourse cred mgmt + a credhub import file
#!/bin/bash
cd ${1:?USAGE: convert-to-credhub.sh path/to/ci}
function indent() {
c='s/^/ /'
case $(uname) in
Darwin) sed -l "$c";;
*) sed -u "$c";;
esac
#!/bin/bash
set -e
: ${NAME:?required, e.g. bosh-lite-10}
export CF_DEPLOYMENT=${CF_DEPLOYMENT:-~/Projects/bosh_deployments/cf-deployment}
[[ -f $CF_DEPLOYMENT/cf-deployment.yml ]] || { echo "Please set \$CF_DEPLOYMENT"; exit 1; }
export BOSH_ENVIRONMENT=vsphere-prod
vault*
bosh*
safe*
spruce*