Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
e289019
feat: Created install.sh
justinmerrell Feb 22, 2022
2ff5e96
refactor: Linting Bash
justinmerrell Feb 22, 2022
76df534
fix: installer quotes
justinmerrell Feb 22, 2022
07feee5
chore: fix script checker
justinmerrell Feb 22, 2022
d033df9
fix: script check
justinmerrell Feb 22, 2022
f482d80
chore: Added Action
justinmerrell Feb 23, 2022
685e8e1
fix: exit on error
justinmerrell Feb 23, 2022
13ef796
fix: error capture
justinmerrell Feb 23, 2022
abdf99a
fix: error
justinmerrell Feb 23, 2022
4921626
fix: installer
justinmerrell Feb 23, 2022
27c4642
chore: action
justinmerrell Feb 23, 2022
acc55cd
fix: json validation
justinmerrell Feb 23, 2022
f66e99b
test: INPUT_SCHEMA
justinmerrell Feb 23, 2022
0678cc8
fix: json validation
justinmerrell Feb 23, 2022
1027eb7
fix: json path
justinmerrell Feb 23, 2022
d840f26
fix: json
justinmerrell Feb 23, 2022
0f6ff44
fix: location
justinmerrell Feb 23, 2022
63b247e
test: docker run
justinmerrell Feb 23, 2022
a4018ce
test: action
justinmerrell Feb 23, 2022
091d02a
test: action
justinmerrell Feb 23, 2022
b8295b9
test: action
justinmerrell Feb 23, 2022
e564407
test: action
justinmerrell Feb 23, 2022
6ee13e1
test: action
justinmerrell Feb 23, 2022
e966f00
test: action
justinmerrell Feb 23, 2022
3d8f3e8
test: action
justinmerrell Feb 23, 2022
6be7ade
fix: action
justinmerrell Feb 23, 2022
00f710f
chore: added e2e
justinmerrell Feb 23, 2022
871971e
fix: ssh key
justinmerrell Feb 23, 2022
d814706
wip: e2e
justinmerrell Feb 23, 2022
1186f4f
wip: e2e
justinmerrell Feb 23, 2022
0d18d56
wip: e2e
justinmerrell Feb 23, 2022
fb767b0
wip: e2e
justinmerrell Feb 23, 2022
a8bae37
wip: e2e
justinmerrell Feb 23, 2022
981f3f5
wip: e2e
justinmerrell Feb 23, 2022
a913e5f
wip: e2e
justinmerrell Feb 23, 2022
676e491
wip: e2e
justinmerrell Feb 23, 2022
238cef7
wip: e2e
justinmerrell Feb 23, 2022
c846aee
chore(deps): bump actions/setup-python from 2 to 3
dependabot[bot] Mar 1, 2022
19df36b
chore(deps): bump actions/checkout from 2 to 3
dependabot[bot] Mar 2, 2022
3f360fd
wip: e2e
justinmerrell Mar 2, 2022
9b04692
Merge pull request #38 from RecursionSpace/dependabot/github_actions/…
justinmerrell Mar 2, 2022
92fefd2
Merge pull request #39 from RecursionSpace/dependabot/github_actions/…
justinmerrell Mar 2, 2022
3c682ee
chore(deps): bump github/codeql-action from 1 to 2
dependabot[bot] Apr 26, 2022
bbb0707
chore(deps): bump actions/setup-python from 3 to 4.1.0
dependabot[bot] Jul 12, 2022
e39a077
chore(deps): bump distributhor/workflow-webhook from 1 to 3
dependabot[bot] Oct 10, 2022
f81e6b9
chore(deps): bump fountainhead/action-wait-for-check from 1.0.0 to 1.1.0
dependabot[bot] Oct 14, 2022
d071561
chore(deps): bump webfactory/ssh-agent from 0.5.4 to 0.7.0
dependabot[bot] Oct 20, 2022
60799b8
Merge pull request #48 from RecursionSpace/dependabot/github_actions/…
justinmerrell Dec 5, 2022
8524aa7
Merge pull request #47 from RecursionSpace/dependabot/github_actions/…
justinmerrell Dec 5, 2022
11bce63
Merge pull request #43 from RecursionSpace/dependabot/github_actions/…
justinmerrell Dec 5, 2022
aaf7c1e
Merge pull request #45 from RecursionSpace/dependabot/github_actions/…
justinmerrell Dec 5, 2022
6035368
Merge pull request #46 from RecursionSpace/dependabot/github_actions/…
justinmerrell Dec 5, 2022
30a44f1
chore(deps): bump actions/setup-python from 4.1.0 to 4.3.1
dependabot[bot] Dec 9, 2022
cd7fba0
Merge pull request #52 from RecursionSpace/dependabot/github_actions/…
justinmerrell Dec 12, 2022
0e9351f
linting
justinmerrell Dec 12, 2022
708452e
linting
justinmerrell Dec 12, 2022
74a18ee
Updated Installer & Requirements
justinmerrell Dec 13, 2022
27e397e
refactor
justinmerrell Dec 13, 2022
29eb544
fix: actions
justinmerrell Dec 13, 2022
93b27db
fix: added community
justinmerrell Dec 13, 2022
6955418
fix: e2e
justinmerrell Dec 13, 2022
b646de4
actions
justinmerrell Dec 13, 2022
352f24c
Status Badges
justinmerrell Dec 13, 2022
9f7937d
added system docs
justinmerrell Dec 13, 2022
3f4b49b
fix: removed installer.py
justinmerrell Dec 13, 2022
28f24d2
fix: actions
justinmerrell Dec 13, 2022
a6bb78b
linted
justinmerrell Dec 13, 2022
be4ec80
Migrated README
justinmerrell Dec 13, 2022
e38a8bc
fix: installer
justinmerrell Dec 13, 2022
662e675
fix: removed extra requirement import
Dec 15, 2022
a0b4001
Update CD_dev-release.yml
Dec 16, 2022
c613ac3
Update dependabot.yml
Dec 16, 2022
efa4600
fix: dev url
justinmerrell Dec 16, 2022
e807872
fix: use version of head
justinmerrell Dec 16, 2022
bf9f1bd
fix: installer
justinmerrell Dec 17, 2022
7445fab
fix: installer
justinmerrell Dec 17, 2022
fa145ac
fix: installer
justinmerrell Dec 17, 2022
97eb578
Update installer.sh
justinmerrell Dec 17, 2022
8ff4315
installer tests
justinmerrell Dec 17, 2022
ab4c592
improved installer
justinmerrell Dec 17, 2022
1f906b4
Update installer.sh
justinmerrell Dec 17, 2022
c0bc8d4
fix: GPIO
justinmerrell Dec 17, 2022
b0f8de0
lint installer
justinmerrell Dec 17, 2022
03f2a53
Update installer.sh
justinmerrell Dec 17, 2022
90459fe
Update CI_Tests.yml
justinmerrell Dec 17, 2022
e293f1a
improved installer
justinmerrell Dec 17, 2022
bd6761a
switch dev branch
justinmerrell Dec 17, 2022
7097376
changed imports
justinmerrell Dec 17, 2022
f15c7fe
change public IP collection method
justinmerrell Dec 17, 2022
fb30d70
Update op_gpio.py
justinmerrell Dec 17, 2022
4000898
removed settings pi check
justinmerrell Dec 17, 2022
4510eed
fix tests
justinmerrell Dec 17, 2022
6392f11
switched system methods
justinmerrell Dec 17, 2022
de0c5c9
removed settings dep
justinmerrell Dec 17, 2022
66b358f
Update rec_api.py
justinmerrell Dec 17, 2022
fea3530
fix: rec_api
justinmerrell Dec 17, 2022
4e85627
updated function name
justinmerrell Dec 17, 2022
4295204
feat: using uuid
justinmerrell Dec 17, 2022
7e32fd8
switch to op_config
justinmerrell Dec 17, 2022
a8143c1
Update pod.py
justinmerrell Dec 17, 2022
8c07638
update old methods
justinmerrell Dec 17, 2022
66c79ba
Update installer.sh
justinmerrell Dec 17, 2022
704577b
Update pod.py
justinmerrell Dec 17, 2022
3955a91
replaced token usage
justinmerrell Dec 17, 2022
b0943b7
Update rec_mqtt.py
justinmerrell Dec 17, 2022
30d4f60
Corrected Service File
justinmerrell Dec 18, 2022
5bf73b8
chore(deps): bump actions/setup-python from 4.3.1 to 4.5.0
dependabot[bot] Jan 13, 2023
db0a5e3
Merge pull request #95 from RecursionSpace/dependabot/github_actions/…
justinmerrell Jan 13, 2023
6a850f2
feat: Added SSH Key Function
justinmerrell Jan 18, 2023
1849eff
fix: adding ssh key
justinmerrell Jan 18, 2023
3b81529
fix: updater
justinmerrell Jan 18, 2023
bb471ec
fix: tests
justinmerrell Jan 18, 2023
f7daa7e
fix: tests
justinmerrell Jan 18, 2023
3a8c43f
fix: skip test
justinmerrell Jan 18, 2023
a1f925b
fix: key path
justinmerrell Jan 18, 2023
262d27d
fix: ssh token
justinmerrell Jan 18, 2023
5d15eb9
fix: pod update url
justinmerrell Jan 19, 2023
03e58f9
feat: added system data dump
justinmerrell Jan 19, 2023
2248ea2
fix: circular import
justinmerrell Jan 19, 2023
64d5250
fix: circular import
justinmerrell Jan 19, 2023
886f1c8
fix: updater
justinmerrell Jan 19, 2023
7f9e265
fix: xbee config
justinmerrell Jan 19, 2023
64888c0
fix: linted
justinmerrell Jan 19, 2023
d2b36bf
fix system info log
justinmerrell Jan 19, 2023
5d47f8f
fix: ip info
justinmerrell Jan 19, 2023
b17736c
fix: spelling
justinmerrell Jan 19, 2023
682bf46
fix: update readme
justinmerrell Jan 23, 2023
b61227d
feat: systemd update
justinmerrell Jan 23, 2023
44cf23a
start the latest version of openpod
justinmerrell Jan 23, 2023
e8dd28e
fix: creating directories
justinmerrell Jan 23, 2023
4883185
fix: update flow
justinmerrell Jan 24, 2023
eeb948f
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
11e9352
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
112bfbe
Merge 11e9352db59fb5f3259ec0967dfba38d1211ad3f into master-ci
github-actions[bot] Jan 24, 2023
4ddd6ea
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
30a5250
Merge 4ddd6eabe71c51565ce1d09a5705b54514334312 into master-ci
github-actions[bot] Jan 24, 2023
d6d44a2
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
e181a83
Merge d6d44a2e2ff2482912601cdcde547cc4fe84f6da into master-ci
github-actions[bot] Jan 24, 2023
04aaeb6
Update rec_api.py
justinmerrell Jan 24, 2023
b8de855
Merge 04aaeb668c688cdde39538db96a8c64bcae4ee53 into master-ci
github-actions[bot] Jan 24, 2023
c80d510
fix updated and ci
justinmerrell Jan 24, 2023
d119226
Merge c80d5101453fa0d003dd8ae75449b634b93fca5c into master-ci
github-actions[bot] Jan 24, 2023
dcfa2aa
Sanitize dev-release
invalid-email-address Jan 24, 2023
925f492
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
c3ec1ba
Merge 925f49206b240528c150bbe8d29c46e5761b693e into master-ci
github-actions[bot] Jan 24, 2023
e6f70ea
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
2ae014b
Merge e6f70eafe8b7c14cb513a55ecdf1ee0761fcd656 into master-ci
github-actions[bot] Jan 24, 2023
0a5e1c0
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
3836fba
Merge 0a5e1c0cf92fc83b7df968852f927d18214ed6c1 into master-ci
github-actions[bot] Jan 24, 2023
68dd577
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
9129fc6
Merge 68dd577b9c3c329acff572a1c4342cfe7093dc02 into master-ci
github-actions[bot] Jan 24, 2023
7d51025
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
c635e40
Merge 7d51025edf67eb53bbf2dc9216347852cf1d2046 into master-ci
github-actions[bot] Jan 24, 2023
7fdebb4
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
92a09ce
Merge 7fdebb4a11b8c165e00fa05aace305cd7e99cdb6 into master-ci
github-actions[bot] Jan 24, 2023
048d31a
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
9989e0a
Merge 048d31a180e8f81d39faddbf4bf94039220a7bc5 into master-ci
github-actions[bot] Jan 24, 2023
10c45a5
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
da91dfa
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
ee89574
Merge da91dfac6500aff0e75b4932a8471b28e9d2dfd1 into master-ci
github-actions[bot] Jan 24, 2023
c86d314
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
c413ab8
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
3894507
Merge c413ab89bf04faad7962d37bb614b7c1bd8e547a into master-ci
github-actions[bot] Jan 24, 2023
9186c1d
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
3778814
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
c323f05
Merge 3778814ba7a91996fc669bb12a248ca5a188f17d into master-ci
github-actions[bot] Jan 24, 2023
052f56c
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
bf9388f
Sanitize dev-release
invalid-email-address Jan 24, 2023
05ddd34
Update updater.py
justinmerrell Jan 24, 2023
6a23b51
Merge 05ddd34e219cb58f8e7ff4b943399dcea7bed41a into master-ci
github-actions[bot] Jan 24, 2023
677e3e3
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
89ee33f
Delete boot.sh
justinmerrell Jan 24, 2023
0d7d7ea
Merge 89ee33f7265e7579d98ca8b52dd51a3132fd57f4 into master-ci
github-actions[bot] Jan 24, 2023
e3c4c45
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
c0cf5ca
Update updater.py
justinmerrell Jan 24, 2023
1433399
Merge c0cf5ca2b9b27a2571fd8859c59b39ee449d8eb7 into master-ci
github-actions[bot] Jan 24, 2023
4925ecb
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
474568f
Update updater.py
justinmerrell Jan 24, 2023
ad82962
Merge 474568f974c0c4440140a762300ed4c88f374434 into master-ci
github-actions[bot] Jan 24, 2023
e2333ff
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
639f5af
Update updater.py
justinmerrell Jan 24, 2023
4cb053f
Merge 639f5af511c9c4f51ec5d1f7f222f49b52f2af7e into master-ci
github-actions[bot] Jan 24, 2023
d4e0225
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
d5ce27c
Update installer.sh
justinmerrell Jan 24, 2023
0d15797
Merge d5ce27c3c53609cbb1b0296e565890b10218292c into master-ci
github-actions[bot] Jan 24, 2023
eaa86fd
Delete launcher.py
justinmerrell Jan 24, 2023
a316f6b
Merge eaa86fdcbd328a079ee3c8addc881fa5fe8f2bc7 into master-ci
github-actions[bot] Jan 24, 2023
924034c
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
fb1309c
Merge 924034c416a6960b9ce98e3148dcdd8696428a53 into master-ci
github-actions[bot] Jan 24, 2023
9388000
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
d503c18
Merge 93880009060939b9fd85a1f1249c4afc297acb5e into master-ci
github-actions[bot] Jan 24, 2023
1124d17
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
d298ae0
Merge 1124d17b9746c8080d2bc550c25f9ae10c9fd526 into master-ci
github-actions[bot] Jan 24, 2023
f7af8b3
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
ffcc6cf
Merge f7af8b3ff8c356ad4beb39c8131718cdb4cab7f3 into master-ci
github-actions[bot] Jan 24, 2023
b806291
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
c407f0b
Merge b80629189618a3d237da5386b46ad774d5a4022e into master-ci
github-actions[bot] Jan 24, 2023
92ce4aa
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
4a2c9ae
Merge 92ce4aaf3368016363806d7df463dc1feb74d591 into master-ci
github-actions[bot] Jan 24, 2023
a23e39d
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
87a903c
Merge a23e39d9abcf54e8ba55bbbd3c513306e78b56f5 into master-ci
github-actions[bot] Jan 24, 2023
f010b62
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
7a4dade
Merge f010b6235cddb122d3c76b27b18c98e9e4c738ed into master-ci
github-actions[bot] Jan 24, 2023
58ae925
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
003e89e
Merge 58ae925219ae4637900d5c26d5d80033ba6cd039 into master-ci
github-actions[bot] Jan 24, 2023
b06070f
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
8691729
Merge b06070f7d8372f59ca09681595b3223c97c5d401 into master-ci
github-actions[bot] Jan 24, 2023
c80cd88
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
8560be0
Merge c80cd883b219fa668ffc09c7710eaf8e39fd6bab into master-ci
github-actions[bot] Jan 24, 2023
22e6a28
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
0ba8690
Merge 22e6a28e08fd324238ceace6bc73f12aa1714d9d into master-ci
github-actions[bot] Jan 24, 2023
b25bea3
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
ba169bf
Merge b25bea323a62c8a584834a4da472bc882620a1af into master-ci
github-actions[bot] Jan 24, 2023
72e9074
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
a39da6e
Merge 72e907405b82700aec68712f641d68d129d18685 into master-ci
github-actions[bot] Jan 24, 2023
178a2a3
Create installer.sh
justinmerrell Jan 24, 2023
24ea30a
Update CD_dev-release.yml
justinmerrell Jan 24, 2023
5a44883
Merge 24ea30a01233937a72b6091dacdf12f511dc0ef9 into master-ci
github-actions[bot] Jan 24, 2023
d4f5cde
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 24, 2023
2b80e79
fix: release trigger
justinmerrell Jan 25, 2023
ef80941
Merge 2b80e790da7b92291ecf4977b3716b64196c4120 into master-ci
github-actions[bot] Jan 25, 2023
a24ed42
Merge remote-tracking branch 'origin/master-ci' into dev-release
invalid-email-address Jan 25, 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
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Continious Deployment - Production
# Continuous Deployment - Production

name: Release - Version & Deploy
on:
push:
branches: [ release ]
release:
types: [published]

workflow_dispatch:

Expand All @@ -14,7 +14,7 @@ jobs:

steps:
- name: Release Webhook
uses: distributhor/workflow-webhook@v1
uses: distributhor/workflow-webhook@v3
env:
webhook_url: "https://recursion.space/webhooks/github/"
webhook_secret: "Y0uR5ecr3t"
102 changes: 102 additions & 0 deletions .github/workflows/CD_dev-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: CD | Dev Release

# Performs the task of merging from master to the dev-release branch.
# Pings the server to pull an update once the dev-release branch has been merged.

on:
push:
branches: [master]

workflow_dispatch:

jobs:

merge:
name: master -> master-ci
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Wait on check
uses: fountainhead/action-wait-for-check@v1.1.0
id: wait-for-build

with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: build
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Create Pull Request

if: steps.wait-for-build.outputs.conclusion == 'success'
uses: repo-sync/pull-request@v2
with:
destination_branch: "master-ci"
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Merge master -> master-ci

if: steps.wait-for-build.outputs.conclusion == 'success'
uses: devmasx/merge-branch@1.4.0
with:
type: now
target_branch: master-ci
github_token: ${{ secrets.GITHUB_TOKEN }}



# master-ci -> dev-release
sanitize:
name: master-ci -> dev-release
runs-on: ubuntu-latest

steps:
- name: Checkout master-ci
uses: actions/checkout@v3
with:
ref: master-ci
fetch-depth: 0

- name: Wait on Merge
uses: fountainhead/action-wait-for-check@v1.1.0
id: wait-for-merge
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: master -> master-ci
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Checkout dev-release
uses: actions/checkout@v3
with:
ref: dev-release
fetch-depth: 0

- name: Remove Bloat
id: remove-bloat
if: steps.wait-for-merge.outputs.conclusion == 'success'
run: |
git config user.name github-actions
git config user.email github-actions@github.com

git checkout dev-release
git pull origin dev-release

git merge origin/master-ci

rm -rf LICENSE
rm -rf README.md
rm -rf docs
rm -rf tests

git add .

git diff-index --quiet HEAD || git commit -m "Merge master-ci into dev-release and remove unnecessary files"

git push origin dev-release

- name: Webhook
uses: distributhor/workflow-webhook@v3
env:
webhook_url: "https://dev.recursion.space/webhooks/github/"
webhook_secret: "Y0uR5ecr3t"
46 changes: 46 additions & 0 deletions .github/workflows/CI_E2E.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI | E2E Integration

on:
push:
branches:
- '**'
- '!master-ci'
- '!release'

pull_request:
branches:
- master

workflow_dispatch:

jobs:
setup:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.RECURSION_SPACE_ACCESS_TOKEN}}

- name: Setup Server
run: |
sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.11 -y
cd /opt/

git clone --single-branch --branch release git@github.com:RecursionSpace/RecursionSpace.git

sudo apt-get install python3.11-venv -y
sudo python3.11 -m venv /opt/RecursionSpace/env
source /opt/RecursionSpace/env/bin/activate

/opt/RecursionSpace/env/bin/python3.11 -m pip install --upgrade pip

sudo pip install --no-input -U -r /opt/RecursionSpace/requirements.txt --no-cache-dir

cd /opt/RecursionSpace/
sudo python manage.py migrate --noinput
13 changes: 6 additions & 7 deletions .github/workflows/pylint.yml → .github/workflows/CI_Pylint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code Quality
name: CI | Pylint

on: [push]

Expand All @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4.5.0
with:
python-version: 3.8
python-version: 3.11

- name: Install dependencies
run: |
Expand All @@ -21,9 +21,8 @@ jobs:
pip install pylint-exit
if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi

- name: Analysing the code with pylint
- name: Analyzing the code with Pylint
run: |
pylint `ls -r|grep .py$|xargs` --disable=import-error,E1101 || pylint-exit --error-fail --warn-fail --convention-fail $?
pylint openpod `ls -r|grep .py$|xargs` --disable=import-error,E1101 || pylint-exit --error-fail --warn-fail --convention-fail $?

pylint tests `ls -r|grep .py$|xargs` --disable=import-error,E1101,R0801 || pylint-exit --error-fail --warn-fail --convention-fail $?
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
name: Script Check
name: CI | Script Check

on:
push:
branches:
- '**'
- 'master'
- '!master-ci'
- '!release'

pull_request:
branches:
- master
- main

workflow_dispatch:


jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Run Shellcheck
uses: azohra/shell-linter@latest
16 changes: 16 additions & 0 deletions .github/workflows/CI_TestInstaller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI | Installer

on: [push]

jobs:
install:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Run Installer
run: |
sudo chmod +x installer.sh
sudo ./installer.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Recursion.Space Tests
name: CI | Build & Test
on:
push:
branches: [ master ]
Expand All @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4.5.0
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/CI_VerifyInstaller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI | Verify Bash Installer

on:
push:
branches:
- '**'
- 'master'
- '!master-ci'
- '!release'

pull_request:
branches:
- master

workflow_dispatch:


jobs:
install:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Run Bash Installer
run: |
sudo /bin/bash installer.sh
sudo systemd-analyze verify openpod.service

# - name: Validate JSON
# uses: limitusus/json-syntax-check@v1
# env:
# BASE: '/opt/OpenPod'
# with:
# pattern: "\\.json$"
24 changes: 0 additions & 24 deletions .github/workflows/TestInstaller.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
Loading