Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

workflow: Upload release assets #719

Merged
merged 2 commits into from
Nov 4, 2020

Conversation

darkowlzz
Copy link
Contributor

@darkowlzz darkowlzz commented Oct 24, 2020

Adds a workflow for automating the ignite and ignited binary releases.
This builds the binaries with make release at a given tag and uploads
them to a given tagged release. The release make target also builds the
sandbox image and publishes it automatically with manifest list.

This is a manual workflow, to be run after a release tag is created. Since
the existing release tool creates a temporary tag and removed it, this workflow
is intended to be run manually after running the release tools, once the final
tag is created. The only input is the release tag to checkout and update with
the release assets.

It uses https://github.com/svenstaro/upload-release-action for uploading the
assets, instead of the official github action https://github.com/actions/upload-release-asset
due to the limitations in uploading multiple files and lack of maintenance.

NOTE: Running make release fails in github actions environment due to
running docker run with -it option:

the input device is not a TTY

For this workflow to work, docker should be run without that option. This is
not change in this PR yet.

Tested this on a fork https://github.com/darkowlzz/ignite/runs/1302989230?check_suite_focus=true
without docker run in interactive mode. The binaries were automatically posted
https://github.com/darkowlzz/ignite/releases/tag/v0.98.0 .

@darkowlzz darkowlzz added the area/releasing Issues related to the release machinery label Oct 24, 2020
darkowlzz and others added 2 commits November 4, 2020 13:13
Adds a workflow for automating the ignite and ignited binary releases.
This builds the binaries with `make release` at a given tag and uploads
them to a given tagged release. The release make target also builds the
sandbox image and publishes it automatically with manifest list.
@stealthybox stealthybox merged commit fb380e1 into weaveworks:master Nov 4, 2020
@darkowlzz darkowlzz deleted the release-assets-workflow branch November 4, 2020 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/releasing Issues related to the release machinery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants