Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-3612

Fixed the timestamp inserted by `catalog:timestamping`

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Before this update, the timestamp in the `catalog-info.yaml` created by the `catalog:timestamping` action by the `backstage-scaffolder-backend-module-annotator` plugin was different from the execution time of the template.

      With this update, a unique timestamp is generated on each execution of the template.
      Show
      Before this update, the timestamp in the `catalog-info.yaml` created by the `catalog:timestamping` action by the `backstage-scaffolder-backend-module-annotator` plugin was different from the execution time of the template. With this update, a unique timestamp is generated on each execution of the template.
    • Bug Fix
    • Done
    • RHDH Plugins 3262, RHDH Plugins 3263

      [2465084430] Upstream Reporter: skitamura7446
      Upstream issue status: Closed
      Upstream description:

      Describe the bug

      The timestamp in catalog-info.yaml created by catalog:timestamping action by the backstage-scaffolder-backend-module-annotator plugin is different from the execution time of the template. It seems that the time when the Backstage environment is deployed is probably used.

      Expected Behavior

      The time indicated by backstage.io/createdAt is the time when Template was executed.

      What are the steps to reproduce this bug?

      1. Deploy Red Hat Developer hub on OpenShift using the registry.redhat.io/rhdh/rhdh-hub-rhel9:1.2 image.
      2. Execute the following sample template.

      Versions of software used and environment

      • Backstage(Red Hat Developer Hub): 1.2
      • OpenShift: 4.15.14
      • @janus-idp/backstage-scaffolder-backend-module-annotator: 1.0.2

      Upstream URL: https://github.com/janus-idp/backstage-plugins/issues/2052

            oandriie Aleksander Andriienko
            upstream-sync Upstream Sync
            RHIDP - Plugins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: