Commit Graph

270 Commits

Author SHA1 Message Date
Marc Mattmueller 15832f8603 Jenkinsfile_mmcImages: do not archive ostree when building bootloader
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 16:16:27 +02:00
Marc Mattmueller c324a95b49 Jenkinsfile_sdk: made artifact path relative to use regex
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 15:32:52 +02:00
Marc Mattmueller d7c7c7af87 jenkins: set build timeout from 8h down to 5h
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 14:50:20 +02:00
Marc Mattmueller f48295d249 jenkins_common: fixed variable typo
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 09:45:40 +02:00
Marc Mattmueller 2c34abe54b jenkinsfiles: set status aborted if machine parameter is missing
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 09:15:44 +02:00
Marc Mattmueller bf7d5e86a4 Jenkinsfile_update2head: checkout branch before committing
the job is performing a swallowed checkout which leads to a
detached HEAD. Thus the branch need to be checked out before
committing and pushing

BugzID: 74574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 16:43:21 +02:00
Mr Jenkins 24866de9a0 submodules: updated community hashes, triggered by Marc Mattmüller (userId=mattmueller) 2021-07-06 16:40:33 +02:00
Marc Mattmueller 9321361765 Jenkinsfiles: integrated updating only netmodule layers in split job files
Within the big jenkins file only the netmodule layers are updated
when the release string is empty of latest. This change is now
integrated into the split jenkins files.

BugzID: 73564
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 16:18:35 +02:00
Marc Mattmueller 8a477f0117 jenkinsfile_update2head: set build server with label oem-linux
perform an update in the submodule init part

BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller 32ab6f42ca jenkinsfile_update2head: added info about triggered user to commit msg
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller d34fa204e1 jenkinsfile_update2head: added info about updated layers to commit msg
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller e9ee8240e3 jenkinsfile_update2head: added pipeline for automatic submodule updating
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller d04eba6caa jenkinsfile: update only netmodule layers in a nightly build
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller f4596c90b3 jenkinsfile_sdk: added flag to build sdk from dev image
After a team discussion it would be good to have the possibility to
build an SDK from a dev image. Therefore a job parameter is
added.

BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-05 14:11:28 +02:00
Marc Mattmueller 55c9f8d9b0 Jenkinsfile_sdk: adapted build command according changes in fb73552
BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-01 12:51:29 +02:00
Marc Mattmueller 11962381b9 jenkinsfile: added jenkins pipeline for building the SDK
The SDK bases on the ostree dev image

BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-01 09:08:17 +02:00
Marc Mattmueller 3534420590 jenkinsfile: split ramdisk and mmc images into separate pipelines
Common parts of those pipelines are extracted into a common part.
Each pipeline loads this common part as module to get access to
its functions.
This is also the base for adding a job generating the SDK

BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-01 09:01:20 +02:00
Marc Mattmueller 212ddb8d13 1.2.5: prepared submodules for rls 1.2.5
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-06-10 19:45:14 +02:00
Marc Mattmueller 0aed4eb233 jenkins: fixed bad subtitution in bootloader build and archive
BugzID: 72761

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-20 08:05:55 +02:00
Marc Mattmueller 7a132670d1 reverting "jenkins: remove build history directory before collecting srcrevs"
This reverts commit af6f1b4c4e.

This revert shall test if this is the reason that the nightly
build takes that long...
2021-05-11 14:29:15 +02:00
Marc Mattmueller 69eec3c790 jenkins: using build_user and sshagent for sync-ing yocto downloads
our AD user 'build_user' was adapted for having an SSH key. Jenkins
was configured to have this user with its key under Credentials so
that the sshagent could be used.
This way seems to be the most secure way performing ssh connections.

BugzID: 71491

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 15:21:05 +02:00
Marc Mattmueller 9a3028afaa jenkins: sync binary storage before and after build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:07:03 +02:00
Marc Mattmueller db60b919eb jenkins: prepared function to synchronize yocto downloads
BugzID: 71491

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:07:03 +02:00
Marc Mattmueller 669ba32c6a jenkins: harmonized parameter references renamed MACHINE_TYPE to MACHINE
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:07:03 +02:00
Marc Mattmueller bf0c96713a jenkins: harmonized syntax of function names
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:05:35 +02:00
Marc Mattmueller 02c486bd2f openembedded: added new hash for tracking nightly builds
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 08:41:58 +02:00
Marc Mattmueller af6f1b4c4e jenkins: remove build history directory before collecting srcrevs
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-05 11:21:36 +02:00
Marc Mattmueller 8ceb9fb75b jenkins: added wildcard after machine type for the bootloader image
The bootloader package of HW20 was empty as its namne is postfixed
with -v1 which differs to the other am335x images.

BugzID: 71427

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-04 13:18:14 +02:00
Marc Mattmueller 84eb0cdf58 rls 1.2.4: fixed hashes of submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-04 11:49:30 +02:00
Marc Mattmueller a375cef2f4 jenkins: fixed archiving distro version file
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-04-14 13:48:17 +02:00
Marc Mattmueller 3fae1c1e8d rls 1.2.3: set hashes for submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-04-06 16:08:14 +02:00
Alexandre Bard edb33c6084 rls 1.2.2: set hashes for submodules 2021-03-19 15:29:21 +01:00
Alexandre Bard 7012582e82 local.conf: Disable generation of sources tarball
We don't need this and it is probably wasting build time and storage.

According to documentation:
"This technique is useful if you want to create a mirror server. If not,
however, the technique can simply waste time during the build."

https://www.yoctoproject.org/docs/3.1/mega-manual/mega-manual.html#faq
FAQ: 35.22
2021-03-13 13:49:35 +01:00
Marc Mattmueller 5ab5c23e79 jenkins: fct builds do not carry the 'Test<nbr>' postfix in its version
BugzID: 70652

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-03-09 09:42:47 +01:00
Marc Mattmueller 57a58ef946 rls 1.2.1: set hashes for submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-03-05 11:54:52 +01:00
Alexandre Bard 3e8fad100d bblayers: Always include fct layer
In order to avoid issues like missing licenses or corrupted kernel
shared directory, it is better to remove this hack and always include
the fct layer.

BugzID: 70627
2021-03-04 11:59:11 +01:00
Marc Mattmueller 03cc427024 release 1.2.0: updated submodule hashes to latest state
BugzID: 70117

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-18 12:08:12 +01:00
Marc Mattmüller 7c57231fcf jenkins/collect revs: replaced interactive clear with redirection to /dev/null 2021-02-01 14:26:35 +01:00
Marc Mattmueller bc8453960c jenkins: added parameter to collecte the revisions used
BugzID: 69785

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-01 11:19:59 +01:00
Marc Mattmueller 9c611146e3 jenkins: do not filter and sort the output of auto revision output
BugzID: 69785

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-01 11:19:59 +01:00
Marc Mattmueller 5359b74d30 jenkins: creating revision files and archive them
BugzID: 69785

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-01 11:19:59 +01:00
Alexandre Bard af20c2fa2e bblayers: Always include om layer
This layer is now safe to be always used. Everything in it, must be
explicitly requested from the distro.conf

BugzID: 69970
2021-01-28 11:49:49 +01:00
Marc Mattmueller d88370a78a release 1.1.5: updated hashes of submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-22 21:00:16 +01:00
Alexandre Bard 42d2fcc48a Jenkinsfile: Fix starting build job directly 2021-01-19 09:18:31 +01:00
Alexandre Bard 20c73a4b9c jenkinsfile: Add license workaround for gpsd
Since rework of gpsd recipes, this license is also often missing.
Temporary work around until we figure out the root cause.
2021-01-19 08:33:32 +01:00
Alexandre Bard fa0a14b423 Jenkinsfile: Update fitImage paths
Since update to dunfell, the artifacts build with kernel variant (like
our linux-netmodule-initramfs and our fct-linux) are deployed in a
subdirectory with the name of the kernel, to avoid confusion with
artifacts built with the main kernel.

BugzID: 69636
2021-01-17 13:12:49 +01:00
Alexandre Bard d531600175 Submodules: Update to dunfell
BugzID: 69636
2021-01-16 19:26:56 +01:00
Alexandre Bard a9429dc09b machine_select: Add HW23-DLM board 2021-01-16 19:26:56 +01:00
Marc Mattmueller c36d79297a jenkins: do no longer remove the distro version file
as the distro version file is now also used in the nightly, it
will be overwritten and no longer be removed after a build.

BugzID: 69736

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-14 17:46:54 +01:00
Marc Mattmueller 4080f1e212 jenkins: introduced the distro version file also for the nightly build
As the version string for a nightly build contains a Test POSTFIX,
similar to the release build the version string needs to be provided
to yocto.

BugzID: 69736

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-14 16:11:06 +01:00