53c39ef9ac
- Document necessary repo secrets - Compress build artifacts directly to the arifacts folder - Log test commands as they are executed - Add comments Change-Id: I1cc150995d339e2e93bee4570d80263dae362bb9 |
||
---|---|---|
.. | ||
README.md | ||
build_and_test.yaml | ||
docker_hub_release.yaml | ||
draft_github_release.yaml | ||
npm_release.yaml | ||
publish_github_release.yaml | ||
update_docs.yaml |
README.md
GitHub Actions CI
Workflows
- On PR:
build_and_test.yaml
: builds and tests all combinations of OS & build settingsupdate_docs.yaml
: builds updated docs
- On release tag:
draft_github_release.yaml
: creates a draft release on GitHub, triggers commonbuild_and_test
workflowbuild_and_test.yaml
builds and tests all combinations of OS & build settings, attaches official binaries to the GitHub draft release, triggerspublish_github_release
workflowpublish_github_release.yaml
: finalizes the draft and published the GitHub releasedocker_hub_release.yaml
: builds a Docker image to match the final GitHub release and pushes it to Docker Hubnpm_release.yaml
: builds an NPM package to match the final GitHub release and pushes it to NPMupdate_docs.yaml
: builds updated docs, pushes them to the gh-pages branch
Required Repo Secrets
DOCKERHUB_CI_USERNAME
: The username of the Docker Hub CI accountDOCKERHUB_CI_TOKEN
: An access token for Docker Hub- To generate, visit https://hub.docker.com/settings/security
NPM_CI_TOKEN
: An "Automation"-type access token for NPM for theshaka-bot
account- To generate, visit https://www.npmjs.com/settings/shaka-bot/tokens and select the "Automation" type
SHAKA_BOT_TOKEN
: A GitHub personal access token for theshaka-bot
account, withworkflow
scope- To generate, visit https://github.com/settings/tokens/new and select the
workflow
scope
- To generate, visit https://github.com/settings/tokens/new and select the