forked from raspiblitz/raspiblitz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'raspiblitz:dev' into dev
- Loading branch information
Showing
345 changed files
with
164,228 additions
and
141,579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help us improve | ||
title: '' | ||
labels: 'bug - unconfirmed' | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description about the issue you encounter. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior. | ||
|
||
**Debug file** | ||
|
||
If possible, please add a debug report. To do that, drag a text file with the debug report in here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contact_links: | ||
- name: Have an idea for a new app in the RaspiBlitz? Make a suggestion in the app ideas section | ||
url: https://github.com/raspiblitz/raspiblitz/discussions/categories/feature-app-ideas | ||
about: Feature and app ideas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
name: Documentation Improvement | ||
about: Improvement suggestions for the documentation | ||
title: '' | ||
labels: 'documentation' | ||
assignees: '' | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
name: Feature Request | ||
about: Enhancement suggestions for the RaspiBlitz | ||
title: '' | ||
labels: 'enhancement' | ||
assignees: '' | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: amd64-lean-legacyboot-image-build | ||
|
||
concurrency: | ||
group: amd64-lean-legacyboot-image-build-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ['dev', 'v1.10'] | ||
paths: | ||
- 'build_sdcard.sh' | ||
- 'home.admin/bitcoin.install.sh' | ||
- 'home.admin/tor.install.sh' | ||
- 'home.admin/blitz.i2pd.sh' | ||
- 'home.admin/blitz.web.sh' | ||
- 'home.admin/blitz.display.sh' | ||
- 'ci/amd64/**' | ||
pull_request: | ||
branches: ['dev', 'v1.10'] | ||
paths: | ||
- 'build_sdcard.sh' | ||
- 'home.admin/bitcoin.install.sh' | ||
- 'home.admin/tor.install.sh' | ||
- 'home.admin/blitz.i2pd.sh' | ||
- 'home.admin/blitz.web.sh' | ||
- 'home.admin/blitz.display.sh' | ||
- 'ci/amd64/**' | ||
|
||
jobs: | ||
amd64-image-build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set values | ||
id: set_values | ||
run: | | ||
echo "BUILD_DATE=$(date +"%Y-%m-%d")" >> $GITHUB_ENV | ||
echo "BUILD_VERSION=$(git describe --always --tags)" >> $GITHUB_ENV | ||
if [ -z "$GITHUB_HEAD_REF" ]; then | ||
echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV | ||
else | ||
echo "BRANCH_NAME=${GITHUB_HEAD_REF}" >> $GITHUB_ENV | ||
fi | ||
if [[ "${{github.event_name}}" == "pull_request" ]]; then | ||
echo "GITHUB_USER=${{github.event.pull_request.head.repo.owner.login}}" >> $GITHUB_OUTPUT | ||
else | ||
echo "GITHUB_USER=$(echo ${{github.repository}} | cut -d'/' -f1)" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Display the build name | ||
run: echo "Building the raspiblitz-amd64-debian-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}}" | ||
|
||
- name: Run the build script | ||
run: | | ||
echo "Using the variables: --pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot bios --desktop none" | ||
cd ci/amd64 | ||
bash packer.build.amd64-debian.sh --pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot bios --desktop none | ||
- name: Compute checksum of the raw image | ||
run: | | ||
cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu | ||
sha256sum raspiblitz-amd64-debian-lean.qcow2 > raspiblitz-amd64-debian-lean.qcow2.sha256 | ||
- name: Compress image | ||
run: | | ||
cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu | ||
gzip -v9 raspiblitz-amd64-debian-lean.qcow2 | ||
- name: Compute checksum of the compressed image | ||
run: | | ||
cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu | ||
sha256sum raspiblitz-amd64-debian-lean.qcow2.gz > raspiblitz-amd64-debian-lean.qcow2.gz.sha256 | ||
- name: Upload the image and checksums | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: raspiblitz-amd64-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}} | ||
path: | | ||
${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.sha256 | ||
${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.gz | ||
${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.gz.sha256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: arm64-rpi-base-image-build | ||
|
||
concurrency: | ||
group: arm64-rpi-base-image-build-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ['dev', 'v1.10', 'v1.11'] | ||
paths: | ||
- 'build_sdcard.sh' | ||
- 'home.admin/config.scripts/bitcoin.install.sh' | ||
- 'home.admin/config.scripts/tor.install.sh' | ||
- 'home.admin/config.scripts/blitz.i2pd.sh' | ||
- 'home.admin/config.scripts/blitz.web.sh' | ||
- 'home.admin/config.scripts/blitz.display.sh' | ||
- 'ci/arm64-rpi/**' | ||
- 'home.admin/config.scripts/bonus.btc-rpc-explorer.sh' | ||
- 'home.admin/config.scripts/bonus.btcpayserver.sh' | ||
- 'home.admin/config.scripts/bonus.jam.sh' | ||
- 'home.admin/config.scripts/bonus.joinmarket.sh' | ||
- 'home.admin/config.scripts/bonus.lnbits.sh' | ||
- 'home.admin/config.scripts/bonus.mempool.sh' | ||
- 'home.admin/config.scripts/bonus.nodejs.sh' | ||
- 'home.admin/config.scripts/bonus.rtl.sh' | ||
- 'home.admin/config.scripts/bonus.thunderhub.sh' | ||
- 'home.admin/config.scripts/blitz.web.api.sh' | ||
- 'home.admin/config.scripts/blitz.web.ui' | ||
pull_request: | ||
branches: ['dev', 'v1.10', 'v1.11'] | ||
paths: | ||
- 'build_sdcard.sh' | ||
- 'home.admin/config.scripts/bitcoin.install.sh' | ||
- 'home.admin/config.scripts/tor.install.sh' | ||
- 'home.admin/config.scripts/blitz.i2pd.sh' | ||
- 'home.admin/config.scripts/blitz.web.sh' | ||
- 'home.admin/config.scripts/blitz.display.sh' | ||
- 'ci/arm64-rpi/**' | ||
- 'home.admin/config.scripts/bonus.btc-rpc-explorer.sh' | ||
- 'home.admin/config.scripts/bonus.btcpayserver.sh' | ||
- 'home.admin/config.scripts/bonus.jam.sh' | ||
- 'home.admin/config.scripts/bonus.joinmarket.sh' | ||
- 'home.admin/config.scripts/bonus.lnbits.sh' | ||
- 'home.admin/config.scripts/bonus.mempool.sh' | ||
- 'home.admin/config.scripts/bonus.nodejs.sh' | ||
- 'home.admin/config.scripts/bonus.rtl.sh' | ||
- 'home.admin/config.scripts/bonus.thunderhub.sh' | ||
- 'home.admin/config.scripts/blitz.web.api.sh' | ||
- 'home.admin/config.scripts/blitz.web.ui' | ||
|
||
jobs: | ||
arm64-rpi-base-image-build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set values | ||
id: set_values | ||
run: | | ||
echo "BUILD_VERSION=$(git describe --always --tags)" >> $GITHUB_ENV | ||
if [ -z "$GITHUB_HEAD_REF" ]; then | ||
echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV | ||
else | ||
echo "BRANCH_NAME=${GITHUB_HEAD_REF}" >> $GITHUB_ENV | ||
fi | ||
if [[ "${{github.event_name}}" == "pull_request" ]]; then | ||
echo "GITHUB_USER=${{github.event.pull_request.head.repo.owner.login}}" >> $GITHUB_OUTPUT | ||
else | ||
echo "GITHUB_USER=$(echo ${{github.repository}} | cut -d'/' -f1)" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Display the build name | ||
run: echo "Building the raspiblitz-arm64-rpi-base-image" | ||
|
||
- name: Run the build script | ||
run: | | ||
echo "Using the variables: --pack base --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --image_size 18G" | ||
cd ci/arm64-rpi | ||
bash packer.build.arm64-rpi.sh --pack base --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --image_size 18G | ||
- name: Calculate the checksum of the raw image | ||
run: | | ||
cd ci/arm64-rpi | ||
sha256sum raspiblitz-arm64-rpi-base.img > raspiblitz-arm64-rpi-base.img.sha256 | ||
- name: Upload the base image and checksum | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: raspiblitz-arm64-rpi-base-image-${{ env.BUILD_VERSION }} | ||
path: | | ||
${{ github.workspace }}/ci/arm64-rpi/raspiblitz-arm64-rpi-base.img.sha256 | ||
${{ github.workspace }}/ci/arm64-rpi/raspiblitz-arm64-rpi-base.img |
Oops, something went wrong.