grpc / grpc/grpc-java

upload_artifacts.sh is hard to manually test

Open
#4,576 1 comment 0 reactions 0 assignees View on GitHub
code health
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

Currently it can only be run on Kokoro and only for tagged releases. @zpencer, has a kokoro job that lets him kick off a job against a private (fake) tagged release but this doesn't scale to more users and is slow as it requires building all dependent artifacts.

We need a way to be able to run the majority of the script from our workstations. This is generally not too hard with a little bit of reorganization, with the exception of gpg. While with gnupg 2.x we could leverage the gpg-agent to split kokoro-specific code out, there's not an easy way for gnupg 1.x. We either need to use something similar to the release key for testing or require gnupg 2.x. Since Kokoro is using Ubuntu 14.04 which has gnupg 1.x, we could use a docker container to get gnupg 2.x.

Contributor guide

Open the contributing guide

Research direction

Start with upload_artifacts.sh and compare its Kokoro-only assumptions with the existing Kokoro job that runs against a private tagged release. Investigate the GnuPG 1.x environment on Ubuntu 14.04 and the proposed GnuPG 2.x Docker approach. Done means most of the script can run from a workstation without building all dependent artifacts, while release behavior remains supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.