-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Automate copying of signed binaries from dist.ipfs.io/go-ipfs #8316
Comments
@schomatis : this is a good candidate that we could use your help for. For testing/development, you can use your own repo for testing GitHub actions. |
@BigLep I'm not familiar with GitHub actions nor with our distribution system so I'm not sure I'm the right person for this one. However, if you think it's worthwhile I can spend some time familiarizing myself with this and give it a try. |
@schomatis : we talked about it more internally. The other go-ipfs Stewards will handle this. |
@lidel Could you provide a bit more detail on what needs to be done here? |
For v0.10.0 we had to manually copy all files:
@petar I think MVP we want here is a Github Action workflow that utilizes https://github.com/actions/github-script to automate the copying if release files. We could run it once a day or trigger it manually. Some notes / suggestions around implementation, hopefully you find them useful:
lmk if you get blocked on anything, or think there is a better way for removing the need for manual copying of files on each release |
As long as it runs when sent a custom "event", we can trigger it from the https://github.com/ipfs/distributions actions. |
Current state
dist.ipfs.io
is the source of the truth when it comes to official binaries/ipns/dist.ipfs.io/go-ipfs/
Proposed change
(iiuc) binaries attached to GitHub release are copied from
/ipns/dist.ipfs.io/go-ipfs/
manually by @aschmahmann or @Stebalien – we should automate this.Solution design
Create a GitHub Action workflow (triggered manually via
workflow_dispatch
and maybe daily viacron
to avoid human error) that iterates over everyvA.B.C
release and attaches any missing files from/ipns/dist.ipfs.io/go-ipfs/VA.B.C
(including manifest and.cid
and.sha512
files) if not present yet.This ensures that going forward https://github.com/ipfs/go-ipfs/releases is in sync with
dist.ipfs.io
.The text was updated successfully, but these errors were encountered: