Add ability to rsync artifacts to a remote machine

Use the CockpitRsyncWebpack plugin to optionally rsync build code to a
remote machine, the destination is determined by looking at the
package.json's name field.
This commit is contained in:
Jelle van der Waa 2022-01-04 13:20:03 +01:00 committed by Martin Pitt
parent ba3913caa0
commit 9662fb2ffc
3 changed files with 13 additions and 1 deletions

View file

@ -158,7 +158,7 @@ test/common:
# checkout Cockpit's PF/React/build library; again this has no API stability guarantee, so check out a stable tag
$(LIB_TEST):
flock Makefile sh -ec '\
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 253; \
git fetch --depth=1 https://github.com/cockpit-project/cockpit.git e224a0296cd25a448d70810a4c114bac574b82dd; \
git checkout --force FETCH_HEAD -- pkg/lib; \
git reset -- pkg/lib'
mv pkg/lib src/ && rmdir -p pkg