declaring COREOS_IMAGE_EXTRACLASSES += "coreos-image-ci" let
bitbake generate a file *.ci-artifacts containing the files of the
build to archive/deploy.
originally it was agreed to declare
NWL_IMAGE_EXTRACLASSES += "nwl-image-ci" accordingly for NWL but
this part was never implemented. Thus, the replacement with this
commit
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the nightly builds the target in a loop. To have directly a job
log with an overview about the consumed build times, the nightly
prints the measured time after each target build.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
The ansible instance is set up using ansible. The nginx credentials
were missing which let the sync of the sstate-cache mirror fail.
Thus, adapting the environment by adding the credentials.
Including the update of the documentation
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
if the nightly job is aborted any downstream job are aborted and
no further build target job is triggered. I case of an exception
the job is handled as failed with the note of exception but no
longer an error is thrown.
To get the handling properly done, the nightly triggers downstream
jobs with propagate flag set to false. The result handling is done
with <job>.getResult() and catching exceptions.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
With the latest version where the nightly branch is forwarded to
the build job, the source revision update is no longer necessary.
But in case of a manual trigger of the build job it makes sense
to keep the functionality. Thus, an additional parameter is
introduced to the build target job. With it the nightly job and
the common files are updated too.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
german umlauts caused an issue and let the job crash. Thus the
umlaut is escaped with the unicode pattern. Additionally there was
a residual of an old variable name due to a refactoring.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the update source revision job is important for a successful nightly
build- Thus the nightly job triggers this job and uses the returned
branch for the build target job.
With this we are able to pass the nightly without already merge a
pull request for new source revisions.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
In the nightly job there might be changes about some source
revisions and thus a new branch is created including a pull
request. The created branch is written to a file and archived
as artifact. This makes it possible to use this branch in a
nightly build for building the targets.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
Implemented creating a pull request using REST API after pushing
the changes (new source revisions) to a nightly branch.
Additionally set the default value of the clean build parameter
to true. This is necessary to have per default a proper operation
of this job
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
The branch for the jobs to seed was set to main but we might want
to seed the branch develop. Thus the parameter of the seed job
replaces the hardcoded main.
I am not sure if this solution works but wihtout trying we won't
know :-D
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
when seeding a branch other than the default one the poll
detects a SCM change and triggers right after a new seed job
which might revert the jobs seeded by the previous job run.
With this behavior it won't be possible to seed a specific
and run the intentionaly seeded jobs.
Thus, this commit disables SCM poll.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the function gitCheckout() holds the following steps:
- git clone unless done
- checking out a branch/tag/commit including rebase and updating
submodules
- launching the update source revision script
- printing the submodule status
- printing the last 3 commits of the git history
But so far you could not use the steps separately. Thus, this
function was refactored by extracting some steps into own
functions so that they can be used easily.
Example: the job workspace is the cloned git repository and you
want to update the source revision hashes ;-P
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
A request was to have the update source revision part in a separate
job as in OEM Linux. This commit seeds a new job currently with
an empty skeleton.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>