Skip to content

Commit 447ebaf

Browse files
committed
Nit, remove unused dependencies
1 parent 95e248b commit 447ebaf

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
kubeconfig.yaml
22
./tmp
3-
./temp*
4-
./temp/*
3+
/temp*
4+
/temp/*
5+
myenv

TODO.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Modules, Devices, Circuit -> should be created by Crd POST, not helm install
2+
- We could also use Fleet
13
- Implement OpenAPI definitions
24
- Golang process on master node to call the rabbitMQ endpoints, fetch data and update CRDS
35
- Create Rancher extensions to handle sensors CRDs
@@ -17,4 +19,6 @@
1719
https://medium.com/avenue-tech/dependency-injection-in-go-35293ef7b6
1820
Google Wire https://github.com/google/wire?tab=readme-ov-file
1921

20-
- Go Plugins to define Circuit workloads
22+
- Go Plugins to define Circuit workloads
23+
- Circuit crd should have play, stop, pause fields
24+
- Circuit crd should have a base64 to store code-source

modules/raspberrypi5/devices/dht11/Dockerfile

-3
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,5 @@ RUN pi-venv/bin/pip3 install --upgrade rpi-lgpio
2626
RUN pi-venv/bin/pip3 install adafruit-circuitpython-dht
2727
RUN apt-get install libgpiod2
2828

29-
# RabbitMQ
30-
RUN pi-venv/bin/python -m pip install pika --upgrade
31-
3229
# Build init.py
3330
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

modules/raspberrypi5/devices/dht11/app/config.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import os
21
import builtins
32
import yaml
43
from pathlib import Path
5-
import pika
64
from models import Module
75

86
# Redefine print to show the output when running in containers

0 commit comments

Comments
 (0)