Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jan 15, 2025
1 parent 82765da commit 0d749d6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_img_de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
CONSTRAINTS: "https://github.com/OpenVoiceOS/ovos-releases/raw/refs/heads/main/constraints-alpha.txt"
MYCROFT_CONFIG_FILES: "mycroft.conf,mycroft_de.conf"
with:
base-image-url: https://github.com/TigreGotico/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2024-12-19/raspOVOS-bookworm-arm64-lite.img.xz
base-image-url: https://github.com/OpenVoiceOS/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2025-01-15/raspOVOS-bookworm-arm64-lite.img.xz
image-path: raspOVOS-german-bookworm-arm64-lite.img
compress-with-xz: true
shrink: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_img_eu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
CONSTRAINTS: "https://github.com/OpenVoiceOS/ovos-releases/raw/refs/heads/main/constraints-alpha.txt"
MYCROFT_CONFIG_FILES: "mycroft.conf,mycroft_eu.conf"
with:
base-image-url: https://github.com/TigreGotico/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2024-12-19/raspOVOS-bookworm-arm64-lite.img.xz
base-image-url: https://github.com/OpenVoiceOS/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2025-01-15/raspOVOS-bookworm-arm64-lite.img.xz
image-path: raspOVOS-basque-bookworm-arm64-lite.img
compress-with-xz: true
shrink: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_img_gl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
CONSTRAINTS: "https://github.com/OpenVoiceOS/ovos-releases/raw/refs/heads/main/constraints-alpha.txt"
MYCROFT_CONFIG_FILES: "mycroft.conf,mycroft_gl.conf"
with:
base-image-url: https://github.com/TigreGotico/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2024-12-19/raspOVOS-bookworm-arm64-lite.img.xz
base-image-url: https://github.com/OpenVoiceOS/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2025-01-15/raspOVOS-bookworm-arm64-lite.img.xz
image-path: raspOVOS-galician-bookworm-arm64-lite.img
compress-with-xz: true
shrink: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_img_nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
CONSTRAINTS: "https://github.com/OpenVoiceOS/ovos-releases/raw/refs/heads/main/constraints-alpha.txt"
MYCROFT_CONFIG_FILES: "mycroft.conf,mycroft_nl.conf"
with:
base-image-url: https://github.com/TigreGotico/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2024-12-19/raspOVOS-bookworm-arm64-lite.img.xz
base-image-url: https://github.com/OpenVoiceOS/raspOVOS/releases/download/raspOVOS-bookworm-arm64-lite-2025-01-15/raspOVOS-bookworm-arm64-lite.img.xz
image-path: raspOVOS-dutch-bookworm-arm64-lite.img
compress-with-xz: true
shrink: true
Expand Down
7 changes: 7 additions & 0 deletions build_raspOVOS_eu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ apt-get install -y cmake
echo "Setting up default wifi country..."
/usr/bin/raspi-config nonint do_wifi_country ES

echo "Updating splashscreen..."
cp -v /mounted-github-repo/services/splashscreen_ca.png /opt/ovos/splashscreen.png

echo "Caching pre-trained padatious intents..."
mkdir -p /home/$USER/.local/share/mycroft/intent_cache
cp -rv /mounted-github-repo/intent_cache/eu-ES /home/$USER/.local/share/mycroft/intent_cache/

echo "Installing AhoTTS"
uv pip install --no-progress ovos-tts-plugin-ahotts
git clone https://github.com/aholab/AhoTTS /tmp/AhoTTS
Expand Down
3 changes: 3 additions & 0 deletions build_raspOVOS_gl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ source /home/$USER/.venvs/ovos/bin/activate
echo "Setting up default wifi country..."
/usr/bin/raspi-config nonint do_wifi_country ES

echo "Updating splashscreen..."
cp -v /mounted-github-repo/services/splashscreen_ca.png /opt/ovos/splashscreen.png

echo "Caching pre-trained padatious intents..."
mkdir -p /home/$USER/.local/share/mycroft/intent_cache
cp -rv /mounted-github-repo/intent_cache/gl-ES /home/$USER/.local/share/mycroft/intent_cache/
Expand Down

0 comments on commit 0d749d6

Please sign in to comment.