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

Add CI for r:v2, and publishing for r:v1 and r:v2 #178

Merged
merged 5 commits into from
Feb 20, 2025
Merged

Add CI for r:v2, and publishing for r:v1 and r:v2 #178

merged 5 commits into from
Feb 20, 2025

Conversation

bloodearnest
Copy link
Member

@bloodearnest bloodearnest commented Feb 5, 2025

This change builds and tests v2 in CI, and then publishes r:v2 and rstudio:v2 after merging.

v1 also works, but takes ~2h, so is too slow for normal CI.

However, having to manually publish v1 is still a bit of a pain, and we want to ensure some level on consistency in deployment.

So, we do run build/test r:v1 and rstudio:v1 on main after merging, and then deploy it. It takes 2 hours, but that's hopefully acceptable given we publish infrequently. And it gives us some level of assurance, as well as automating the deployment parts, so we no longer need to do that manually.

Fixes #177

@bloodearnest bloodearnest force-pushed the ci branch 10 times, most recently from 53459b3 to 7566e0d Compare February 12, 2025 15:48
@bloodearnest bloodearnest force-pushed the ci branch 20 times, most recently from 5f075f8 to 67dd38c Compare February 17, 2025 12:21
@bloodearnest bloodearnest force-pushed the ci branch 11 times, most recently from e67dcf2 to fa31a3c Compare February 20, 2025 09:34
@bloodearnest bloodearnest force-pushed the ci branch 3 times, most recently from fa86e44 to 84f33d8 Compare February 20, 2025 12:16
Do not run in CI, as too slow (2hours)
@bloodearnest bloodearnest marked this pull request as ready for review February 20, 2025 12:56
@bloodearnest bloodearnest changed the title Add basic CI for v2 Add CI for r:v2, and publishing for r:v1 and r:v2 Feb 20, 2025
Copy link
Contributor

@remlapmot remlapmot left a comment

Choose a reason for hiding this comment

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

Absolutely fantastic work Simon.

(Happy if you want another pair of eyes on it) but looks super to me.

@bloodearnest bloodearnest merged commit 7d615fd into main Feb 20, 2025
2 checks passed
@bloodearnest bloodearnest deleted the ci branch February 20, 2025 13:18
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.

Auto publishing of v2 images
2 participants