WIP: automated-testing #9
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MountainTownTechnology/aural_isle#9
Loading…
Reference in New Issue
No description provided.
Delete Branch "automated-testing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#3
Using gitea actions runner for automated lint, build, and test.
When a PR is opened or a push is made to main or a push is made to a branch that has an open PR, if it includes changes to the cargo files or files in the src directory, then these checks will run in CI.
The builder image is based on an official rust builder on alpine. It may make more sense to use one of their debian-based images as the base instead; up for discussion, i just have personal preference towards alpine. added a dockerfile for the builder in the ci folder.
if we increase the max upload size on nginx, then i can upload the builder image to the communitymedia container registry and change all the image tags to refer there (which will make the ci workflow portable outside of just my personal runner)
right now we have one runner on one of my machines. the gitea runner documentation is kinda bad and the feature itself feels pretty beta (at least in comparison to gitlab), ran into some weird stuff. but it's working ok now. i can document some of that in an additional ci-readme if that would be useful. setting up new runners should be pretty straightforward now that i understand the process.
TODO before merging:
TODO at some future date tbd, i can make a new issue for these:
(i feel ok leaving these as-is for now because i'm the only one who may incur costs from this lack of caching right now, since mine is the only runner)
also, are we going to do PR squashes, or should i squash this myself before merge?
I vote PR squashes, that way we can get a little messy but just squash to merge.
13d7fce0be
to1d1f05cfb6
1d1f05cfb6
tod85d6285d2
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.