The manifests will be added to the *.ci-artifacts file and thus
no longer need to be archived separately.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
The function isMachineSane() held so far a guard that only the
machine cn9130-cf-pro was built. According to the latest update
the legacy parts are now integrated and thus can be released to
be built.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
to have the ssh key of nginx available in the docker instance, the
manage script needed to be adapted as each key was added with a
single mount command.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
to have a better overview some shell commands of basic parts are
suppressed with set +x
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
Fixed the sstate-cache mirror synchroniziation including more
output about what is snychronized. Additionally suppressed the
shell commands to have less output on the job console.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
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>
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>
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>
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>
There are different kubernetes tools. This commit holds a table with a
comparisson of the different tools.
Additionally a K3s instance was set up and documented.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the plugin versions are as important as the jenkins version.
One could update the plugins via Jenkins UI and with that you
might loose the control of versions in case of a rebuilt for an
already released software. Thus, this section was added and we
need to integrate the versions as well.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
With this commit the investigations regarding running a playbook
on specific host(s) are documented.
There are different host selection possibilities like limitation,
providing an inventory with only one host (command line), using
the playbook keyword 'when' or by providing a variable for the
playbook keyword 'hosts'.
This part is important if it comes to an ochestration of hosts
with different running and setup states.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
this playbook needs a parameter target as extra variable which
defines on which host(s) the playbook is running on.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
To use the GitLab CI on a project, a server needs to install a
runner. The NetModule Know-How documentation holds already an
instruction guide about how to set up such a runner. For
completness a short summary is added to the next-level CI page.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
there is an issue with curl getting the Belden root cert, thus the
setup was completely moved to the playbook.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
The initial start is now moved to the playbook setting NWL jenkins
up. Thus the start/stop playbook does no longer need the initial
parameter as variable.
With it the NWL jenkins docker image was versionized to 0.0.3 and
the jenkins version was updated to the latest version.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
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>