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 cross_repo for node_js repositories #109

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

agrare
Copy link
Member

@agrare agrare commented Apr 26, 2024

NodeJS repositories were running bin/setup plus npm install which was causing failures.

NodeJS repositories were running bin/setup plus npm install which was
causing failures.
"script" => "npm test"
"language" => "node_js",
"node_js" => ["18"],
"before_script" => "yarn",
Copy link
Member Author

Choose a reason for hiding this comment

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

NOTE we are parsing "Prepare tests" as "before_script" which for ui-service runs bin/setup. The issue was we were running install AND before_script which was causing the failure because npm install was failing and not the intended way to do the install.

@agrare
Copy link
Member Author

agrare commented Apr 26, 2024

I created a "test" cross-repo-tests /all ManageIQ/manageiq-cross_repo-tests#861

When that is green then this is okay to merge.

@Fryguy Fryguy merged commit 3e5a22f into ManageIQ:master Apr 26, 2024
6 checks passed
@Fryguy Fryguy self-assigned this Apr 26, 2024
@Fryguy Fryguy added the bug Something isn't working label Apr 26, 2024
@agrare agrare deleted the fix_node_js_install branch April 26, 2024 16:34
agrare added a commit that referenced this pull request Apr 26, 2024
Fixed
* Fix nodejs install not being overridden by repo ci.yml (#109)
@agrare
Copy link
Member Author

agrare commented Apr 26, 2024

Released this fix in v2.3.1 https://rubygems.org/gems/manageiq-cross_repo/versions/2.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants