The auto build server is the cheapest available Ubuntu 22.04 instance at Vultr.com. I followed these instructions, but substitute arm-gcc 10.3, which is what is included with the PICO SDK installer. These notes are so I can do it a bit faster next time…
Optional test argument forces it to run a task instead of starting the webhook listener
A task is one repo branch
Tasks have 1 or more builds that compile firmware and produce one or more outputs
Builds have one or more make commands, and support %%GIT_COMMIT_HASH%% as a tag that is replaced by the current git short hash
Outputs have an optional zip_file_location property that shoves the _rev8 firmware into a folder called attic
Outputs are packaged with log files, and then posted to a discourse thread
API username, key and URL should be stored in a .env file (see sample.env)
If the git_pull_dir directory doesn’t exist, the script will attempt to clone and switch to the git_branch specified. This is so adding new branches is faster/automated.
It also has the dead simple class that posts new pull requests in the forum.
Create new topics for each pull request open and issue open action
Post replies to the correct topics (tracking github)
Send notice to the live chat box
Generally cleaner
Orphaned pull requests comments (without an existing topic) will be rejected, but issue comments will create a topic using the available issue data send by github.
The forum category for pull requests and issues is currently private while I do some testing.
I just saw this topic and saw in the first post that you were using Vultr.
Does this work well for you?
I found them to be quite expensive in comparison. Yes, they offer their smallest instance for US$ 2.50, but it has so few ram that it is almost unusable in my experience. So I consider this more like a bait offer or loss leader thing.
It’s just what I’ve been using. Super convenient, but really pricey for what you get. We have two monster AMD Ryzan servers with SSD drives in Germany that cost about EUR30/month, while the droplet running this forum is more than half that for single core/limited ram.
I will check this out the next time I spool up a server, thank you.