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

Build mgd on macOS in a GH action #144

Closed
wants to merge 1 commit into from
Closed

Build mgd on macOS in a GH action #144

wants to merge 1 commit into from

Conversation

david-crespo
Copy link
Contributor

WIP, just experimenting

@david-crespo david-crespo changed the title Try building mgd on macOS in a GH action Build mgd on macOS in a GH action Jan 2, 2024
@david-crespo
Copy link
Contributor Author

First problem: need to give it access to dendrite, which is a private repo.

Updating crates.io index
    Updating git repository `https://github.com/oxidecomputer/falcon`
From https://github.com/oxidecomputer/falcon
 * [new ref]         a223368cbb036279b3ddc1c803ce5a0219440204 -> refs/commit/a223368cbb036279b3ddc1c803ce5a0219440204
    Updating git repository `[https://github.com/oxidecomputer/dendrite`](https://github.com/oxidecomputer/dendrite%60)
fatal: could not read Username for 'https://github.com/': Device not configured
error: failed to get `common` as a dependency of package `ddm v0.1.0 (/Users/runner/work/maghemite/maghemite/ddm)`

Caused by:
  failed to load source for dependency `common`

Caused by:
  Unable to update https://github.com/oxidecomputer/dendrite?branch=main#eaec4213

Caused by:
  failed to clone into: /Users/runner/.cargo/git/db/dendrite-627b239a911c6241

Caused by:
  process didn't exit successfully: `git fetch --tags --force --update-head-ok 'https://github.com/oxidecomputer/dendrite' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)
Error: Process completed with exit code 101.

@jclulow
Copy link

jclulow commented Jan 2, 2024

FWIW, it hopefully won't be that much work to get buildomat for Mac working. I have an M2 system set up in the lab and I have had some basic success creating VMs on it with tart and the Cirrus Labs Mac OS X images. Just a little more plumbing to do to get something that works, I reckon. Then you'll be able to get the same private repository access as the existing buildomat jobs, etc.

@david-crespo
Copy link
Contributor Author

Great! I had also concluded the GH action version is not worth further effort.

@david-crespo david-crespo deleted the mgd-macos branch January 3, 2024 17:43
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.

2 participants