Bug 1550160

Summary: webpack assets build are development vs production
Product: Red Hat Satellite Reporter: Ohad Levy <ohadlevy>
Component: WebUIAssignee: Eric Helms <ehelms>
WebUI sub component: Foreman QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: unspecified CC: aperotti, ehelms, mhulan, mmccune, ohadlevy, sgraessl, tbrisker
Version: 6.3.0Keywords: Regression, Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-25 17:46:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ohad Levy 2018-02-28 16:38:13 UTC
Description of problem:

The webpack based assets that are shipped via satellite 6.3.0 are development based and not production based.

when building the assets, make sure NODE_ENV=production environment variable is used.

Comment 1 Eric Helms 2018-02-28 17:34:38 UTC
This is exactly the problem hit by https://bugzilla.redhat.com/show_bug.cgi?id=1511503 so I'd argue we close this as a duplicate and work from the other one. The fix is quite simple in our build tooling.

Comment 2 Ohad Levy 2018-02-28 17:57:23 UTC
I'm not sure, as the original bug had an issue with caching, not just the content itself.

Comment 3 Marek Hulan 2018-03-01 08:57:13 UTC
Could you please provide more information, namely how to verify this? Also is this a packaging problem of really a WebUI issue?

Comment 5 Mike McCune 2018-03-17 20:32:11 UTC
This looks like a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1511503

I'd vote we close this out when the above is resolved if that is indeed the case

Comment 7 Mike McCune 2019-01-25 17:46:26 UTC
closing this out, feel free to reopen if this is premature.

*** This bug has been marked as a duplicate of bug 1511503 ***

Comment 8 Red Hat Bugzilla 2023-09-14 04:17:11 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days