Adding a workflow that automatically publishes libxrpl to Artifactory and triggers a workflow in Clio's CI using repository_dispatch.
This flow will only run if the BuildInfo.cpp file was updated in a PR for the release branch. Typically this means a new version is proposed.
Publishing the library as soon as possible (i.e. not after merging it or tagging the version) gives us the ability to notify Clio's CI and trigger a full check against the new version of libxrpl. In the future we could automate a notification back from Clio to report whether the checks were successful or not.
This flow will start together with others (if conditions are met) but will not proceed with the upload until essential other checks are done and are either successful or skipped (not cancelled or failed). Currently the essential checks are all dependencies and test running on linux. Mac and Windows are not on the list. Main reason for that is Mac being flaky and we don't want to fail this step (at least not often).
Two secrets that need to be present in the repo (are already present):
CONAN_USERNAME
CONAN_TOKEN
And a new one that needs to be added in order to trigger a workflow on Clio's CI:
CLIO_NOTIFY_TOKEN
Please contact me to get the token for this secret.
High Level Overview of Change
Adding a workflow that automatically publishes
libxrpl
to Artifactory and triggers a workflow in Clio's CI usingrepository_dispatch
.This flow will only run if the
BuildInfo.cpp
file was updated in a PR for therelease
branch. Typically this means a new version is proposed.Publishing the library as soon as possible (i.e. not after merging it or tagging the version) gives us the ability to notify Clio's CI and trigger a full check against the new version of
libxrpl
. In the future we could automate a notification back from Clio to report whether the checks were successful or not.This flow will start together with others (if conditions are met) but will not proceed with the upload until essential other checks are done and are either successful or skipped (not cancelled or failed). Currently the essential checks are all
dependencies
andtest
running onlinux
. Mac and Windows are not on the list. Main reason for that is Mac being flaky and we don't want to fail this step (at least not often).Two secrets that need to be present in the repo (are already present):
And a new one that needs to be added in order to trigger a workflow on Clio's CI:
Please contact me to get the token for this secret.
Here is the flow in Clio CI that does the rest: https://github.com/XRPLF/clio/pull/1433
Context of Change
Recently there was an
rc
oflibxrpl
that did not allow consumers to link correctly. We should try and avoid this in the future.Type of Change
.gitignore
, formatting, dropping support for older tooling)API Impact
None.