Skip to content

Commit

Permalink
Merge branch 'develop' into feature/ci-s3-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hhvrc committed Sep 27, 2024
2 parents 8c472f8 + 8662723 commit 605f6be
Show file tree
Hide file tree
Showing 111 changed files with 2,790 additions and 2,752 deletions.
3 changes: 1 addition & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
OPENSHOCK_API_DOMAIN=api.shocklink.net
OPENSHOCK_API_DOMAIN=api.openshock.app
OPENSHOCK_FW_CDN_DOMAIN=firmware.openshock.org
OPENSHOCK_FW_VERSION=0.0.0-unknown
OPENSHOCK_FW_HOSTNAME=OpenShock
OPENSHOCK_FW_AP_PREFIX=OpenShock-
OPENSHOCK_URI_BUFFER_SIZE=256
1 change: 0 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Included by frontend/ (DO NOT RENAME THIS FILE!)
# Intended for development builds (locally).
LOG_LEVEL=VERBOSE
OPENSHOCK_FW_VERSION=0.0.0-local
4 changes: 0 additions & 4 deletions .github/actions/build-firmware/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: build-firmware
description: Builds the firmware partitions and uploads them as an artifact
inputs:
python-version:
required: true
description: 'Python version to use'
board:
required: true
description: 'Board name to build'
Expand Down Expand Up @@ -31,7 +28,6 @@ runs:

- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: 'pip'

- name: Install python dependencies
Expand Down
10 changes: 7 additions & 3 deletions .github/actions/build-staticfs/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-staticfs
description: Builds the static filesystem partition and uploads it as an artifact
inputs:
python-version:
description: 'Python version to use'
version:
required: true
description: 'Current firmware version'
skip-checkout:
description: 'If true, skips checkout'
required: false
Expand All @@ -25,7 +25,6 @@ runs:

- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: 'pip'

- name: Install dependencies
Expand All @@ -41,6 +40,11 @@ runs:
- name: Build filesystem partition
shell: bash
run: pio run --target buildfs -e fs
env:
OPENSHOCK_FW_VERSION: ${{ inputs.version }}
OPENSHOCK_FW_GIT_REF: ${{ github.ref }}
OPENSHOCK_FW_GIT_COMMIT: ${{ github.sha }}
OPENSHOCK_FW_BUILD_DATE: ${{ github.event.head_commit.timestamp }}

- name: Rename partition binary
shell: bash
Expand Down
6 changes: 1 addition & 5 deletions .github/actions/merge-partitions/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: merge-partitions
description: Merges multiple partitions into a single flashable binary
inputs:
python-version:
description: 'Python version to use'
required: true
version:
description: 'Version of the firmware'
required: true
Expand All @@ -28,12 +25,11 @@ runs:
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: 'pip'

- name: Install dependencies
shell: bash
run: pip install esptool
run: pip install -r requirements.txt

- name: Download static filesystem partition
uses: actions/download-artifact@v4
Expand Down
Loading

0 comments on commit 605f6be

Please sign in to comment.