| commit | 33b1dfcb2a6663d8d30f9e5ce2c4a596824c0f2b | [log] [tgz] |
|---|---|---|
| author | Eric Ball <eball@linuxfoundation.org> | Tue Apr 14 15:04:37 2026 -0700 |
| committer | Eric Ball <eball@linuxfoundation.org> | Mon Jun 15 13:13:22 2026 -0700 |
| tree | 2befa54955127aff2d534423fb60e79a1f6e4d71 | |
| parent | ecb6276d7e9e38ce5d9be2c3e6fcbba7249e9f67 [diff] |
Add Github Actions verification workflow This implements a shared workflow that will perform the license check and unit tests previously handled in Jenkins. Signed-off-by: Eric Ball <eball@linuxfoundation.org> Change-Id: I138aee4ad25ddd4f3a3aaf0315ef27d279c915de
This repo contains Dockerfiles used to generate versioned tool containers.
Final docker images are tagged with the image version from the VERSION file. This allows projects to specify a single "voltha toolchain version" and get all relevant tool versions.
The VERSION file should be changed using these rules:
Only use containers tagged with <VERSION>-tool.
Do NOT use containers tagged with tool-<TOOL_VERSION>.
Some examples of how to use these containers:
docker run --rm --user $(id -u):$(id -g) -v $PWD:/app -v gocache:/.cache -v gocache-${VOLTHA_TOOLS_VERSION}:/go/pkg voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-golang go <args>docker run --rm --user $(id -u):$(id -g) -v $PWD:/app -v gocache:/.cache -v gocache-${VOLTHA_TOOLS_VERSION}:/go/pkg voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-golangci-lint golangci-lint <args>docker run --rm --user $(id -u):$(id -g) -v $PWD:/app voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-protoc protoc <args>docker run --rm --user $(id -u):$(id -g) -v $PWD:/app voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-hadolint hadolint <args>Details:
--user is specified so that generated files have sane ownership and permissions.-v bind-mounts the local folder into the container.-v is also used by golang containers to bind-mount volumes for caches.make build to build containersmake lint to lint the Dockerfilesmake docker-push to push built containers to a registry