Commit Graph

71 Commits

Author SHA1 Message Date
Marc Mattmüller ea82dedaa1 jobs/buildAll: workaround for administration permissions
getting the result of buildJob needs approval but as we are
triggering the job anonymous this is not possible. Thus, this
workaround is implemented

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-31 17:37:05 +02:00
Marc Mattmüller 74ef65ec33 jobs/buildAll: fixed small typo and enhanced stage status
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-31 17:12:51 +02:00
Marc Mattmüller 27afb7e2ef jobs/nwlTargets: added the legacy NetModule machines
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-31 16:28:31 +02:00
Marc Mattmüller 34717bd4bc jobs/common: adapted common jenkins file according the needs
the previous 2 commits need the changes of this file. But for a
better visibility it was committed separately

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-31 16:27:32 +02:00
Marc Mattmüller a3c8507d5a jobs: add new pipeline building a yocto target (BuildTarget)
this job is responsible to build a yocto target, syncing the sstate
cache and deploying the artifact to nexus.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-31 16:26:36 +02:00
Marc Mattmüller 850e9f746e jobs: rename and adapt Build Pipeline for building all targets
the pipeline was renamed to BuildAll and adatped to act as the
overall pipeline building all NWL targets.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-07-31 16:24:54 +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
Marc Mattmüller 693f229cf9 jobs: added boolean parameter for deployment to Nexus
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-27 09:10:13 +02:00
Marc Mattmüller a9e1cdfc2d jobs: added getter for nexus credential ID depending on hostname
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-26 17:04:12 +02:00
Marc Mattmüller 9c939b2c29 docker,jobs: adaption for using pipelines on AWX- and HAC instance
the git credential ID is different for the AWX instance, thus the
jobs are selected according the hostname.
additionally I reordered the seed jobs in nwl-cicd.yaml

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-21 11:03:18 +02:00
Marc Mattmüller 03c61198e6 jobs: added documentation pipeline as it is referenced in Jcasc
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-21 09:49:57 +02:00
Marc Mattmüller 1aea7bf218 jobs: added artifact deployment to nexus
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-06-19 18:33:08 +02:00
Marc Mattmüller a41f1b1148 jobs/build: use default target when job is triggered by timer
In a nightly build the job parameter TARGET stays on "selected...".
Thus, a check verifies if the job is triggered by a timer and then
takes the default target which is the first one in the file
'nwlTargets'.
With it the description name of the build gets a postfix 'nightly'.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-05-01 09:11:19 +02:00
Marc Mattmüller 27c7777f79 jobs/common: removed settings for sstate- and equiv server
currently the environment is unclear and is set to ToDo

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-04-25 16:12:31 +02:00
Marc Mattmüller 3e52ea97ed jobs/common: set nwl image for CI
with the current Merge Request there are now 2 images for the NWL.
One is specially for the CI.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-04-25 14:35:11 +02:00
Marc Mattmüller c3056f4cb5 jobs/common: removed residing parallel configuration for auto.conf
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-04-18 09:14:23 +02:00
Marc Mattmüller ca4b22b136 jobs/build: added missing removing of pre clone directory
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-04-18 09:13:47 +02:00
Marc Mattmüller eb19873605 jobs: adding git credentials and finalized pre-node step
need to clone the repository to load the list of the buid
targets in pre-node step.

added a git credential ID getter to clone repositories.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-04-18 08:47:12 +02:00
Marc Mattmüller 4251812565 jobs/Build: fixed apostrophes when setting the job description
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-04-18 08:18:25 +02:00
Marc Mattmüller 5b22271083 jobs: added first draft of NWL build pipeline
this commit holds additionally a common jenkins file and a
file containing the targets (machines) to build. Latter is
used for the drop-down parameter in the build job.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
2023-04-11 16:33:29 +02:00