Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
79 changes: 5 additions & 74 deletions .github/workflows/create-debug-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,80 +1,11 @@
name: Create Production Data For Beta Version
name: Create Debug Docs
on:
workflow_dispatch:
push:
branches:
- 'main'

branches: [main]
permissions:
contents: write

jobs:
export-ecad:
name: Export ECAD
runs-on: ubuntu-24.04

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Update the PCBs with the BETA and git hash
run: |
export COMMIT=$(git rev-parse --short HEAD)
echo "COMMIT = ${COMMIT}"
sed -i "s/<<HASH>>/BETA-${COMMIT}/g" *.kicad_*

- name: Generate Export Files
uses: INTI-CMNB/KiBot@v2_k9
with:
config: production.kibot.yaml
dir: output
schema: main.kicad_sch
board: main.kicad_pcb
verbose: 0

- name: Upload Export Files as Artifacts
uses: actions/upload-artifact@v4
with:
name: production
path: output
if-no-files-found: error


collect-and-provide:
runs-on: ubuntu-24.04
needs: export-ecad
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
cache-version: 0

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
with:
generator_config_file: doc

- name: Build with Jekyll
run: cd doc && bundle exec jekyll build
env:
JEKYLL_ENV: production

- uses: actions/download-artifact@v5
with:
name: production
path: doc/_site

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: doc/_site
target-folder: ${{ env.DEPLOY_PATH }}
clean: true
build:
uses: OE5XRX/HW-Module-CI/.github/workflows/create-debug-docs.yaml@main
secrets: inherit
56 changes: 4 additions & 52 deletions .github/workflows/create-release-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,57 +1,9 @@
name: Create Production Data For Release Version
name: Create Release Docs
on:
workflow_dispatch:
release:
types: [published]

jobs:
export-ecad:
name: Export ECAD
runs-on: ubuntu-24.04

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Update the PCBs with the BETA and git hash
run: |
export COMMIT=$(git rev-parse --short HEAD)
echo "COMMIT = ${COMMIT}"
sed -i "s/<<HASH>>/${GITHUB_REF_NAME}-${COMMIT}/g" *.kicad_*

- name: Generate Export Files
uses: INTI-CMNB/KiBot@v2_k9
with:
config: production.kibot.yaml
dir: output
schema: main.kicad_sch
board: main.kicad_pcb
verbose: 0

- name: copy doc files to output folder
run: sudo cp doc/* output/

- name: Upload Export Files as Artifacts
uses: actions/upload-artifact@v4
with:
name: production
path: output
if-no-files-found: error

# - name: Generate Parts on InvenTree Server
# env:
# INVENTREE_API_TOKEN: ${{ secrets.INVENTREE_API_TOKEN }}
# INVENTREE_API_HOST: ${{ secrets.INVENTREE_API_HOST }}
# run: |
# pip install -r scripts/requirements.txt
# python3 scripts/bom-export.py --csv_file output/*-bom.csv --name "${{ github.event.repository.name }}" --version "${{ github.ref_name }}" --pcb_image output/*-3D_top-without.png --assembly_image output/*-3D_top-with.png

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.DEPLOY_GH_TOKEN }}
repository-name: OE5XRX/OE5XRX.github.io
branch: main
folder: output
target-folder: docs/remote-station/hardware/${{ github.event.repository.name }}
clean: true
build:
uses: OE5XRX/HW-Module-CI/.github/workflows/create-release-docs.yaml@main
secrets: inherit
27 changes: 6 additions & 21 deletions .github/workflows/kibot-check.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
name: Kibot check
name: KiBot Check
on:
workflow_dispatch:
pull_request:
branches:
- 'main'
branches: [main]
push:
branches:
- 'main'

branches: [main]
jobs:
kibot_check:
name: Check with Kibot
runs-on: ubuntu-24.04

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: check KiCad files
uses: INTI-CMNB/KiBot@v2_k9
with:
config: test.kibot.yaml
dir: output
schema: main.kicad_sch
verbose: 0
check:
uses: OE5XRX/HW-Module-CI/.github/workflows/kibot-check.yaml@main
secrets: inherit
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ Thumbs.db
# Python cache (if scripts are used)
__pycache__/
*.pyc

# Generated by HW-Module-CI at runtime (must never be committed)
doc/_data/project.yml
16 changes: 8 additions & 8 deletions main.kicad_pcb → DeviceTester.kicad_pcb
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
(property ki_fp_filters "MountingHole*")
(path "/284d8254-f0ed-4637-8b96-4c3af8cec737")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr exclude_from_pos_files exclude_from_bom)
(fp_circle
(center 0 0)
Expand Down Expand Up @@ -1376,7 +1376,7 @@
(property ki_fp_filters "CP_*")
(path "/1a4e0843-dfd9-479d-befe-34f5f5efdb3d")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr smd)
(fp_line
(start -4.415 2.26)
Expand Down Expand Up @@ -1614,7 +1614,7 @@
(property ki_fp_filters "MountingHole*")
(path "/3a6609fa-a0ba-4149-b5b6-590a3714953d")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr exclude_from_pos_files exclude_from_bom)
(fp_circle
(center 0 0)
Expand Down Expand Up @@ -3987,7 +3987,7 @@
(property ki_fp_filters "MountingHole*")
(path "/512f17a9-76ee-4048-872c-dc439e5754ea")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr exclude_from_pos_files exclude_from_bom)
(fp_circle
(center 0 0)
Expand Down Expand Up @@ -4552,7 +4552,7 @@
(property ki_fp_filters "R_*")
(path "/fc22e763-6137-43dd-b7b7-8f10bee195e1")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr smd)
(fp_line
(start -0.227064 0.735)
Expand Down Expand Up @@ -5254,7 +5254,7 @@
(property ki_fp_filters "LED* LED_SMD:* LED_THT:*")
(path "/d1d14914-ec4c-4433-b5f5-5adc435bddac")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr smd)
(fp_line
(start -1.685 -0.96)
Expand Down Expand Up @@ -5732,7 +5732,7 @@
(property ki_fp_filters "TerminalBlock*:*")
(path "/b64dc940-1f01-41c3-85cd-6ec6dd9e8f86")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr through_hole)
(fp_line
(start 7.74 -5.32)
Expand Down Expand Up @@ -6783,7 +6783,7 @@
(property ki_fp_filters "MountingHole*")
(path "/2acc2d22-0f30-4586-a14b-b421faad7d65")
(sheetname "/")
(sheetfile "main.kicad_sch")
(sheetfile "DeviceTester.kicad_sch")
(attr exclude_from_pos_files exclude_from_bom)
(fp_circle
(center 0 0)
Expand Down
2 changes: 1 addition & 1 deletion main.kicad_pro → DeviceTester.kicad_pro
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
"pinned_symbol_libs": []
},
"meta": {
"filename": "main.kicad_pro",
"filename": "DeviceTester.kicad_pro",
"version": 3
},
"net_settings": {
Expand Down
File renamed without changes.
8 changes: 0 additions & 8 deletions Gemfile

This file was deleted.

Binary file removed doc/Icon.png
Binary file not shown.
16 changes: 0 additions & 16 deletions doc/_config.yml

This file was deleted.

Binary file removed doc/favicon.ico
Binary file not shown.
16 changes: 8 additions & 8 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ parent: Hardware
<table>
<tr><th>Top</th><th>Bottom</th></tr>
<tr>
<td><img src="main-3D_top.png?dummy={{ site.data['hash'] }}" alt="top" /></td>
<td><img src="main-3D_bottom.png?dummy={{ site.data['hash'] }}" alt="bottom" /></td>
<td><img src="{{ site.data.project.name }}-3D_top.png?dummy={{ site.data['hash'] }}" alt="top" /></td>
<td><img src="{{ site.data.project.name }}-3D_bottom.png?dummy={{ site.data['hash'] }}" alt="bottom" /></td>
Comment on lines +12 to +13
</tr>
</table>

Expand All @@ -27,9 +27,9 @@ Es befinden sich auch Jumper auf der Platine um ein Computer Module 4 (Raspberry

## Daten

- [Schaltplan](main-schematic.pdf)
- [BOM](main-bom.html)
- [iBOM](main-ibom.html)
- [JLCPCB fabrication & stencil](JLCPCB/main-_JLCPCB_compress.zip)
- [JLCPCB Bom](JLCPCB/main_bom_jlc.csv)
- [JLCPCB Pick&Place](JLCPCB/main_cpl_jlc.csv)
- [Schaltplan]({{ site.data.project.name }}-schematic.pdf)
- [BOM]({{ site.data.project.name }}-bom.html)
- [iBOM]({{ site.data.project.name }}-ibom.html)
- [JLCPCB fabrication & stencil](JLCPCB/{{ site.data.project.name }}-_JLCPCB_compress.zip)
- [JLCPCB Bom](JLCPCB/{{ site.data.project.name }}_bom_jlc.csv)
- [JLCPCB Pick&Place](JLCPCB/{{ site.data.project.name }}_cpl_jlc.csv)
Comment on lines +31 to +35
Loading
Loading