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

setup for downloading releases from box services. #8

Merged
merged 4 commits into from
Feb 2, 2022

Conversation

hjpotter92
Copy link
Member

No description provided.

 - Provide sample manifest file.
 - Typical IDE setup.
 - Barebones downloader package.
 - Drop existing `cmd/` packages.
@hjpotter92 hjpotter92 self-assigned this Feb 1, 2022
 - Downloads and extracts binaries from release path.
 - Restores archived file flags on extraction.
 - Optionally skip specific service from processing.
 - Parallel download/process of each service listed inside the box.
Copy link
Contributor

@iameli iameli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add some glog debugging levels on this — would be good to be able to trace through the downloads if stuff isn't working. Presently getting this:

./build/downloader
panic: unexpected EOF

goroutine 1 [running]:
github.com/livepeer/livepeer-in-a-box/downloader.CheckError(...)
	/Users/iameli/code/livepeer-in-a-box/downloader/downloader.go:84
github.com/livepeer/livepeer-in-a-box/downloader.ExtractTarGzipArchive({0x140000247c0, 0x20}, {0x14000020870, 0x5}, {0x14000020ab0, 0x8})
	/Users/iameli/code/livepeer-in-a-box/downloader/downloader.go:192 +0x420
github.com/livepeer/livepeer-in-a-box/downloader.DownloadService({{0x0, 0x0}, 0x0, {0x14000020870, 0x5}, {0x100831938, 0x6}, {0x100831634, 0x5}, {0x100833995, ...}}, ...)
	/Users/iameli/code/livepeer-in-a-box/downloader/downloader.go:115 +0x360
github.com/livepeer/livepeer-in-a-box/downloader.Run({{0x10088efd0, 0x1c}})
	/Users/iameli/code/livepeer-in-a-box/downloader/downloader.go:244 +0x58c
main.main()
	/Users/iameli/code/livepeer-in-a-box/main.go:8 +0x38

@iameli
Copy link
Contributor

iameli commented Feb 2, 2022

Adding this and merging 😃 4249e0b

@iameli iameli closed this Feb 2, 2022
@iameli iameli reopened this Feb 2, 2022
@iameli iameli merged commit cc5a0ed into 2.0 Feb 2, 2022
@iameli iameli deleted the hjp/download-artifacts branch February 2, 2022 00:41
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