GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — adding support for linux ppc64le by adilhusain-s · Pull Request #862 · actions/setup-node

Conversation

@adilhusain-s

@adilhusain-s adilhusain-s commented Oct 3, 2023

Copy link
Copy Markdown

Description:
*Adding change to support ppc64le architecture

  • since actions/node-versions doesn't have binaries for ppc64le architecture, falling back to official node binaries.

Please review and merge.

Related issue:
Add link to the related issue.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alexandrutocar reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@adilhusain-s
adilhusain-s requested a review from a team as a code owner October 3, 2023 07:12
@adilhusain-s

adilhusain-s commented Oct 3, 2023

Copy link
Copy Markdown
Author

testing performed

  • created a sample workflow and ran it on ppc64le architecture
  • workflow

root@adilhusain-centos-test-1:/actions-runner# uname -a
Linux adilhusain-centos-test-1.power-iaas.cloud.ibm.com 4.18.0-408.el8.ppc64le #1 SMP Mon Jul 18 16:06:55 UTC 2022 ppc64le ppc64le ppc64le GNU/Linux
root@adilhusain-centos-test-1:
/actions-runner# node
Welcome to Node.js v20.6.1.
Type ".help" for more information.

os.arch()
'ppc64'
os.endianness()
'LE'

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dmitry-shibanov

dmitry-shibanov commented Oct 10, 2023

Copy link
Copy Markdown
Contributor

Hello @adilhusain-s. Thank you for your pull request. Could you please take a look at this comment about our concerns for these changes?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adilhusain-s

adilhusain-s commented Oct 10, 2023

Copy link
Copy Markdown
Author

@dmitry-shibanov
Thanks for the comment,
I did see those comment which you provided on old PR.
I'm not sure if we should actually add support for iax-ppc64 for following reasons:

  • self-hosted github runner isn't supported on iax-pp64 or ported for this platform (as I know)
  • not sure iax-ppc64 is still widely in use. the official docker node or busybox image doesn't have support for iax-ppc6.

if someone can give me the value of os.arch and os.endianess on iax-ppc64, I'll be more than happy to update my PR with the changes to support iax-ppc64.
currently, I don't have access to iax-ppc64 VM nor I'm able to emulate iax-ppc64 platform architecture using qemu.
please let me know if you have any way to get the values of os.arch and os.endianess for iax-ppc64.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adilhusain-s
adilhusain-s force-pushed the ppc64le branch from 36d685f to 35387fe Compare October 13, 2023 11:43
@adilhusain-s

adilhusain-s commented Oct 17, 2023

Copy link
Copy Markdown
Author

@dmitry-shibanov

I've updated this PR to address the requested changes.

  • Added aix in supported OS.
    • returning ppc64le when os.arch () ppc64 and os.endianness () is le
  • returning ppc64 when os.arch () ppc64 and os.endianess() is be

please look at the following output:

bash-5.1# cat os.js     
const os = require('os');           
            
// Get the operating system name    
const osName = os.type();           
console.log(`Operating System: ${osName}`);     
console.log ("os platform: ", os.platform());   
// Get the processor architecture   
const processorArchitecture = os.arch();        
console.log(`Architecture: ${processorArchitecture}`);      
            
// Get the endianness (byte order)  
const endianness = os.endianness();             
console.log(`Endianness: ${endianness}`);       
bash-5.1# ./node os.js  
Operating System: AIX   
os platform:  aix       
Architecture: ppc64     
Endianness: BE          

root@adilhusain-centos-test-1:~# node os.js     
Operating System: Linux             
os platform:  linux     
Architecture: ppc64     
Endianness: LE          
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dmitry-shibanov

dmitry-shibanov commented Oct 23, 2023

Copy link
Copy Markdown
Contributor

Hello @adilhusain-s. Sorry for misinformation. Initially setup-node does not support aix so your previous changes should be good. Could you please revert changes to the previous ones?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adilhusain-s
adilhusain-s force-pushed the ppc64le branch from 35387fe to d0258ad Compare October 25, 2023 10:42
@adilhusain-s

adilhusain-s commented Oct 25, 2023

Copy link
Copy Markdown
Author

@dmitry-shibanov
revert the changes.
please review and merge.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nikolai-laevskii

nikolai-laevskii commented Nov 10, 2023

Copy link
Copy Markdown
Contributor

Quick update:

There seems to be problem with failing tests. It should be resolved as soon as https://github.com/actions/setup-node/pull/882 is merged.

For now everything looks good.

anup-kodlekere and janani66 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@janani66

janani66 commented Jan 10, 2024

Copy link
Copy Markdown

Quick update:

There seems to be problem with failing tests. It should be resolved as soon as https://github.com/actions/setup-node/pull/882 is merged.

For now everything looks good.

Looks like #882 is merged. Hoping that this PR can also be merged soon.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adilhusain-s
adilhusain-s force-pushed the ppc64le branch from d0258ad to 36d685f Compare January 11, 2024 07:33
@adilhusain-s
adding support for linux ppc64le
a5a46b4
@adilhusain-s
adilhusain-s force-pushed the ppc64le branch from 36d685f to a5a46b4 Compare January 11, 2024 08:03
@adilhusain-s

adilhusain-s commented Jan 11, 2024

Copy link
Copy Markdown
Author

Hi
@dmitry-shibanov
@nikolai-laevskii

just rebased my PR.
could you approve the waiting workflows?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This branch has not been deployed

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@adilhusain-s @dmitry-shibanov @nikolai-laevskii @janani66
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.