machinekit / machinekit-docs

Machinekit website
http://www.machinekit.io
16 stars 52 forks source link

weird github issues since ca July 15 2016 #194

Open mhaberler opened 8 years ago

mhaberler commented 8 years ago

I discovered preview and production builds were broken for over a week, see also discussuion at https://github.com/machinekit/machinekit-docs/pull/193

I think I patched it up, but frankly I do not understand the causality; factoids are:

changing this to

# update the machinetalk-protobuf subtree

git stash
git subtree pull --message="machinetalk-protobuf subtree merge" --prefix machinetalk-protobuf machinetalk-protobuf master --squash
git stash pop

fixed it for now (both here and here)

very weird

mhaberler commented 8 years ago

the failures are partially jenkins - originated, and the cause is:

I dont understand jenkins git/github :-/

my workaround is to not use the jenkins git pull function for machinetalk-protobuf so the github plugin does not notice there is a second repo... YIKES

mhaberler commented 8 years ago

I think we are on even keel again

I fear we'll have to rethink a bit how jenkins is used - it is great at reacting to a single commit/PR but it I'm positively lukewarm using it as a duct-tape device pulling things together

it might be we need to farm out some steps into separate jobs; for instance, a push to machinetalk-protobuf should automatically update mk/mk and mk/mk-docs, with the subtree merge and result push to those repos being a separate job

this will work around the sore spot in jenkins, working with several git repos at once