Renamed .gitmodules to gitmodules, and .gitlab-ci.yml to kibot-ci.yml

Updated default.kibot.yaml and kibot-ci.yml to match DS.
Added ci yaml to be copied to the root of the kicad proj, it just
includes kibot-ci.yml
This commit is contained in:
andrewc
2023-10-19 20:57:55 +10:00
parent d1307c4e3d
commit 1e23a32622
4 changed files with 90 additions and 35 deletions

View File

@@ -1,8 +1,13 @@
# Example KiPlot config file
kibot:
version: 1
import:
- file: JLCPCB
definitions:
_KIBOT_POS_ENABLED: false
_KIBOT_BOM_ENABLED: false
preflight:
run_erc: true
update_xml: true
@@ -13,12 +18,15 @@ preflight:
- name: 'date'
expand_kibot_patterns: true
text: '%D'
- name: 'name'
expand_kibot_patterns: true
command: 'echo $KIBOT_PCB_NAME | rev | cut -d"/" -f1 | rev | cut -d"-" -f1'
fill_zones: true
ignore_unconnected: false
global:
environment:
user_templates: "${CI_PROJECT_DIR}/.templates"
user_templates: "${CI_PROJECT_DIR}/.gitlab"
outputs:
- name: 'print_sch'
@@ -28,15 +36,21 @@ outputs:
options:
output: Schematic.pdf
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
- name: 'print_pcb'
comment: "Print Top and Bottom Copper+Silk"
type: pcb_print
dir: .
options:
output_name: PCB_Top.pdf
layers:
- 'copper'
- layer: F.SilkS
output_name: PCB.pdf
pages:
- layers:
- layer: F.Cu
- layer: F.SilkS
- layer: Edge.Cuts
- layers:
- layer: B.Cu
- layer: B.SilkS
- layer: Edge.Cuts
- name: 'bom'
comment: "BOM in csv format"
@@ -45,18 +59,21 @@ outputs:
options:
columns:
- field: Value
name: Query
name: value
- field: Quantity Per PCB
name: Qty
- Description
name: qty
- field: Footprint
name: footprint
- mpn
- manf
- field: References
name: Schematic Reference
name: refs
csv:
separator: ';'
hide_pcb_info: true
hide_stats_info: true
format: "CSV"
exclude_filter: ""
- name: 'drill'
comment: "excellon drill files"
@@ -82,6 +99,11 @@ outputs:
units: millimeters
separate_files_for_front_and_back: false
only_smd: true
- name: 'stencil'
comment: '3D printable stencil for when you forgot to order it'
type: stencil_3d
dir: '3D Stencil'
- name: 'diff_pcb'
comment: "Diff for visual comparison"
@@ -103,12 +125,12 @@ outputs:
groups:
- name: pcb
outputs:
- _JLCPCB_fab
- _JLCPCB_compress
- neo_position
- print_front
- print_pcb
- stencil
- name: sch
outputs:
- bom
- print_sch