gardener / machine-controller-manager-provider-aws

Gardener machine controller manager provider for AWS
Apache License 2.0
9 stars 35 forks source link

switch GCR -> Artifact-Registry #141

Closed ccwienk closed 11 months ago

ccwienk commented 11 months ago

GCR has been deprecated [0] in favour of Artifact-Registry.

Thus, change push-targets for OCI-Images:

[0] https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr

Release note:

Change OCI Image Registry from GCR (`eu.gcr.io/gardener-project`) to Artifact-Registry (`europe-docker.pkg.dev/gardener-project/releases`). Users should update their references.
gardener-robot-ci-3 commented 11 months ago

This PR proposes changes that would break the pipeline definition:

<invalid YAML>: found duplicate anchor 'mcmpa-image'; first occurrence
  in "<unicode string>", line 28, column 54:
     ... ontroller-manager-provider-aws: &mcmpa-image
                                         ^
second occurrence
  in "<unicode string>", line 75, column 54:
     ... ontroller-manager-provider-aws: &mcmpa-image
                                         ^
gardener-robot-ci-1 commented 11 months ago

This PR proposes changes that would break the pipeline definition:

<invalid YAML>: found duplicate anchor 'mcmpa-image'; first occurrence
  in "<unicode string>", line 29, column 54:
     ... ontroller-manager-provider-aws: &mcmpa-image
                                         ^
second occurrence
  in "<unicode string>", line 76, column 54:
     ... ontroller-manager-provider-aws: &mcmpa-image
                                         ^
gardener-robot-ci-1 commented 11 months ago

This PR proposes changes that would break the pipeline definition:

machine-controller-manager-provider-aws-gcr-to-ar: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/concourse/replicator.py", line 141, in render
    definition_descriptor = self._render(definition_descriptor)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/concourse/replicator.py", line 185, in _render
    'definition': factory.create_pipeline_definition(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/concourse/factory.py", line 108, in create_pipeline_definition
    validator.validate()
  File "/usr/lib/python3.11/site-packages/concourse/validator.py", line 29, in validate
    self._validate_variant(variant)
  File "/usr/lib/python3.11/site-packages/concourse/validator.py", line 34, in _validate_variant
    self._validate_element(variant)
  File "/usr/lib/python3.11/site-packages/concourse/validator.py", line 39, in _validate_element
    element.validate()
  File "/usr/lib/python3.11/site-packages/model/base.py", line 44, in validate
    self._validate_known_attributes()
  File "/usr/lib/python3.11/site-packages/model/base.py", line 73, in _validate_known_attributes
    raise ModelValidationError(
model.base.ModelValidationError: JobVariant:<unknown>: The following attributes are unknown: component_descriptor.
gardener-robot-ci-1 commented 11 months ago

The pipeline-definition has been fixed.