-
Notifications
You must be signed in to change notification settings - Fork 23
Move publishing of Go client to GH Actions #715
Conversation
As described in RFC-18, there is a need for a refactorization of Keep and tBTC release processes in order to reduce human involvment and make the processes faster and less error prone. A part of this task is migration from CircleCI jobs to GitHub Actions. This commit enhances the GitHub Action `client.yml` workflow with step that publishes built docker image to `keep-test` Google Container Registry.
…-publish-go-client
.github/workflows/client.yml
Outdated
REVISION=${{ github.sha }} | ||
# VERSION= ? TODO: Configure version, sample: 1.7.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, we don't need to configure REVISION
and VERSION
args for go-build-env
image. We need to move it to the Build and publish Docker Runtime Image
step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See 9fe8814
As mentioned by @nkuba in #715 (comment), we need `REVISION` and `VERSION` arguments to be configured not for the `go-build-env` image, but for the final image built in ` Build and publish Docker Runtime Image` step.
We are no longer using EnricoMi/publish-unit-test-result-action for publishing of tests results, due to a known bug in the action, causing wrong association of tests results with workflows (EnricoMi/publish-unit-test-result-action#12). Failing tests still will cause the job to be reported as failed.
Apart from doing changes related to publishing of client, I also got rid of the step that publishes the test results (in commit fc96d56). The step was sometimes causing wrong association between Test Results check and the workflows (due to a known bug: EnricoMi/publish-unit-test-result-action#12). |
As described in RFC-18, there is a need for a refactorization of Keep
and tBTC release processes in order to reduce human involvment and make
the processes faster and less error prone. A part of this task is
migration from CircleCI jobs to GitHub Actions. This commit enhances the
GitHub Action
client.yml
workflow with step that publishes builtdocker image to
keep-test
Google Container Registry.