Add .drone.yml file for CI #138
Labels
No Label
in progress
kind/bug
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
lgtm/done
lgtm/need 1
lgtm/need 2
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
status/blocked
status/needs-feedback
status/wip
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/homebrew-gitea#138
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "markkrj/homebrew-gitea:add-ci-file"
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?
@zeripath asked if there was a way to validate the homebrew formulas, so I came up with this. Is it acceptable? You could configure your Drone instance to test it.
Tested locally with
drone exec
standard_init_linux.go:211: exec user process caused "exec format error"
-> https://drone.gitea.com/6543/homebrew-gitea/2/2/2
My bad, forgot to check if homebrew had arm64 images on Docker hub.
So, if we wanna test arm64, we have this options:
Installing homebrew will add ~3 minutes per step, and also consume bandwidth and CPU from CI. Imo,
1
is the better option.I've lazily attempted to build the brew docker image on arm64 (on my trusty pinebook pro), however a simple docker build yields:
I've spent zero time looking into this error though, and may continue, but hopefully by posting this here in case I don't continue I've hopefully saved someone else some time.
I managed to create an arm64 image of homebrew. I'm just doing some adjustments, then I'll push it to docker hub and update this PR.