The readme says:
Copy the .drone.star file and .drone directory from this repository to the top level of your repository.
So what will happen is that e.g. linux_cxx will Pull down Boost.CI:
|
"BOOST_CI_ORG=boostorg BOOST_CI_BRANCH=master && curl -s -S --retry 10 -L -o $BOOST_CI_BRANCH.tar.gz https://github.com/$BOOST_CI_ORG/boost-ci/archive/$BOOST_CI_BRANCH.tar.gz && tar -xvf $BOOST_CI_BRANCH.tar.gz && mv boost-ci-$BOOST_CI_BRANCH .drone/boost-ci && rm $BOOST_CI_BRANCH.tar.gz", |
And the current example drone file will do that again:
|
git clone https://github.com/boostorg/boost-ci.git boost-ci-cloned --depth 1 |
So this duplicates work wasting resources.
Furthermore the Drone config is much less readable than e.g. the Github config
@sdarwin Could you work on the first part, i.e. that it downloads Boost.CI at most once and only if not running on Boost.CI? I don't understand why we would need .drone/boost-ci and ci when having the latter is enough (see e.g. Github actions)
I started work on an improved drone config in a branch
The readme says:
So what will happen is that e.g.
linux_cxxwill Pull down Boost.CI:boost-ci/ci/drone/functions.star
Line 61 in 4ed2aa3
And the current example drone file will do that again:
boost-ci/.drone/drone.sh
Line 21 in 4ed2aa3
So this duplicates work wasting resources.
Furthermore the Drone config is much less readable than e.g. the Github config
@sdarwin Could you work on the first part, i.e. that it downloads Boost.CI at most once and only if not running on Boost.CI? I don't understand why we would need
.drone/boost-ciandciwhen having the latter is enough (see e.g. Github actions)I started work on an improved drone config in a branch