Kibot variants were not working with groups as expected, so config
structure has been changed to not use groups
This commit is contained in:
@@ -87,9 +87,26 @@ outputs:
|
|||||||
- name: 'bom_csv'
|
- name: 'bom_csv'
|
||||||
type: bom
|
type: bom
|
||||||
dir: .
|
dir: .
|
||||||
extends: "_bom"
|
|
||||||
disable_run_by_default: _bom
|
|
||||||
options:
|
options:
|
||||||
|
columns:
|
||||||
|
- field: Value
|
||||||
|
name: value
|
||||||
|
- field: Quantity Per PCB
|
||||||
|
name: qty
|
||||||
|
- field: Footprint
|
||||||
|
name: footprint
|
||||||
|
- field: Datasheet
|
||||||
|
name: datasheet
|
||||||
|
- mpn
|
||||||
|
- manf
|
||||||
|
- rev
|
||||||
|
- conn_manf
|
||||||
|
- conn_mpn
|
||||||
|
- field: References
|
||||||
|
name: refs
|
||||||
|
exclude_filter: ""
|
||||||
|
output: "%f%v_%r_%i.%x"
|
||||||
|
expand_text_vars: true
|
||||||
csv:
|
csv:
|
||||||
separator: ';'
|
separator: ';'
|
||||||
hide_pcb_info: true
|
hide_pcb_info: true
|
||||||
@@ -99,9 +116,26 @@ outputs:
|
|||||||
- name: 'bom_xlsx'
|
- name: 'bom_xlsx'
|
||||||
type: bom
|
type: bom
|
||||||
dir: .
|
dir: .
|
||||||
extends: '_bom'
|
|
||||||
disable_run_by_default: _bom
|
|
||||||
options:
|
options:
|
||||||
|
columns:
|
||||||
|
- field: Value
|
||||||
|
name: value
|
||||||
|
- field: Quantity Per PCB
|
||||||
|
name: qty
|
||||||
|
- field: Footprint
|
||||||
|
name: footprint
|
||||||
|
- field: Datasheet
|
||||||
|
name: datasheet
|
||||||
|
- mpn
|
||||||
|
- manf
|
||||||
|
- rev
|
||||||
|
- conn_manf
|
||||||
|
- conn_mpn
|
||||||
|
- field: References
|
||||||
|
name: refs
|
||||||
|
exclude_filter: ""
|
||||||
|
output: "%f%v_%r_%i.%x"
|
||||||
|
expand_text_vars: true
|
||||||
xlsx:
|
xlsx:
|
||||||
hide_pcb_info: true
|
hide_pcb_info: true
|
||||||
hide_stats_info: true
|
hide_stats_info: true
|
||||||
@@ -272,7 +306,6 @@ groups:
|
|||||||
- name: pcb_main
|
- name: pcb_main
|
||||||
outputs:
|
outputs:
|
||||||
- JLCPCB_compress
|
- JLCPCB_compress
|
||||||
- neo_position
|
|
||||||
- print_pcb
|
- print_pcb
|
||||||
- stencil
|
- stencil
|
||||||
- interactive_bom
|
- interactive_bom
|
||||||
@@ -280,7 +313,6 @@ groups:
|
|||||||
- name: panel
|
- name: panel
|
||||||
outputs:
|
outputs:
|
||||||
- JLCPCB_compress
|
- JLCPCB_compress
|
||||||
- neo_position
|
|
||||||
- print_pcb
|
- print_pcb
|
||||||
- step
|
- step
|
||||||
- interactive_bom
|
- interactive_bom
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ kibot:
|
|||||||
|
|
||||||
import:
|
import:
|
||||||
- file: default.kibot.yaml
|
- file: default.kibot.yaml
|
||||||
|
outputs: ['step']
|
||||||
|
|
||||||
preflight:
|
preflight:
|
||||||
erc: false
|
erc: false
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ kibot:
|
|||||||
|
|
||||||
import:
|
import:
|
||||||
- file: default.kibot.yaml
|
- file: default.kibot.yaml
|
||||||
|
outputs: [JLCPCB_compress, neo_position, print_pcb, step, interactive_bom]
|
||||||
|
|
||||||
preflight:
|
preflight:
|
||||||
erc: false
|
erc: false
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ kibot:
|
|||||||
|
|
||||||
import:
|
import:
|
||||||
- file: default.kibot.yaml
|
- file: default.kibot.yaml
|
||||||
|
outputs: [print_pcb]
|
||||||
|
|
||||||
preflight:
|
preflight:
|
||||||
erc: false
|
erc: false
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ kibot:
|
|||||||
|
|
||||||
import:
|
import:
|
||||||
- file: default.kibot.yaml
|
- file: default.kibot.yaml
|
||||||
|
outputs: [JLCPCB_gerbers, JLCPCB_drill, JLCPCB_compress, print_pcb, stencil]
|
||||||
|
|
||||||
preflight:
|
preflight:
|
||||||
erc: false
|
erc: false
|
||||||
|
|||||||
@@ -4,8 +4,9 @@ kibot:
|
|||||||
|
|
||||||
import:
|
import:
|
||||||
- file: default.kibot.yaml
|
- file: default.kibot.yaml
|
||||||
|
outputs: ['neo_position']
|
||||||
|
|
||||||
preflight:
|
preflight:
|
||||||
erc: false
|
erc: false
|
||||||
update_xml: false
|
update_xml: false
|
||||||
drc: true
|
drc: false
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ kibot:
|
|||||||
|
|
||||||
import:
|
import:
|
||||||
- file: default.kibot.yaml
|
- file: default.kibot.yaml
|
||||||
|
outputs: ['bom_csv','bom_xlsx', 'print_sch', 'interactive_bom']
|
||||||
|
|
||||||
preflight:
|
preflight:
|
||||||
erc: true
|
erc: true
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ image:
|
|||||||
python3 $CI_PROJECT_DIR/.gitlab/.scripts/orig.py ${dir_arr[i-1]}
|
python3 $CI_PROJECT_DIR/.gitlab/.scripts/orig.py ${dir_arr[i-1]}
|
||||||
for CONF in $KIBOT_CONF
|
for CONF in $KIBOT_CONF
|
||||||
do
|
do
|
||||||
kibot -e ${dir_arr[i-1]}/${sch_arr[i-1]} -c $CI_PROJECT_DIR/.gitlab/configs/$CONF.kibot.yaml -d $CI_PROJECT_DIR/Fabrication/${dir_arr[i-1]} $VARIANTS $CONF
|
kibot -e ${dir_arr[i-1]}/${sch_arr[i-1]} -c $CI_PROJECT_DIR/.gitlab/configs/$CONF.kibot.yaml -d $CI_PROJECT_DIR/Fabrication/${dir_arr[i-1]} $VARIANTS
|
||||||
done
|
done
|
||||||
mv $CI_PROJECT_DIR/Fabrication/${dir_arr[i-1]}/*.zip Fabrication/ 2> /dev/null || true
|
mv $CI_PROJECT_DIR/Fabrication/${dir_arr[i-1]}/*.zip Fabrication/ 2> /dev/null || true
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user