This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a single action to generate and tag the manifest.
This cuts down on quota usage. Also apply filters before the manifest generation so we cut down on unnecessary work in PRs and return the magic status 78 in cases where the filter doesn't match so if we expand to multiple actions in the future things work correctly.
- Loading branch information
Showing
4 changed files
with
49 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
workflow "Build & Release Manifest" { | ||
on = "push" | ||
resolves = ["tag-master"] | ||
resolves = ["manifest-build-and-tag"] | ||
} | ||
|
||
action "build-manifest" { | ||
action "manifest-build-and-tag" { | ||
uses = "./tools/docker/github" | ||
runs = ["bash", "-c", "tools/ci/action_manifest_build.sh"] | ||
} | ||
|
||
action "tag-master" { | ||
needs = "build-manifest" | ||
uses = "./tools/docker/github" | ||
runs = ["python", "tools/ci/tag_master.py"] | ||
runs = ["python", "tools/ci/manifest_build.py"] | ||
secrets = ["GITHUB_TOKEN"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters