Publish Gitlab step is throwing "Response Not defined" error in RHDH

Solution Verified - Updated -

Issue

When running the template, we get a "Response Not Defined" error when attempting to publish repository to gitlab. Below is the error details.

90 2024-05-XXTXX:49:14.616Z info: Adding file {dir=/tmp/567dshhs-er67-xxx-fdg666-xxxxxx/src,filepath=.}
91 2024-05-XXTXX:49:14.666Z ReferenceError: Response is not defined
92    at browserDeflate (/opt/app-root/src/node_modules/isomorphic-git/index.cjs:4909:35)
93    at deflate (/opt/app-root/src/node_modules/isomorphic-git/index.cjs:4902:7)
94    at _writeObject (/opt/app-root/src/node_modules/isomorphic-git/index.cjs:4939:32)
95    at async /opt/app-root/src/node_modules/isomorphic-git/index.cjs:5065:19

Environment

  • Red Hat Developer Hub 1.1 and 1.2
  • Node 18.x or later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content