Skip to content

github-actions: fix ui build workflow#7522

Merged
yadvr merged 1 commit into
apache:4.18from
shapeblue:fix-ui-build-gh-action
May 12, 2023
Merged

github-actions: fix ui build workflow#7522
yadvr merged 1 commit into
apache:4.18from
shapeblue:fix-ui-build-gh-action

Conversation

@shwstppr

Copy link
Copy Markdown
Contributor

Description

package-lock.json is not removed.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

package-lock.json is not removed.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr

Copy link
Copy Markdown
Contributor Author

@weizhouapache weizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

code lgtm

I wonder if we need to remove this file from code base if it is updated or generated during the building process (not only in github action, but also in packaging jobs, etc)

@yadvr

yadvr commented May 12, 2023

Copy link
Copy Markdown
Member

@weizhouapache we don't remove the lock file in our packaging jobs that's why packaging jobs pass.

@yadvr

yadvr commented May 12, 2023

Copy link
Copy Markdown
Member

I've noticed between v14 and newer, the lock file format (version number) changes.

@shwstppr shwstppr marked this pull request as ready for review May 12, 2023 07:22
@yadvr yadvr added this to the 4.18.1.0 milestone May 12, 2023
@yadvr yadvr merged commit 44024a8 into apache:4.18 May 12, 2023
@yadvr yadvr deleted the fix-ui-build-gh-action branch May 12, 2023 07:24
@weizhouapache

weizhouapache commented May 12, 2023

Copy link
Copy Markdown
Member

@weizhouapache we don't remove the lock file in our packaging jobs that's why packaging jobs pass.

@rohityadavcloud
sorry I am confused.

indeed we do not remove the lock file in debian/rules and packaging/centos8/cloud.spec

    cd ui && npm install && npm run build && cd ..

and it works.

why the file should be removed to fix ui build workflow in github actions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants