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

Use ubicloud-standard-16 to run CI builds #6065

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Conversation

ikhoon
Copy link
Contributor

@ikhoon ikhoon commented Jan 10, 2025

To get more benefits from parallelism.

YAML runner tag vCPU Memory
ubicloud-standard-16 16 64GB

To get more benefits from parallelism.
Copy link
Contributor

@minwoox minwoox left a comment

Choose a reason for hiding this comment

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

👍

@@ -96,7 +96,7 @@ jobs:
- name: Build with Gradle (Shading only)
run: |
./gradlew --no-daemon --stacktrace shadedJar shadedTestJar trimShadedJar \
${{ startsWith(matrix.on, 'ubicloud') && '--max-workers=8' || '--max-workers=2' }} --parallel \
${{ startsWith(matrix.on, 'ubicloud') && '--max-workers=12' || '--max-workers=2' }} --parallel \
Copy link
Contributor

Choose a reason for hiding this comment

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

How about just keeping it as 8 even though there are 16 vCPU?
I think 8 workers are enough and we changed this machine due to the memory issue. 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought we could reduce the cost a bit, but let's keep it at 8.

@ikhoon
Copy link
Contributor Author

ikhoon commented Jan 13, 2025

The running time was reduced by about 20% with ubicloud-standard-16.

@ikhoon ikhoon merged commit bbb0571 into line:main Jan 14, 2025
13 of 14 checks passed
@ikhoon ikhoon deleted the ubicloud-64 branch January 14, 2025 02:48
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