-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
CI Roadmap #93
Comments
This was referenced Mar 10, 2023
See #98 |
Closed
I think #108 surfaced an annoying issue where external PRs are missing this repos variables during the CI, which causes failures like https://github.com/aaronleopold/stump/actions/runs/4521440733/jobs/7963254737#step:4:417. This is kinda annoying, but I think it makes sense? I guess the options are:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The CI workflow(s) for Stump are currently at a much better state than they were before, but there is still a lot of work to be done. I'll outline some of the areas that need work below, and create separate issues for tracking as needed. This overly time critical, but it eventually will be when I feel ready for an initial release.
Docker Caching
Lol this is annoying. So, as of #92, docker caching works only when running builds locally. In CI, the only time the cache actually works is when you rerun a build for the same commit.
Locally, this is not the case. I can run a build, make a change, run a consecutive build, and the cache is properly used and the build is much faster. I have no idea why this is the case, but it is very annoying and gives me agita.
CI Checks
Honestly this is pretty decent right now. Not much I would change here. The checks are rather basic, but they are sufficient for now. All it does is lint the code. I guess the one thing I want it to do is run tests, but those don't exist yet lol well, if they do they are not great tests. See https://github.com/aaronleopold/stump/tree/al/testing-overhaul.
Nightly Release Workflow
As of #92, we have a nightly release workflow that will build and publish nightly docker image(s) whenever a PR lands in
develop
.The general flow at the moment is:
linux/amd64
only. This will not be pushed to a registry, rather just be cached. I consider this a smoke test to ensure basic build functionality before merging and running the full build(s) for all platforms.nightly
release, and will be tagged as such.Note that all operations are currently performed on a single, self-hosted runner. This is a great start, but there are a few things that need to be done to make this more robust:
stump_server
macos
,linux
, andwindows
.macos
andwindows
builds.stump_desktop
macos
,linux
, andwindows
.stump_server
CI is in a good state, but I wanted to call it out here.nightly
releases replace any existingnightly
releases for the same platform.Release Workflow
The release workflow is currently non-existent and I imagine it will be more annoying.
In general, what I am envisioning is:
latest
and the release tag will be pushed to the registry.The checklist for the release, following the above outline, would be:
stump_server
andstump_desktop
executables for all supported platforms to the GH release page.stump_server
andstump_desktop
docker images for all supported platforms, tagged withlatest
and the release tag.Other Notes
The text was updated successfully, but these errors were encountered: