Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work with the latest CF / RecSync #15

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
230c285
Update linter.yml
jeonghanlee Jul 6, 2020
25220e8
Update .dockerfilelintrc
jeonghanlee Jul 6, 2020
b5f9247
Delete .dockerfilelintrc
jeonghanlee Jul 6, 2020
0e2aea1
Update linter.yml
jeonghanlee Jul 6, 2020
3db7fc8
Update linter.yml
jeonghanlee Jul 6, 2020
43c248e
Merge branch 'ChannelFinder:master' into master
jeonghanlee Jun 24, 2021
04f90fb
switch to alscontrols, update it to the latest one
jeonghanlee Jun 25, 2021
0f009d7
rename it
jeonghanlee Jun 25, 2021
b18d624
switch to 18.04 as runner
jeonghanlee Jun 25, 2021
505e154
fixed typo
jeonghanlee Jun 25, 2021
7b9fbc7
use alscontrols
jeonghanlee Jun 25, 2021
4aaae8d
Merge branch 'ChannelFinder:master' into master
jeonghanlee Sep 18, 2022
0e0f2eb
update all to latest strucutre
jeonghanlee Sep 19, 2022
c960cae
test debian 11 github action
jeonghanlee Sep 19, 2022
3d805ff
debian11 github
jeonghanlee Sep 19, 2022
ce8fbc9
add make for debian11 github action
jeonghanlee Sep 19, 2022
60c6521
add make for debian11 github action
jeonghanlee Sep 19, 2022
a28a1ce
fixed the make exist, and update ubuntu action
jeonghanlee Sep 19, 2022
f2a2ceb
update ubuntu action
jeonghanlee Sep 19, 2022
b2026a4
add rocky8 action
jeonghanlee Sep 19, 2022
ba2d574
Update README.md
jeonghanlee Sep 19, 2022
811e460
update readme
jeonghanlee Sep 22, 2022
502297c
Merge branch 'master' of github.com:jeonghanlee/RecSync-env
jeonghanlee Sep 22, 2022
6cd995e
Initial local running on macOS
jeonghanlee Sep 23, 2022
9342597
active debian11 github
jeonghanlee Sep 23, 2022
52e3eaf
fix the shellcheck in recceiver.post shell scripts
jeonghanlee Sep 23, 2022
155e104
define clearly rs_install and src_install
jeonghanlee Sep 23, 2022
35e1ce6
add badges to README
jeonghanlee Sep 23, 2022
d10db26
Update README.md
jeonghanlee Sep 23, 2022
aec5799
update Dockerfile to use the latest alpine
jeonghanlee Sep 23, 2022
e671e14
Merge branch 'master' of github.com:jeonghanlee/RecSync-env
jeonghanlee Sep 23, 2022
abc691d
fix Dockerfile
jeonghanlee Sep 23, 2022
d408175
remove run entrypoint in Dockerfile
jeonghanlee Sep 23, 2022
2b1e355
add docker hub url into README
jeonghanlee Sep 23, 2022
18c710c
Debian 11, local and systemd
jeonghanlee Sep 25, 2022
39f0bbf
add local.status, and update readme
jeonghanlee Sep 25, 2022
de9a135
Merge branch 'master' of github.com:jeonghanlee/RecSync-env
jeonghanlee Sep 25, 2022
ac9fe60
add dep to local.run
jeonghanlee Sep 25, 2022
5d5cc1c
add local rules
jeonghanlee Sep 28, 2022
a322976
docker v2.0.0
jeonghanlee Sep 28, 2022
d8fed1e
docker image with latest one
jeonghanlee Sep 28, 2022
056e422
remove "
jeonghanlee Oct 12, 2022
ec502de
Allow PyCF git URL be different than CF github
tynanford Oct 17, 2022
d0c1bb6
Merge pull request #3 from tynanford/master
jeonghanlee Oct 27, 2022
51c3f3b
Add ability to run systemd service as user
tynanford Sep 14, 2023
1989697
Merge pull request #4 from tynanford/master
jeonghanlee Sep 19, 2023
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
3 changes: 0 additions & 3 deletions .github/linters/.dockerfilelintrc

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/Installation.yml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/debian11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Debian 11

on:
push:
branches: [ master ]
paths-ignores:
- '*.md'
- 'docker/**'
- '.github/workflows/docker.yml'
- '.github/workflows/ubuntu.yml'
- '.github/workflows/rocky8.yml'
- '.github/workflows/linter.yml'

pull_request:
branches: [ master ]

jobs:
Debian11:

runs-on: ubuntu-latest
container: debian:bullseye

steps:
- uses: actions/checkout@v3
- name: Install required packages
run: |
apt update -y
apt install -y git make sudo tree
apt install -y python3-twisted python3-requests python3-simplejson python3-urllib3
update-alternatives --install /usr/bin/python python /usr/bin/python3 1
update-alternatives --install /usr/bin/twistd twistd /usr/bin/twistd3 1
- name: Check PYTHON environment
run: |
which python
python --version
which twistd
twistd --version
- name: Configuration
run: |
make init
make vars
- name: Build
run: |
make src_install
- name: Environment Check
run: make exist

21 changes: 0 additions & 21 deletions .github/workflows/docker-image.yml

This file was deleted.

68 changes: 68 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# 0. change name
name: Docker
# change path name
on:
push:
branches: [ master ]
paths:
- 'docker/**'
- '.github/workflows/docker.yml'
pull_request:
branches: [ master ]
#
jobs:
# change job name
recsync:
runs-on: ubuntu-latest
env:
# change the following 4 variables
DOCKER_FILE: docker/Dockerfile
DOCKER_ACCOUNT: alscontrols
DOCKER_REPO: recsync
DOCKER_TAG: latest

steps:
-
name: checkout
uses: actions/checkout@v2
-
name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
${{ env.DOCKER_ACCOUNT }}/${{ env.DOCKER_REPO }}
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
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
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ${{ github.workspace }}/${{ env.DOCKER_FILE }}
push: ${{ github.event_name != 'pull_request' }}
#tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.DOCKER_ACCOUNT }}/${{ env.DOCKER_REPO }}:${{ env.DOCKER_TAG }}
labels: ${{ steps.meta.outputs.labels }}

10 changes: 5 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Lint Code Base
uses: docker://github/super-linter:latest
uses: docker://github/super-linter:v4.9.5
env:
# VALIDATE_ALL_CODEBASE: true
VALIDATE_MD: true
VALIDATE_BASH: true
VALIDATE_MD: true
VALIDATE_BASH: true

52 changes: 52 additions & 0 deletions .github/workflows/rocky8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: Rocky8

on:
push:
branches: [ master ]
paths-ignores:
- '*.md'
- 'examples/*.bash'
- 'docker/**'
- '.github/workflows/ubuntu.yml'
- '.github/workflows/docker.yml'
- '.github/workflows/ubuntu.yml'
- '.github/workflows/linter.yml'

pull_request:
branches: [ master ]

jobs:
Rocky8:

runs-on: ubuntu-latest
container: rockylinux/rockylinux:8

steps:
- uses: actions/checkout@v3
- name: Install required packages
run: |
dnf -y install dnf-plugins-core
dnf update -y
dnf config-manager --set-enabled powertools
dnf update -y
dnf -y install "epel-release"
dnf update -y
dnf install -y git make sudo tree which
dnf install -y python3-twisted python3-requests python3-simplejson python3-urllib3
alternatives --set python /usr/bin/python3
- name: Check PYTHON environment
run: |
which python
python --version
which twistd
twistd --version
- name: Configuration
run: |
make init
make vars
- name: Build
run: |
make src_install
- name: Environment Check
run: make exist
47 changes: 47 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Ubuntu latest

on:
push:
branches: [ master ]
paths-ignores:
- '*.md'
- 'docker/**'
- '.github/workflows/docker.yml'
- '.github/workflows/ubuntu.yml'
- '.github/workflows/rocky8.yml'
- '.github/workflows/linter.yml'

pull_request:
branches: [ master ]

jobs:
Ubuntu:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install required packages
run: |
sudo apt update -y
sudo apt install -y git make tree
sudo apt install -y python3-twisted python3-requests python3-simplejson python3-urllib3
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
sudo update-alternatives --install /usr/bin/twistd twistd /usr/bin/twistd3 1
- name: Check PYTHON environment
run: |
which python
python --version
which twistd
twistd --version
- name: Configuration
run: |
make init
make vars
- name: Build
run: |
sudo make install
- name: Environment Check
run: make exist

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ site-template/recsync.conf
/modules/RELEASE.*.local
/modules/Makefile.local
/*Top/configure/*.local
*.swp
.rs_local_pid
*.local
Loading
Loading