Permalink
Browse files
added ugluy patch for making this work on jessie
- Loading branch information...
Showing
with
8 additions
and
0 deletions.
-
+8
−0
script/cibuild-gh-ost-build-deploy-tarball
|
|
@@ -27,3 +27,11 @@ tar cvf $tarball --mode="ugo=rx" bin/ |
|
|
gzip $tarball
|
|
|
mkdir -p "$BUILD_ARTIFACT_DIR"/gh-ost
|
|
|
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR"/gh-ost/
|
|
|
+
|
|
|
+### HACK HACK HACK ###
|
|
|
+# Blame @carlosmn. In the good way.
|
|
|
+# We don't have any jessie machines for building, but a pure-Go binary depends
|
|
|
+# on a version of libc and ld which are widely available, so we can copy the
|
|
|
+# tarball over with jessie in its name so we can deploy it on jessie machines.
|
|
|
+jessie_tarball_name=$(echo $(basename "${tarball}") | sed s/-precise-/-jessie-/)
|
|
|
+cp ${tarball}.gz "$BUILD_ARTIFACT_DIR/gh-ost/${jessie_tarball_name}.gz"
|
0 comments on commit
946427a