gardener / cc-utils

CI/CD utils for gardener project
Apache License 2.0
23 stars 29 forks source link

cleanup build + (additionally) publish distribution-packages via OCM #1003

Closed ccwienk closed 3 months ago

gardener-robot-ci-1 commented 3 months ago

This PR proposes changes that would break the pipeline definition:

cc-utils-build: Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 141, in render
    definition_descriptor = self._render(definition_descriptor)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 185, in _render
    'definition': factory.create_pipeline_definition(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 88, in create_pipeline_definition
    self._apply_traits(variant)
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 177, in _apply_traits
    transformer.process_pipeline_args(pipeline_def)
  File "/usr/lib/python3.12/site-packages/concourse/model/traits/release.py", line 501, in process_pipeline_args
    self.release_step.add_input(
  File "/usr/lib/python3.12/site-packages/concourse/model/step.py", line 426, in add_input
    raise ValueError(f'input already exists: {variable_name}')
ValueError: input already exists: pypi
ccwienk commented 3 months ago

This PR proposes changes that would break the pipeline definition:

cc-utils-build: Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 141, in render
    definition_descriptor = self._render(definition_descriptor)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 185, in _render
    'definition': factory.create_pipeline_definition(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 88, in create_pipeline_definition
    self._apply_traits(variant)
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 177, in _apply_traits
    transformer.process_pipeline_args(pipeline_def)
  File "/usr/lib/python3.12/site-packages/concourse/model/traits/release.py", line 501, in process_pipeline_args
    self.release_step.add_input(
  File "/usr/lib/python3.12/site-packages/concourse/model/step.py", line 426, in add_input
    raise ValueError(f'input already exists: {variable_name}')
ValueError: input already exists: pypi

Thanks @gardener-robot-ci-1 ! I addressed this issue here

gardener-robot-ci-2 commented 3 months ago

This PR proposes changes that would break the pipeline definition:

cc-utils-build: Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 141, in render
    definition_descriptor = self._render(definition_descriptor)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 185, in _render
    'definition': factory.create_pipeline_definition(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 88, in create_pipeline_definition
    self._apply_traits(variant)
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 177, in _apply_traits
    transformer.process_pipeline_args(pipeline_def)
  File "/usr/lib/python3.12/site-packages/concourse/model/traits/release.py", line 501, in process_pipeline_args
    self.release_step.add_input(
  File "/usr/lib/python3.12/site-packages/concourse/model/step.py", line 426, in add_input
    raise ValueError(f'input already exists: {variable_name}')
ValueError: input already exists: pypi
gardener-robot-ci-2 commented 3 months ago

This PR proposes changes that would break the pipeline definition:

cc-utils-build: Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 141, in render
    definition_descriptor = self._render(definition_descriptor)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/replicator.py", line 185, in _render
    'definition': factory.create_pipeline_definition(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 88, in create_pipeline_definition
    self._apply_traits(variant)
  File "/usr/lib/python3.12/site-packages/concourse/factory.py", line 177, in _apply_traits
    transformer.process_pipeline_args(pipeline_def)
  File "/usr/lib/python3.12/site-packages/concourse/model/traits/release.py", line 501, in process_pipeline_args
    self.release_step.add_input(
  File "/usr/lib/python3.12/site-packages/concourse/model/step.py", line 426, in add_input
    raise ValueError(f'input already exists: {variable_name}')
ValueError: input already exists: pypi