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.yaml: Generate and upload binaries to GCP storage #42

Merged
merged 2 commits into from Sep 14, 2022

Conversation

hjpotter92
Copy link
Member

@hjpotter92 hjpotter92 commented Sep 13, 2022

  • Add dependabot configuration for gomod
  • Make test.yaml workflow dynamic

Built binaries, are uploaded to gcp bucket for each commit. Additionally, merge multiple build jobs into a single one.

Part of work wrt: livepeer/livepeer-infra#917

a sample of generated manifest is (https://build.livepeer.live/catalyst-api/hjp_gcp-upload.json):

{
    "branch": "hjp/gcp-upload",
    "builds": {
        "darwin-amd64": "https://build.livepeer.live/catalyst-api/760f830f1b581eeece8f320e2a4df9b95fd30d73/livepeer-catalyst-api-darwin-amd64.tar.gz",
        "darwin-arm64": "https://build.livepeer.live/catalyst-api/760f830f1b581eeece8f320e2a4df9b95fd30d73/livepeer-catalyst-api-darwin-arm64.tar.gz",
        "linux-amd64": "https://build.livepeer.live/catalyst-api/760f830f1b581eeece8f320e2a4df9b95fd30d73/livepeer-catalyst-api-linux-amd64.tar.gz",
        "linux-arm64": "https://build.livepeer.live/catalyst-api/760f830f1b581eeece8f320e2a4df9b95fd30d73/livepeer-catalyst-api-linux-arm64.tar.gz"
    },
    "commit": "760f830f1b581eeece8f320e2a4df9b95fd30d73",
    "ref": "refs/pull/42/merge",
    "srcFilenames": {
        "darwin-amd64": "livepeer-catalyst-api-darwin-amd64.tar.gz",
        "darwin-arm64": "livepeer-catalyst-api-darwin-arm64.tar.gz",
        "linux-amd64": "livepeer-catalyst-api-linux-amd64.tar.gz",
        "linux-arm64": "livepeer-catalyst-api-linux-arm64.tar.gz"
    }
}

 - Add dependabot configuration for gomod
 - Make `test.yaml` workflow dynamic
@hjpotter92 hjpotter92 self-assigned this Sep 13, 2022
@hjpotter92 hjpotter92 merged commit aa55623 into main Sep 14, 2022
@hjpotter92 hjpotter92 deleted the hjp/gcp-upload branch September 14, 2022 11:41
iameli added a commit that referenced this pull request Feb 7, 2023
catalyst node dockerization & improvements
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.

None yet

3 participants