Skip to content

Commit

Permalink
Merge branch 'feat/bookworm_32_64' into feat/bullseye_64_20240304
Browse files Browse the repository at this point in the history
  • Loading branch information
previ committed Apr 6, 2024
2 parents cd40200 + d3f04c7 commit 02b15af
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_backend.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
mkdir -p schemathesis
python3 -m venv schemathesis
. schemathesis/bin/activate
pip install schemathesis==3.24.3
pip install schemathesis==3.24.3
st run --endpoint 'activities' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
#st run --endpoint 'media' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
st run --endpoint 'control/speak' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
Expand Down
27 changes: 15 additions & 12 deletions coderbot/v1.yml
Expand Up @@ -170,9 +170,10 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'

tags:
- Program management
responses:
Expand All @@ -187,9 +188,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand All @@ -206,9 +207,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
requestBody:
description: Program object
required: true
Expand All @@ -234,9 +235,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
requestBody:
description: Program object
required: true
Expand All @@ -260,9 +261,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand All @@ -279,9 +280,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand Down Expand Up @@ -322,9 +323,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
- name: default
in: query
schema:
Expand All @@ -344,9 +345,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
requestBody:
description: Update Activity
required: true
Expand All @@ -370,9 +371,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
responses:
200:
description: "ok"
Expand Down Expand Up @@ -413,9 +414,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
tags:
- Music extensions
responses:
Expand Down Expand Up @@ -617,9 +618,9 @@ paths:
required: true
schema:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
tags:
- CNN Models
responses:
Expand All @@ -634,6 +635,8 @@ paths:
required: true
schema:
type: string
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
tags:
- CNN Models
Expand Down Expand Up @@ -722,9 +725,9 @@ components:
properties:
name:
type: string
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
minLength: 1
maxLength: 128
pattern: '^[a-zA-ZA-zÀ-ú0-9-_ ]+$'
code:
type: string
minLength: 1
Expand Down
18 changes: 9 additions & 9 deletions docker/Dockerfile
@@ -1,4 +1,4 @@
FROM coderbot/raspberrypi3:bullseye-20240227
FROM balenalib/raspberrypi3:bookworm-20240227

ENV QEMU_CPU=max
ENV DEBIAN_FRONTEND=noninteractive
Expand All @@ -9,7 +9,7 @@ RUN echo "deb http://archive.raspberrypi.org/debian/ bullseye main" > /etc/apt/s
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 82B129927FA3303E

RUN install_packages \
libraspberrypi0 \
build-essential \
procps \
sudo \
wget \
Expand All @@ -21,19 +21,19 @@ RUN install_packages \
python3-pip \
python3-dev \
libopenjp2-7-dev \
libtiff5 \
libtiff5-dev \
libatlas-base-dev \
libhdf5-dev \
alsa-utils \
espeak \
python3-picamera2
RUN install_packages \
libharfbuzz-bin \
libwebp6 \
libilmbase25 \
webp \
libilmbase-dev \
libgstreamer1.0-0 \
libavcodec-extra58 \
libavformat58
libavcodec-extra59 \
libavformat59
RUN install_packages \
libopencv-dev \
zbar-tools \
Expand All @@ -52,8 +52,8 @@ RUN install_packages \

ENV READTHEDOCS=True
ADD requirements.txt /tmp/.
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r /tmp/requirements.txt
RUN pip install --break-system-packages --upgrade pip && \
pip install --no-cache-dir --break-system-packages -r /tmp/requirements.txt

RUN mkdir -p /coderbot && \
mkdir -p /coderbot/data && \
Expand Down
17 changes: 8 additions & 9 deletions docker/Dockerfile.arm64
@@ -1,4 +1,4 @@
FROM coderbot/raspberrypi3-64:bullseye-20240304
FROM balenalib/raspberrypi3-64:bookworm-20240401

ENV QEMU_CPU=max
ENV DEBIAN_FRONTEND=noninteractive
Expand All @@ -10,7 +10,6 @@ RUN echo "deb http://archive.raspberrypi.org/debian/ bullseye main" > /etc/apt/s

RUN install_packages \
build-essential \
libraspberrypi0 \
procps \
sudo \
wget \
Expand All @@ -22,19 +21,19 @@ RUN install_packages \
python3-pip \
python3-dev \
libopenjp2-7-dev \
libtiff5 \
libtiff5-dev \
libatlas-base-dev \
libhdf5-dev \
alsa-utils \
espeak \
python3-picamera2
RUN install_packages \
libharfbuzz-bin \
libwebp6 \
libilmbase25 \
webp \
libilmbase-dev \
libgstreamer1.0-0 \
libavcodec-extra58 \
libavformat58
libavcodec-extra59 \
libavformat59
RUN install_packages \
libopencv-dev \
zbar-tools \
Expand All @@ -53,8 +52,8 @@ RUN install_packages \

ENV READTHEDOCS=True
ADD requirements.txt /tmp/.
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r /tmp/requirements.txt
RUN pip install --break-system-packages --upgrade pip && \
pip install --no-cache-dir --break-system-packages -r /tmp/requirements.txt

RUN mkdir -p /coderbot && \
mkdir -p /coderbot/data && \
Expand Down

0 comments on commit 02b15af

Please sign in to comment.