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

refactor: use sysroots on linux prod pipeline #192513

Merged
merged 3 commits into from
Dec 12, 2023
Merged

Conversation

deepak1556
Copy link
Collaborator

@deepak1556 deepak1556 commented Sep 8, 2023

Fixes #189885
Fixes #192685

Depends on microsoft/vscode-linux-build-agent#43

TODO

Outcome of this experiment:

Bumps both client and server to GLIBC >= 2.28 and GLIBCXX >= 3.4.25

@deepak1556 deepak1556 added this to the On Deck milestone Sep 11, 2023
@deepak1556 deepak1556 force-pushed the robo/exp_sysroot branch 17 times, most recently from 46504fe to 6fca84a Compare November 24, 2023 10:34
@deepak1556 deepak1556 modified the milestones: On Deck, December 2023 Nov 24, 2023
@deepak1556 deepak1556 force-pushed the robo/exp_sysroot branch 3 times, most recently from 5666069 to 762b33a Compare November 24, 2023 12:25
@deepak1556 deepak1556 changed the title refactor: use sysroots on linux prod pipeline to build native modules refactor: use sysroots on linux prod pipeline Nov 24, 2023
@deepak1556 deepak1556 force-pushed the robo/exp_sysroot branch 3 times, most recently from a66607d to 21af479 Compare November 24, 2023 16:28
This was referenced Nov 24, 2023
fi
done
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
displayName: Check GLIBC and GLIBCXX dependencies in remote/node_modules
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For clients the check will be done during packaging deb and rpm steps, the server was missing this check so added a simple but effective one.

const spec = code.pipe(es.through(
async function () {
const that = this;
const dependencies = await dependenciesGenerator.getDependencies('rpm', binaryDir, product.applicationName, rpmArch);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Errors from getDependencies will be missed otherwise.

@deepak1556
Copy link
Collaborator Author

This is good for review, although I plan to merge only next milestone after some sanity testing during endgame.

@deepak1556 deepak1556 requested a review from rzhao271 November 24, 2023 17:48
@connor4312
Copy link
Member

I don't see anything objectionable here, but I am also far from an expert on C compilation.

@deepak1556 deepak1556 force-pushed the robo/exp_sysroot branch 2 times, most recently from f96cf5a to b047b7d Compare November 29, 2023 02:15
@deepak1556 deepak1556 marked this pull request as ready for review December 8, 2023 02:18
@deepak1556 deepak1556 enabled auto-merge (squash) December 8, 2023 02:18
build/linux/debian/install-sysroot.ts Outdated Show resolved Hide resolved
@deepak1556 deepak1556 merged commit e7b5076 into main Dec 12, 2023
6 checks passed
@deepak1556 deepak1556 deleted the robo/exp_sysroot branch December 12, 2023 10:39
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants