Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PUI build workflow #6754

Merged
merged 2 commits into from
Mar 19, 2024
Merged

Conversation

wolflu05
Copy link
Contributor

@wolflu05 wolflu05 commented Mar 19, 2024

As per #6727 it seems like we missed to include the compiled translations the whole time in the artifact builds. This PR adds the lingui compile step to the artifact and release build.

I suggest we could also back port this change to 0.14.x


EDIT: Tested the build produced by this run, works now.

Copy link

netlify bot commented Mar 19, 2024

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit df90221
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/65f9705249efce000872278b

@wolflu05 wolflu05 added the bug Identifies a bug which needs to be addressed label Mar 19, 2024
@wolflu05 wolflu05 added this to the 0.15.0 milestone Mar 19, 2024
@wolflu05 wolflu05 added Platform UI Related to the React based User Interface CI CI / unit testing ecosystem labels Mar 19, 2024
Copy link
Contributor

@matmair matmair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matmair
Copy link
Contributor

matmair commented Mar 19, 2024

I think this should be backported too

@SchrodingersGat
Copy link
Member

SchrodingersGat commented Mar 19, 2024

@wolflu05 do the translations get included in the compiled docker image currently?

@wolflu05
Copy link
Contributor Author

wolflu05 commented Mar 19, 2024

Yes, see

https://github.com/inventree/InvenTree/blob/master/Dockerfile#L110

https://github.com/inventree/InvenTree/blob/master/tasks.py#L998

and if the wont be included, we would actually already have noticed with the docker image because that's used on demo and so much prod instances.

The fact that this issue actually existed for so long time shows how rare such a bare metal, from code setup is.

@SchrodingersGat
Copy link
Member

Thanks for confirming. And thanks for the fix!

@SchrodingersGat SchrodingersGat added setup Relates to the InvenTree setup / installation process backport Apply this label to a PR to enable auto-backport action backport-to-0.14.x labels Mar 19, 2024
@SchrodingersGat SchrodingersGat merged commit 838f681 into inventree:master Mar 19, 2024
27 checks passed
Copy link
Contributor

💔 All backports failed

Status Branch Result
0.14.x An unhandled error occurred. Please see the logs for details

Manual backport

To create the backport manually run:

backport --pr 6754

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

@wolflu05 wolflu05 mentioned this pull request Mar 19, 2024
7 tasks
SchrodingersGat pushed a commit to SchrodingersGat/InvenTree that referenced this pull request Mar 19, 2024
* Fix PUI build workflow

* Fix PUI build release workflow
SchrodingersGat added a commit that referenced this pull request Mar 19, 2024
* Fix PUI build workflow

* Fix PUI build release workflow

Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed CI CI / unit testing ecosystem Platform UI Related to the React based User Interface setup Relates to the InvenTree setup / installation process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants