Posts Tagged: ‘IBM Bluemix’

OpenUserGroup CTY – hedersoft Vorträge

16. März 2016 Posted by Henning Schmidt

Am 03.03.16 hat sich die OpenUserGroup | Westfalen in Bielefeld eingefunden, um die diesjährige Connect Nachlese zu veranstalten. In diesem Rahmen hat hedersoft zwei Vorträge gehalten. Der erste Vortrag von Lars Buntrock drehte sich rund um das Thema IBM Verse, was war, was wird. Hier die Folien: Der zweite Vortrag von Henning Schmidt handelte die Themen […]

IBM Bluemix: Filemode-Problems with GitHub

5. Februar 2015 Posted by Sven Hasselbach

When creating your own build pack for IBM Bluemix applications (or other Cloud Foundry based solutions), it is required to set the correct file mode for the executables before initially pushing them to GitHub. Otherwise the compilation will fail, and it seems to be a known bug for GitHub based repositories that the mode cannot be changed later.

The command for this is

git update-index --chmod=+x <path-to-file>

You can see the result when you commit the files to your respository:

> git commit -m "first commit"

[master (root-commit) 680979a] first commit
 4 files changed, 34 insertions(+)
 create mode 100644
 create mode 100755 bin/compile
 create mode 100755 bin/detect
 create mode 100755 bin/release

[The three files in the folder “/bin” have the correct mode 755 instead 644]

You can find an example build pack here