Commit Graph

14 Commits

Author SHA1 Message Date
Marc Mattmüller e0ae8a99e0 jobs/seed: moved environment getter into pipeline statement
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 10:02:19 +02:00
Marc Mattmüller bd63e87719 jobs/seed: use variable for branch and use environment syntax
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 09:41:58 +02:00
Marc Mattmüller a8e655a0d8 jobs/seed: use the parameter of the seeded branch for the seede jobs
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>
2023-09-04 09:26:49 +02:00
Marc Mattmüller 6779ef5846 jobs/seed: added nightly trigger with replaced pipelinetriggers
since job dsl plugin 1.77 the option 'triggers' is deprecated and
will be removed (causes problems:
https://issues.jenkins.io/browse/JENKINS-53775), see
https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration#migrating-to-177
Thus the option triggers was replaced

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-09-04 09:07:34 +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
Marc Mattmüller fede53b9f5 Revert "jobs/seed: set git credentials back to admin_credentials"
This reverts commit c0086b4210.

There was a path mismatch for the ssh key. Thus this commit can be
reverted.
2023-08-28 17:31:55 +02:00
Marc Mattmüller c0086b4210 jobs/seed: set git credentials back to admin_credentials
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-08-28 16:55:18 +02:00
Marc Mattmüller 236f4b95d5 jobs: replaced admin_credentials with nmgit_credentials for git access
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-08-28 16:31:49 +02:00
Marc Mattmüller c582eb64d2 jobs/seed: set git credentials to admin_credentials and remove doc job
On the HAC instance, we currently do not want the documentation
job of the work of Marc Mattmueller, thus this job is removed.
Additionally the git credential ID differs between HAC- and ansible
instance. Therefore we set on this branch the credentials of the
HAC instance.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-08-28 14:01:35 +02:00
Marc Mattmüller f2a6d85321 jobs/seed: let the seeded jobs run anonymous
the reason is simple: There are currently still two AD's available
for HAC and Netmodule, i.e. the LDAP connection works only for
HAC employees.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-08-28 13:29:11 +02:00
Marc Mattmüller a3edca0cb5 jobs/seed: removed the number in the description of the doc job
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-08-21 15:36:57 +02:00
Marc Mattmüller f4aeb3c3dd jobs/seed: adapted jenkins files and integrated split of nightly and yocto build
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-08-21 15:35:05 +02:00
Marc Mattmüller a70f84a52e jobs: replaced the multibranch- with normal pipeline jobs
There are 2 reasons for this replacement:
- the build pipeline holds a parameter of the branch to build
- the project to build can be separated from the CI work

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-11 14:12:56 +02:00
Marc Mattmüller 70c2382592 docker,jobs: integrated seed job for a more standardized workflow
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-27 16:20:56 +02:00