-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat(packages/scripts): add a build script for darwin targets #503
Conversation
It can not run standalonee, it is used in CD workflow to replace multi tasks: - acquire darwin resource. - prepare ssh credentials. - prepre for remote builder files. - run remote build and get the built artifacts. - release the darwin resource. After this, the above tasks can run in a single Deno image. Usage: ```bash deno run --allow-all <url-of>/build-in-darwin-boskos.ts \ --sshInfoDir <ssh-info-dir> \ --sourcePath <code-source-dir> \ --envFile <remote-env-file> \ --scriptFile <path-of-generated-build-script> \ --component <component-name> \ --boskos.serverUrl <boskos-api-base-url> \ --boskos.type mac-machine-[arm64|amd64] \ --boskos.owner <hostname-or-task-name> \ --releaseDir <release-dir> ``` Signed-off-by: wuhuizuo <[email protected]>
Key changes:
Potential problems:
Fixing suggestions:
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wuhuizuo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…line (#1370) - combine multi tasks into one task: acquire resource then build with the resource machine then release the resource. - just use deno for run for build. based on implement: PingCAP-QE/artifacts#503 Signed-off-by: wuhuizuo <[email protected]> Signed-off-by: wuhuizuo <[email protected]>
It can not run standalone, it is used in CD workflow to replace multi tasks:
After this, the above tasks can run in a single Deno image.
Usage:
Signed-off-by: wuhuizuo [email protected]