Commit Graph

14 Commits

Author SHA1 Message Date
Alexandre Bard e57d4fb27b jobs/UpdateSrcRevisions: Ignore errors when PR already exists 2023-10-04 10:41:05 +02:00
Alexandre Bard 5bd30a70f1 update-src-revision: Overwrite nightly branch
This branch is reserved for that and may not be merged every day.
We want to overwrite anyway everynight with the latest changes.
2023-09-27 17:30:52 +02:00
Marc Mattmüller 6277bc44bb jobs/updateSrcRev: fixed typo in PR/MR description
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-11 13:39:45 +02:00
Marc Mattmüller 00aa79a537 jobs/updateSrcRev: fixed java isse with german umlaut and variable name
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>
2023-09-11 11:59:19 +02:00
Marc Mattmüller b93c05ff47 jobs/updateSrcRev: removed ./ from archiving artifact
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-11 11:32:29 +02:00
Marc Mattmüller 05a5786bb3 jobs/updateSrcRev: replaced ä by ue
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-11 11:19:39 +02:00
Marc Mattmüller c8b22f8cf5 jobs/updateSrcRev,common: added artifact with branch to use
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>
2023-09-11 10:26:30 +02:00
Marc Mattmüller 73baa394f1 jobs/updateSrcRev: added creating a PR, set clean build as default
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>
2023-09-05 14:16:39 +02:00
Marc Mattmüller 335bdead05 jobs/updateSrcRev: released commit and push part after the src rev update
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 13:39:18 +02:00
Marc Mattmüller 93eb7c12fa jobs/updateSrcRev: just make git reset HEAD after updating src rev
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 13:20:51 +02:00
Marc Mattmüller 86f82a6411 jobs/updateSrcRev: do not update src revision at clone step
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 12:56:42 +02:00
Marc Mattmüller c4d49cdc0e jobs/updateSrcRev: added cloning of the repository (was missing)
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 12:50:08 +02:00
Marc Mattmüller 2a56bbd0e8 jobs/updateSrcRevisions: added functionality to the skeleton
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 12:17:38 +02:00
Marc Mattmüller 54161e2b5c jobs: added seed for new job UpdateSrcRevisions (incl. job skeleton)
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>
2023-08-29 14:27:18 +02:00