Commit Graph

23 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 9303288071 jenkins: Create space before starting to build
E.g. the previous built might have failed and we have some stale
directories around. Clean them first.
2017-08-30 01:56:37 +02:00
Holger Hans Peter Freyther c87b94c0a8 Update the documentation with more examples and improve make help 2017-08-10 15:12:42 +08:00
Holger Hans Peter Freyther 82ee682b67 jenkins: Add makefile rule to do job creation 2017-08-10 11:38:09 +08:00
Holger Hans Peter Freyther aca779cdc5 jenkins: Add some templates to create jobs automatically 2017-08-10 10:39:09 +08:00
Holger Hans Peter Freyther 5bbba9e17c ptest: Disable it. In master it fail with slang and we don't use it
It fails with master of poky and I created the following ticket to
track it https://bugzilla.yoctoproject.org/show_bug.cgi?id=11907.

I don't think we have ever used the ptest to run tests on the device
so let's just disable it and compile more quickly.
2017-08-08 15:57:09 +08:00
Holger Hans Peter Freyther 2d529c6476 dispatch.sh: Do not echo back an option to keep rsync running
rsync would get confused if we echo back things.
2017-08-07 17:29:33 +08:00
Holger Hans Peter Freyther a7fc6e6009 dispatch.sh: Make dispatching actually work for rrsync and diff
Make it work. Basic BSD shell doesn't seem to have array support (read
failed and ${!VAR[@]} as well). Also I don't know integer arithmetic so
I do a runtime length for the loop.

As we don't put $MACHINE/$RELASE into an `` block we should be okay
and not run into remote execution.
2017-08-07 15:53:55 +08:00
Holger Hans Peter Freyther 2061115bbf make-stable: Implement a working dry run with nicer output
We can not use --link-dest when doing the dryrun as it will consider
everything up to date. So create some base args and then add the right
parts to it. Skip --checksum from the cli as it makes things really
slow. Use rsync (instead of diff -r) as this will be used for the final
handling. Keep on using sub dirs as this gives higher control. We could
otherwise just syncrhonize everything.
2017-08-07 12:42:08 +08:00
Holger Hans Peter Freyther f6b2f0ef7f make-stable: Gracefully skip directories that do not exist 2017-08-07 12:42:08 +08:00
Holger Hans Peter Freyther f171e5c159 make-stable: Extend it to more directories uploaded that need sync 2017-08-07 12:42:08 +08:00
Holger Hans Peter Freyther 609656c5df make-stable: Make it a proper list and add quotes and drop the ; 2017-08-07 12:42:08 +08:00
Holger Hans Peter Freyther 37871e3007 Makefile: Update location of meta-telephony 2017-08-06 23:31:27 +08:00
Holger Hans Peter Freyther e79c8f39aa Makefile: Fix the clean target by re-ordering
The sstate cleaning requires a tmp directory. So don't delete it first.
2017-08-06 23:28:47 +08:00
Pau Espin 0f3b5cca28 gitignore: Add downloads dir 2017-08-04 12:45:10 +02:00
Holger Hans Peter Freyther 5930ffa23a Add missing clean target
* Throw away the tmp/ directory as recent OpenEmbedded is really good
with the sstate-cache and can rebuild it. This avoids having to try
to clean the sysroot or remove unused entries from work/

* Clean the sstate cache in case there are old entries.
2017-08-04 18:35:50 +08:00
Holger Hans Peter Freyther 023fb0e59d Server side: Fix the script and generate the machine directory first 2017-08-04 18:35:11 +08:00
Pau Espin 5783288504 cfg: sysmobts2100: Point feed urls to stable release 2017-08-04 11:07:17 +02:00
Pau Espin d4260e1a4a Makefile: Fix only first BUILD_TARGET element being taken 2017-08-03 19:22:07 +02:00
Pau Espin 730c6b87b4 Makefile: remove trailing whitespace 2017-08-03 19:22:07 +02:00
Pau Espin 5a077af000 Build core images instead of nitb images
We don't plan to support NITB or old openbsc repo in 201705 for now.
Build the core images instead of the NITB, which since recently don't
contain osmo-nitb or other binaries from the openbsc repo, only osmo-pcu
and osmo-bts are included.
2017-08-03 19:22:04 +02:00
Pau Espin edbba61897 Add sysmobts2100 machine 2017-08-03 19:20:30 +02:00
Holger Hans Peter Freyther f5fbd4b8bd Add scripts and rules for server side handling
This is not tested and will be debugged on the server. Begin to
automate the on-server setup so we can make this a self-service
without much user interaction.
2017-08-03 18:44:46 +08:00
Holger Hans Peter Freyther e3f46e8a74 Initial Makefile, config, upload script and documentation
Create a Makefile that does the lifting of setting up the config
as it is done on the system. Handles the creation of the .ssh/config
for upload.

In the past upstream poned on such master Makefiles but as we
customize our build environment quite a bit it probably makes
sense and reduces the clone+set-up to two calls.
2017-08-03 16:08:14 +08:00