mirror of
https://github.com/CopterExpress/clover.git
synced 2026-06-01 15:39:32 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e31d552c78 | ||
|
|
fe0a98e11c | ||
|
|
4b2147185f | ||
|
|
44da0e3e9f | ||
|
|
bdcfb7a734 |
6
.github/workflows/build-image.yaml
vendored
6
.github/workflows/build-image.yaml
vendored
@@ -27,3 +27,9 @@ jobs:
|
|||||||
prerelease: true
|
prerelease: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Upload image to artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: image
|
||||||
|
path: images/clover_*.zip
|
||||||
|
retention-days: 1
|
||||||
|
|||||||
@@ -125,8 +125,6 @@ cd /home/pi/catkin_ws/src/clover
|
|||||||
builder/assets/install_gitbook.sh
|
builder/assets/install_gitbook.sh
|
||||||
gitbook install
|
gitbook install
|
||||||
gitbook build
|
gitbook build
|
||||||
# replace assets copy to assets symlink to save space
|
|
||||||
rm -rf _book/assets && ln -s ../docs/assets _book/assets
|
|
||||||
touch node_modules/CATKIN_IGNORE docs/CATKIN_IGNORE _book/CATKIN_IGNORE clover/www/CATKIN_IGNORE apps/CATKIN_IGNORE # ignore documentation files by catkin
|
touch node_modules/CATKIN_IGNORE docs/CATKIN_IGNORE _book/CATKIN_IGNORE clover/www/CATKIN_IGNORE apps/CATKIN_IGNORE # ignore documentation files by catkin
|
||||||
|
|
||||||
echo_stamp "Installing additional ROS packages"
|
echo_stamp "Installing additional ROS packages"
|
||||||
@@ -182,11 +180,14 @@ source /opt/ros/${ROS_DISTRO}/setup.bash
|
|||||||
source /home/pi/catkin_ws/devel/setup.bash
|
source /home/pi/catkin_ws/devel/setup.bash
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
echo "List of all downloaded deb-files"
|
||||||
|
ls /var/cache/apt/archives
|
||||||
|
|
||||||
#echo_stamp "Removing local apt mirror"
|
#echo_stamp "Removing local apt mirror"
|
||||||
# Restore original sources.list
|
# Restore original sources.list
|
||||||
#mv /var/sources.list.bak /etc/apt/sources.list
|
#mv /var/sources.list.bak /etc/apt/sources.list
|
||||||
# Clean apt cache
|
# Clean apt cache
|
||||||
apt-get clean -qq > /dev/null
|
#apt-get clean -qq > /dev/null
|
||||||
# Remove local mirror repository key
|
# Remove local mirror repository key
|
||||||
#apt-key del COEX-MIRROR
|
#apt-key del COEX-MIRROR
|
||||||
|
|
||||||
|
|||||||
@@ -169,9 +169,6 @@ echo_stamp "Installing pyzbar"
|
|||||||
my_travis_retry pip install pyzbar
|
my_travis_retry pip install pyzbar
|
||||||
my_travis_retry pip3 install pyzbar
|
my_travis_retry pip3 install pyzbar
|
||||||
|
|
||||||
echo_stamp "Installing rtui"
|
|
||||||
my_travis_retry pip3 install rtui-app
|
|
||||||
|
|
||||||
echo_stamp "Add .vimrc"
|
echo_stamp "Add .vimrc"
|
||||||
cat << EOF > /home/pi/.vimrc
|
cat << EOF > /home/pi/.vimrc
|
||||||
set mouse-=a
|
set mouse-=a
|
||||||
|
|||||||
Reference in New Issue
Block a user