workflows

command
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package main is a tool to trigger Github actions workflows

Examples

Trigger an integration test workflow for a custom branch:

$ go run internal/ci/release/main.go tests.yaml batman
SUCCESS: the test.yaml workflow has been triggered for batman

Trigger a release testing workflow:

$ go run internal/ci/release/main.go release-testing.yaml <ref> <tag>
SUCCESS: the release-testing.yaml workflow has been triggered for <ref>

Tag in this case is the tag that you want the release-testing.yaml workflow to create and push to the remote upon success (e.g. `v0.8.3`).

Trigger a release workflow:

$ go run internal/ci/release/main.go release.yaml <ref>
SUCCESS: the release.yaml workflow has been triggered for <ref>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL