Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-755

Fix "Publish TechDocs Site" github action

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • Actions
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      It appears the "Publish TechDocs Site" workflow has been broken for some time, perhaps the job is missing credentials, each run I've looked at so far contains this error:

      info: Creating AWS S3 Bucket publisher for TechDocs
      error: Could not retrieve metadata about the AWS S3 bucket ***. Make sure the bucket exists. Also make sure that authentication is setup either by explicitly defining credentials and region in techdocs.publisher.awsS3 in app config or by using environment variables. Refer to https://backstage.io/docs/features/techdocs/using-cloud-storage
      error: from AWS client library UnknownError {"$fault":"client","$metadata":{"attempts":1,"extendedRequestId":"OXn5ZjQvKOea/zzobey2MSULurtoY61/ja9GMOTGDw7k/uTDHBzzSl86AoukJ4DRx2fD5WsPPP4=","httpStatusCode":403,"requestId":"NDP14JE5V5XYY9C9","totalRetryDelay":0},"name":"403","stack":"403: UnknownError\n    at throwDefaultError (/usr/local/lib/node_modules/@techdocs/cli/node_modules/@smithy/smithy-client/dist-cjs/index.js:836:20)\n    at /usr/local/lib/node_modules/@techdocs/cli/node_modules/@smithy/smithy-client/dist-cjs/index.js:845:5\n    at de_CommandError (/usr/local/lib/node_modules/@techdocs/cli/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4739:14)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /usr/local/lib/node_modules/@techdocs/cli/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20\n    at async /usr/local/lib/node_modules/@techdocs/cli/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:485:18\n    at async /usr/local/lib/node_modules/@techdocs/cli/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38\n    at async /usr/local/lib/node_modules/@techdocs/cli/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:110:22\n    at async /usr/local/lib/node_modules/@techdocs/cli/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:138:14\n    at async /usr/local/lib/node_modules/@techdocs/cli/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:34:22"}
      

      Also is this workflow for generating content for the example instance?

              Unassigned Unassigned
              stlewis_2 Stan Lewis
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: