Commit Graph

196 Commits

Author SHA1 Message Date
Marc Mattmueller 68c04583aa jenkins/update2head: use src rev update in same shell command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-01 09:25:41 +01:00
Mr Jenkins 7c77ed4315 submodules: updated netmodule hashes, triggered by Marc Mattmüller (userId=mattmueller) 2021-11-01 09:24:38 +01:00
Marc Mattmueller c987422f62 local.conf: set parallel threads to 8 (server has now 8 vcpu's)
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 15:59:50 +02:00
Marc Mattmueller 01e8be71b0 jenkins: used credential ID of the belonging server
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 15:58:42 +02:00
Marc Mattmueller 526eb8729b jenkins/ramdisk/mmc: provide ssh credential for build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 11:56:20 +02:00
Marc Mattmueller bc58edf65d local.conf: remove check of /tmp (space and inodes)
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 11:45:10 +02:00
Marc Mattmueller 071a721e80 jenkins/sdk: provide ssh credential for sdk build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 11:44:55 +02:00
Marc Mattmueller 55ac1c7307 jenkins: provided ssh credentials from master for git commands
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-26 19:24:43 +02:00
Marc Mattmueller 6a56c05981 jenkins/common: made cleanWorkspace dash compatible
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-21 11:57:08 +02:00
Marc Mattmueller cd3de28e5b jenkins/sdk: increased timeout from 5 to 8 hours
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-19 08:04:03 +02:00
Marc Mattmueller ea6bd036e1 jenkins/ramdisk/mmc: added parameter to overwrite the build node
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-14 13:02:15 +02:00
Marc Mattmueller 969fa192e9 jenkins/common: reverted the rsync part but added the set +x
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 14:21:15 +02:00
Marc Mattmueller b2ea75f1b9 jenkins/common: used set +x to remove rsync log output
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:36:14 +02:00
Marc Mattmueller 6848564543 src-rev/jenkins: adapted src-rev to handle packages from a file
the file autorev-packages.inc holds holds all recipes with a
SRCREV set to AUTOREV.
When releasing this file shall be used as base which recipes to
update.

BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:17:37 +02:00
Marc Mattmueller 0704618e91 jenkins/update2head: fixed coding convention
the curly brackets shall be used even on if statements with
only one line

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:17:37 +02:00
Marc Mattmueller f332dc9de8 autorev: added pathfile to autorevision list
As there might be multiple bb files which hold the same name, it
might be difficult in the future which one to set to AUTOREV. Thus
the list autorev-packages.inc was adapted with the path to the bb
file in the comment.

BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:17:37 +02:00
Marc Mattmueller 35cd165fd8 jenkins/common: set rsync to be quiet on jenkins output
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 12:32:37 +02:00
Marc Mattmueller 988558b95d jenkins/common: escaped $ from rsync command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 08:37:35 +02:00
Marc Mattmueller d676264535 jenkins/common: replaced bash- to groovy comment sign
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 07:59:57 +02:00
Alexandre Bard e3cf8861d0 Jenkinsfile_Common: Reduce logs from rsync command
The "*" is expanded when the script is running on jenkins and the SRC is
local files. This expansion is hundreds of files, leading to hundreds of
lines in the jenkins logs. We don't need these lines.

BugzID: 75217
2021-10-12 15:53:59 +02:00
Marc Mattmueller 2ada8afbf8 jenkins/update2head/sdk: changed logrotator to 5 items to keep
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 14:26:44 +02:00
Marc Mattmueller fc4dd66c9f jenkins: added autorevision handling to mmc-, ramdisk and sdk pipelines
BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 11:58:35 +02:00
Marc Mattmueller e549b2b7fc jenkins: removed updating the source revisions
BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 11:45:53 +02:00
Marc Mattmueller c2f977f9fd local.conf: added autorev-packages file and included it in local.conf
BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 11:43:12 +02:00
Mr Jenkins 9ec3663642 submodules: updated community hashes, triggered by Alexandre Bard (userId=bard) 2021-10-11 14:12:51 +02:00
Alexandre Bard 0664961570 Jenkinsfile_update2head: Better display which layers are updated 2021-10-11 13:58:42 +02:00
Marc Mattmueller c459438f49 jenkins/common: put yocto env loading and src-rev handling in one command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 13:13:19 +02:00
Marc Mattmueller 9fe49c131b jenkins/update2head: integrated updating source revisions
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller 9b82e098ff src-rev-commit: added script to commit src rev changes
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller 73fcaacfab jenkins/update2head: fixed typo
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller d50515c6d5 jenkins: added updating source revisions for nightly builds
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller 85ca7a099e repo: added src-rev script to update source revisions
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller d530642b18 jenkins/common: prevent cleaning when directory is not existing
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-05 10:22:52 +02:00
Marc Mattmueller c40dcce3d5 jenkins/common: added trailing slash to path for cleanup
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-04 11:14:26 +02:00
Mr Jenkins 331fecad75 submodules: updated netmodule hashes, triggered by Jenkins (userId=downstream) 2021-09-30 15:38:08 +02:00
Marc Mattmueller 07b6bc9641 jenkins: added cleaning workspace
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-29 14:34:58 +02:00
Marc Mattmueller a773ef59f0 release 1.4.0: fix netmodule submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-17 08:25:35 +02:00
Marc Mattmueller d0467a5829 jenkins: increased artifact days to keep in ramdisk and mmc build
BugzID: 74496
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-16 08:05:11 +02:00
Marc Mattmueller deb8763414 mmcImages: mask out the bootloader artifacts using the machine type
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-06 19:24:56 +02:00
Alexandre Bard 9a4f1db328 Jenkinsfiles: Hide bitbake welcome message 2021-08-26 15:09:34 +02:00
Alexandre Bard d9f7f04bfc Jenkinsfiles: Execute commands silently 2021-08-26 14:03:14 +02:00
Marc Mattmueller dcc5b24f9e jenkins/sdk: added parameter for build node
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-26 08:54:13 +02:00
Mr Jenkins 912d04ac0a submodules: updated community hashes, triggered by Alexandre Bard (userId=bard) 2021-08-25 09:48:29 +02:00
Marc Mattmueller 6fcf293fc2 jenkins/mmcImages: removed fitImage artifact from package
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-23 17:34:47 +02:00
Marc Mattmueller 0db0db4cb5 jenkins/sdk: set build label to oem-ci as trial
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-23 10:19:25 +02:00
Alexandre Bard 79c39921ce RamdiskImages: Remove tmp dir once archived
BugzID: 74217
2021-08-12 18:42:14 +02:00
Alexandre Bard bab4288468 env files: Simplify
We don't need anymore the DISTRO_TYPE, DISTRO_OSTREE and MACHINE_TYPE.

Also the "set -a" was causing troubles after sourcing the script in ZSH
and doing copy-pastes. Therefore we just export the required variables.
2021-08-12 17:55:48 +02:00
Marc Mattmueller 515c0c494e jenkins/mmc: adapted fitImage name for the artifact archiving
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-03 13:20:01 +02:00
Marc Mattmueller 8f59810e3d jenkins/ramdisk: updated pipeline with removal of the rootfs tar.gz
the tar.gz is no replaced with the cpio.gz package, i.e. the cpio.gz
package is included in the deployed package

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-03 12:23:35 +02:00
Marc Mattmueller 1999738798 jenkins/ramdisk: removed additional directory in deploy dir
there is no difference between lava and minimal image regarding
content of the deploy dir. The difference is made on the build
directory itself

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-03 09:50:50 +02:00