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

Move publishing of Go client to GH Actions #715

Merged
merged 5 commits into from
Mar 5, 2021

Conversation

michalinacienciala
Copy link
Contributor

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.

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.
Comment on lines 47 to 48
REVISION=${{ github.sha }}
# VERSION= ? TODO: Configure version, sample: 1.7.6
Copy link
Member

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.

Copy link
Contributor Author

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.
@michalinacienciala
Copy link
Contributor Author

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).
After the change failing tests still will cause the job to be reported as failed.
The workflow that was run on the code without the publish action can be seen here.

@nkuba nkuba enabled auto-merge March 5, 2021 10:31
@nkuba nkuba merged commit 0f90c50 into master Mar 5, 2021
@nkuba nkuba deleted the rfc-18/ropsten/move-publish-go-client branch March 5, 2021 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants