Skip to content

Commit

Permalink
fix(init_repository): Missing things
Browse files Browse the repository at this point in the history
  • Loading branch information
YpNo committed Oct 14, 2024
1 parent 89b25e1 commit d666712
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Automatic Releases
on:
push:
tags:
- "v*.*.*"
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
linting:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Docker Image CI

on:
pull_request:
branches:
- main
types: [closed]
release:
types: [published]

jobs:
docker:
Expand All @@ -25,8 +23,6 @@ jobs:
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Set up QEMU
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/lint_and_tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Lint and Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
Expand All @@ -13,19 +11,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.12'
# cache: 'pip'

- name: Install requirements
run: |
python3 -m pip install -r requirements.txt
# - name: Venv in Github Path
# run: echo "$PWD/.venv/bin" >> $GITHUB_PATH

- name: Black
uses: microsoft/[email protected]
with:
Expand Down Expand Up @@ -66,16 +55,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.12'
# cache: pip

# - name: Install requirements
# run: |
# python3 -m pip install -r tests/requirements.txt

- name: Pytest
uses: microsoft/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
FROM jrottenberg/ffmpeg:4.3-ubuntu

# Install python 3.11
# Install python 3.12
RUN apt-get update
ARG DEBIAN_FRONTEND=noninteractive
ARG TZ=Etc/UTC
RUN apt-get -y install software-properties-common git
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
RUN apt-get -y install python3.11-full
RUN python3.11 -m ensurepip
RUN apt-get -y install python3.12-full
RUN python3.12 -m ensurepip

# Unbuffered logging
ENV PYTHONUNBUFFERED=TRUE

COPY idle.mp4 requirements.txt ./

RUN pip3.11 install -U --upgrade-strategy eager -r requirements.txt
RUN pip3.12 install -U --upgrade-strategy eager -r requirements.txt

COPY *.py ./

Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/YpNo/arlo-camera-streamer/python-actions.yml)
![Pipeline](https://github.com/YpNo/arlo-camera-streamer/actions/workflows/lint_and_tests.yml/badge.svg)
![CodeQL](https://github.com/YpNo/arlo-camera-streamer/actions/workflows/github-code-scanning/codeql/badge.svg)
![Docker Image CI](https://github.com/YpNo/arlo-camera-streamer/actions/workflows/docker-image.yml/badge.svg)
[![codecov](https://codecov.io/github/YpNo/arlo-camera-streamer/graph/badge.svg?token=1NMSHP7BLW)](https://codecov.io/github/YpNo/arlo-camera-streamer)

![Release](https://img.shields.io/v/release/ypno/arlo-camera-streamer/latest)
![License](https://img.shields.io/github/license/ypno/arlo-camera-streamer)


> [!IMPORTANT]
> This is a forked project from [arlo-streamer](https://github.com/kaffetorsk/arlo-streamer) project. Reason : Inactivity
Expand Down Expand Up @@ -55,7 +59,7 @@ python main.py
```
or
```
docker run -d --env-file .env kaffetorsk/arlo-streamer
docker run -d --env-file .env ypno/arlo-camera-streamer
```
### MQTT
#### Pictures
Expand Down
2 changes: 1 addition & 1 deletion examples/frigate/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
arlo-streamer:
image: kaffetorsk/arlo-streamer
image: ypno/arlo-caemra-streamer
restart: unless-stopped
env_file: .streamer-env
extra_hosts:
Expand Down

0 comments on commit d666712

Please sign in to comment.