Closed vdice closed 4 years ago
@silvin-lubecki my attempts at testing on my fork have been thwarted by failures in the initial build
job, as in https://circleci.com/gh/vdice/cnab-to-oci/4. I'm also unable to run make all-ci
locally successfully 😅 ... edit: oh, need to update import paths, etc., as is done in https://github.com/cnabio/cnab-to-oci/pull/95
@silvin-lubecki this should be ready to re-test once some of the dependent PRs are merged (https://github.com/cnabio/cnab-to-oci/pull/95, https://github.com/cnabio/cnab-to-oci/pull/97)... let's check back in when ready and I can rebase, etc.
😱 I think it's working! Note the new main
CircleCI GH Check and link. We should be good to now remove the old status webhook (ci/circleci: build
) from https://github.com/cnabio/cnab-to-oci/settings/hooks. <-- I'll defer to @radu-matei or @silvin-lubecki to do so.
Turns out it appears that enabling workflows are a prereq for GH checks, hence the addition in this PR:
As for testing the new release
job... I'll need pointers from those more familiar w/ CircleCI on how to test before an actual tag push. Or, we just test it live on the next tag push and adjust if need be 😅 .
The configuration looks good according to https://circleci.com/blog/publishing-to-github-releases-via-circleci/#plain-circleci-2.0-example
@vdice I removed the old check and added the main
one as required
. Thank you so much for investigating this 👍
Oh crap I should have squashed before merging 🤦♂
Oops! My fault for not condensing commits beforehand 😅 .
Adding in Draft as I'm a circleci newbie! Cobbled together after quick looks at docs/examples... Perhaps @silvin-lubecki can lend a hand in review/testing/etc. ?
TODO:
GITHUB_TOKEN
env var to the circleci project config that therelease
job can use, with the value of a valid github token for creating releases on this repo.Contributes towards https://github.com/cnabio/cnab-to-oci/issues/90