Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .containerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Ignore everything
*

# Expect
!poetry.lock
!poetry.toml
!pyproject.toml
15 changes: 15 additions & 0 deletions .devcontainer/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM docker.io/python:3.10-slim

RUN apt-get update && apt-get install -y --no-install-recommends \
git \
wget \
unzip \
make

WORKDIR /app

COPY poetry.lock poetry.toml pyproject.toml .
RUN pip install --no-cache-dir poetry && \
poetry config virtualenvs.create false && \
poetry install --no-root && \
rm -rf ~/.cache
7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "RFQuack",
"build": {
"dockerfile": "Containerfile",
"context": ".."
}
}
56 changes: 0 additions & 56 deletions .dockerignore

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install deps
run: |
/bin/sh docker/deps/python/packages.sh
pip install --no-cache-dir poetry
poetry config virtualenvs.create false
poetry install --no-root
- name: Run PlatformIO
run: make clean build
run: pio run
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

105 changes: 0 additions & 105 deletions Makefile

This file was deleted.

4 changes: 0 additions & 4 deletions docker/deps/python/packages.sh

This file was deleted.

11 changes: 0 additions & 11 deletions docker/deps/ubuntu-latest/packages.sh

This file was deleted.

2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ default_envs = featheresp32

[env]
lib_deps =
nanopb/Nanopb@0.4.6
nanopb/Nanopb@0.4.9
vshymanskyy/TinyGSM@~0.6.0
256dpi/MQTT@2.4.7
SMFSW/Queue@1.6
Expand Down
Loading