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

Experiment with Semaphore CI 2.0 #2972

Closed
wants to merge 2 commits into from
Closed

Conversation

kinke
Copy link
Member

@kinke kinke commented Jan 19, 2019

No description provided.

@kinke kinke force-pushed the semaphore2 branch 3 times, most recently from ccf6a27 to e95dfbb Compare January 19, 2019 17:25
@kinke
Copy link
Member Author

kinke commented Jan 19, 2019

Errors during git checkout - may need a repo owner to set it up (they require separate v2 accounts...). - Documentation is very scarce, but they now feature a non-dockerized Ubuntu 18.04 image with 8 GB of usable memory (previously: dockerized 18.04 with ~2.4 GB), so that building single-threadedly and splitting the run in 2 jobs shouldn't be required anymore.

@kinke kinke force-pushed the semaphore2 branch 2 times, most recently from 4d11f0c to 38adbcc Compare February 2, 2019 13:30
@kinke
Copy link
Member Author

kinke commented Feb 2, 2019

Okay, a simple checkout || true works around the shallow clone 'error'.

The available memory seems to be 4 GB, not 8 GB. The full run (native Ubuntu 18.04 image, using its LLVM 6.0.0, gcc 7 etc., multilib) now succeeds and took about 42 minutes.

Can you guys display the CI log without being logged in?

@JohanEngelen
Copy link
Member

Can you guys display the CI log without being logged in?

No, I need to log in, but then I can see it fine.

@kinke
Copy link
Member Author

kinke commented Feb 2, 2019

Oh wow, that's a serious problem. Another one is that they are supposed to prepare a free service for open-source projects; right now we have a free 20$ credit per month, which translates to about one 42-minutes run per day.

@kinke
Copy link
Member Author

kinke commented Feb 2, 2019

A full multilib run with their octacore-machines takes under 20 minutes. I expected a somewhat better scaling; runnable/xtest46.d with its many (serialized) permutations seems to be a main culprit, delaying the runnable block of the 4 dmd-testsuite runs (as it is usually started pretty late too).

As the prices scale linearly, the machine with 8 cores and 16 GB RAM
costs 4x as much (per second) as the one with 2 cores and 4 GB.

Our run should scale pretty well with CPU cores, so the overall cost
shouldn't be much higher.
@kinke
Copy link
Member Author

kinke commented Sep 27, 2019

This isn't going anywhere; free credit was halved in the meantime, and the only available machine for the free plan has 2 cores now.

@kinke kinke closed this Sep 27, 2019
@kinke kinke deleted the semaphore2 branch September 27, 2019 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants