Skip to content

Commit

Permalink
Nit, remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
torchiaf committed Feb 2, 2025
1 parent 95e248b commit 447ebaf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
kubeconfig.yaml
./tmp
./temp*
./temp/*
/temp*
/temp/*
myenv
6 changes: 5 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Modules, Devices, Circuit -> should be created by Crd POST, not helm install
- We could also use Fleet
- Implement OpenAPI definitions
- Golang process on master node to call the rabbitMQ endpoints, fetch data and update CRDS
- Create Rancher extensions to handle sensors CRDs
Expand All @@ -17,4 +19,6 @@
https://medium.com/avenue-tech/dependency-injection-in-go-35293ef7b6
Google Wire https://github.com/google/wire?tab=readme-ov-file

- Go Plugins to define Circuit workloads
- Go Plugins to define Circuit workloads
- Circuit crd should have play, stop, pause fields
- Circuit crd should have a base64 to store code-source
3 changes: 0 additions & 3 deletions modules/raspberrypi5/devices/dht11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ RUN pi-venv/bin/pip3 install --upgrade rpi-lgpio
RUN pi-venv/bin/pip3 install adafruit-circuitpython-dht
RUN apt-get install libgpiod2

# RabbitMQ
RUN pi-venv/bin/python -m pip install pika --upgrade

# Build init.py
RUN pi-venv/bin/pyinstaller --onefile --target-architecture arm64 --add-data=pi-venv/lib64/python3.11/site-packages/adafruit_blinka:adafruit_blinka/ -n dht11 /app/main.py
2 changes: 0 additions & 2 deletions modules/raspberrypi5/devices/dht11/app/config.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import os
import builtins
import yaml
from pathlib import Path
import pika
from models import Module

# Redefine print to show the output when running in containers
Expand Down

0 comments on commit 447ebaf

Please sign in to comment.