Die DB Systel GmbH ist Tochterunternehmen und der IT-Dienstleister der Deutschen Bahn. Das Unternehmen setzte 2015 825 Millionen Euro um und beschäftigt 3.600 Mitarbeiter. Es besitzt und betreibt drei physische Rechenzentren mit insgesamt rund 3.000 Servern. Darüber hinaus bietet DB Systel ...
I would like to be able to use the gcip library to set the default image of a pipeline I'm generating. All of the jobs should...
See below: https://gitlab.com/dbsystel/gitlab-ci-python-library/-/blob/main/gcip/core/job.py#L513 This logic results in "None" being set as the value of self._needs when empty needs [] is passed to the Job constructor. [] has a special meaning separate from None - it specifies ...
# SPDX-FileCopyrightText: 2025 DB Systel GmbH # # SPDX-License-Identifier: Apache-2.0 name: REUSE Compliance Check on: [push, pull_request] jobs: reuse-compliance-check: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: REUSE Compliance Check uses: fsfe...
https://gitlab.com/dbsystel/gitlab-ci-python-library/-/blob/main/gcip/core/need.py#L90 Setting pipeline ID in needs where pipeline ID matches the current pipeline will not break gitlab ci, so this rule is unnecessary. Incidentally, forcing this behavior breaks the ability to generate a do...
(create_cache=True,)# all other functions can request that cache object from the `kaniko_execute` job.# This requires to extend the job class exposing its cache as @property.# (In general we could expose most of a jobs attributes as @properties)dive_scan = dive.scan(image_from_cache=...
All jobs currently have the stage name appended to the end of their job name. This creates a lot of noise when looking at the Gitlab pipeline in the web UI. I think you should be able to opt out of this for two reasons The information is redundant since the job will appear in a ...
parent_job=Job(script=["echo'I am a dependent job'"],name="parent")parent2_job=Job(script=["echo'I am the second dependent job.'",name="parent2"]job=Job(script=["echo'I depend on parent job'"],name="child")job.add_dependencies(parent_job,parent2_job) ...
$ pip show gcip -- INSERT -- WARNING: Ignoring invalid distribution -otocore (/usr/local/lib/python3.9/site-packages)...
You don’t need templates (the extends keyword or YAML anchors), because you can reuse jobs and sequences. This doesn't work with the pipeline I'm trying to create because I'm consuming a template that is created by someone else and I do not control it. This is a hidden job that ...