Commit Graph

311 Commits

Author SHA1 Message Date
rusefillc ff2e5f77b7 let's officially give up on jenkins? 2023-01-31 09:53:27 -05:00
rusefillc 004180f27e Revert "let's officially give up on jenkins"
This reverts commit d3c12dc6f5.
2023-01-31 08:48:58 -05:00
rusefillc d3c12dc6f5 let's officially give up on jenkins 2023-01-31 08:10:07 -05:00
rusefillc 33a26d05f7 let's officially give up on jenkins 2023-01-31 08:09:24 -05:00
rusefillc d36479d260 we definitely do not sync from git into SVN anymore 2023-01-31 08:07:10 -05:00
David Holdeman d7c183debd
[LTS] Put branch in bundle name (please read caveats) (#5008)
* make autoupdater check correct URL

* missed semicolon

* remove bundle_name.txt
2023-01-28 14:49:05 -05:00
rusefillc e497a0456b
Issue 4992 (#5009)
* change bundle name

(cherry picked from commit c3dea808adee1588e2cabc2019df0d383a4ba580)

* set primary bundle name

(cherry picked from commit 4fd1e86657b82ca975dfa34387b7ab2c4b5d92f6)

* autoupdate subdir

(cherry picked from commit 1a817285b5e20f7264432a7e9145b1e35d4e95fe)

* try passing empty strings

(cherry picked from commit 2efcafef6b439aa300c49e4e1bfe036a2a8d6b07)

* fix folder logic

(cherry picked from commit e38ce6221f1e21e0f6496c1b1f21505c1c7559b3)

* don't need empty strings duh

(cherry picked from commit c20585cbc26dd03bda87905494c573680ca7a6be)

* encapsulate ini file

---------

Co-authored-by: David Holdeman <david@chuckwagoncomputing.com>
2023-01-28 12:51:55 -05:00
rusefillc fcc61f4e71 Default binary should have more relaxed pinout: serial fix #4998
ohh unexpected consequences
2023-01-23 08:38:10 -05:00
David Holdeman 9895eaaa99
fix (#4994) 2023-01-21 22:41:09 -05:00
David Holdeman 05016ccecc
put in subdir named after branch (#4991) 2023-01-22 07:41:15 +05:30
David Holdeman 1ceeb42d93
LTS - one way of doing things (#4989)
* add lts option

* upload logic

* proper grouping

* proper quoting

* it's boolean duh

* try toJSON, fix
2023-01-22 06:54:07 +05:30
Nathan Schulte 335ad01d01 improve, simplify, misc/jenkins/ build scripts 2022-11-19 09:40:47 -05:00
rusefillc ce3dc70c89 Let's admit it it's time to move to gradle #3014
autoupdate fix
2022-11-01 10:45:07 -04:00
rusefillc 4eee729d82 let's separate Android from not Android 2022-10-15 15:50:01 -04:00
rusefillc 833819f3e7 let's separate Android from not Android 2022-10-15 15:13:02 -04:00
rusefillc aa8209a35d rusefi_simulator.exe to be included into autoupdate 2022-09-26 23:09:54 -04:00
rusefillc 6a6f6fde9f +x 2022-09-05 18:39:06 -04:00
rusefillc 40a546f467 docs 2022-08-23 20:35:36 -04:00
rusefillc 98f26a6842 +x 2022-08-16 19:51:40 -04:00
rusefillc 7b6fc023dc openblt into console 2022-08-08 14:36:32 -04:00
rusefillc 5f8ca2d5b2 Ant should go, gradle is the unified way #4371 2022-07-28 15:27:01 -04:00
rusefillc 8c71df2ea5 Ant should go, gradle is the unified way #4371 2022-07-28 15:25:49 -04:00
rusefillc b2815eb33c improving scripts? 2022-05-07 05:50:14 -04:00
Andrey 9dced11c26 REO TS plugin missing #4090 2022-04-25 20:37:16 -04:00
David Holdeman 4763340e5c
Fail to generate pinout if there is no connector ID (#3950)
* check for id

* check
2022-02-19 13:35:56 -05:00
rusefillc 822f0767c7 docs/typo 2022-01-15 22:09:27 -05:00
rusefillc 09f5c22a06 rusEFI console ISO-TP via PCAN #3667
WOW, YES!!!
2021-12-08 19:38:11 -05:00
rusefillc ca5118eff5 Better Windows build-in DFU #3338 2021-11-17 07:57:58 -05:00
Andrey G 383d5c97ea
Openblt deliver (#3486)
* common_make: rusefi.* should be functional image

OpenBLT used: rusefi.* is bootloader plus RusEFI
OpenBLT not used: rusefi.* is RusEFI only.
In both cases flashing of rusefi.* image to blank device should be
enough.
rusefi_update.srec does not include bootloader and this image should
be used for CAN update.

* Boundle generation: include bootloader and update image

* Update hex2dfu, deliver composite bin file
2021-11-07 13:50:01 -05:00
David Holdeman c1b173a1e1
Use SSH for remaining workflows (#3407)
* install sshpass instead of ncftp

* don't use file for command

* change env vars

* replace ncftp with sshpass in docs

* switch gcov upload

* use heredoc instead of file

* convert ibom

* whoops

* messed up var

* remove quotes

* undo ini variable changes
2021-10-25 08:22:31 -04:00
David Holdeman 78e3c0c760
Use SSH to upload firmware (#3394)
* install sshpass instead of ncftp

* use ssh

* change env vars

* fix checks and sftp>ssh
2021-10-22 16:36:15 -04:00
rusefillc 36ba375a94
New dfu (#3392)
* Better Windows build-in DFU #3338

* Better Windows build-in DFU #3338

some time to read from dead process, also TOOLS_PATH support

* Better Windows build-in DFU #3338

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2021-10-22 15:05:12 -04:00
David Holdeman 478a25d0b4
Change vars and use docs dir (#3390) 2021-10-22 09:07:35 -04:00
David Holdeman ec5786695e
Use SSH for Pinouts (#3388)
* switch to ssh

* ssh env vars
2021-10-21 19:42:06 -04:00
David Holdeman f489e6a3c9
Use SSH for Doxygen (#3386)
* install sshpass and change var names

* convert doxygen script

* no stricthostkeychecking

* change secrets
2021-10-21 19:15:25 -04:00
rusefillc 88900936f2 GHA reliability: retry FTP upload #3011
trying SFTP
2021-10-19 11:57:05 -04:00
rusefillc a3706c273f Who generates default bundle? #3368 2021-10-18 22:34:34 -04:00
rusefillc 41321fbba1 GHA reliability: retry FTP upload #3011
trying SFTP
2021-10-18 22:01:14 -04:00
rusefillc 7673059574 GHA reliability: retry FTP upload #3011
not ignoring upload issues
2021-10-18 20:44:28 -04:00
rusefillc a60d9c00b5 Better Windows build-in DFU #3338
new CLI into bundle
2021-10-15 22:08:42 -04:00
rusefillc 38eaa3bdff Review unit_tests/compile.sh fix #3349 2021-10-13 21:09:11 -04:00
rusefillc 875602d1fc Move pinouts to pages.rusefi.com #170 2021-10-13 21:04:02 -04:00
rusefillc f1dca52964 random poke 2021-10-09 09:45:59 -04:00
rusefillc f064f2c83b https://github.com/rusefi/rusefi_documentation/issues/164 2021-10-09 09:44:24 -04:00
rusefillc 60b361c914 rusEFI console to compare current bundle against auto-DFU bundle #3266 2021-09-26 17:52:14 -04:00
David Holdeman ec1145db47
fix (#2943) 2021-07-10 11:27:41 -04:00
Andrey 402548f757 pinouts process is broken but also green #2942 2021-07-10 10:12:22 -04:00
Andrey b8ebc51fb4 unknown command "r" for "yq" drama with pinout #2880 2021-06-30 10:45:23 -04:00
Andrey e40ff8cf5b unknown command "r" for "yq" drama with pinout #2880 2021-06-30 10:08:49 -04:00
Andrey 1b9e6a165b unknown command "r" for "yq" drama with pinout #2880 2021-06-29 17:50:08 -04:00
rusefillc c0aeb39301 revert to safety 2021-06-25 01:07:36 -04:00
rusefillc bc7af43d41 console ant should be self-contained - one ant invocation should build things 2021-06-25 00:30:12 -04:00
Matthew Kennedy 2c6b8ae3c6
parse with antlr (#2747)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* console should not build config def tool

* ugh the dependency tree is insane

* this should fix hw ci

* console build

* console jenkins script

* test

* Revert "test"

This reverts commit 73f2da50f990bee9b51a1f919e8fcc6b06327d9a.

* throw on parse failure

* jar

* fix #2821

* comment
2021-06-16 17:07:05 -04:00
David Holdeman 1a55e563ef
Convert pinout info to JSON while building pages (#2775)
* try converting to json first

* fix command

* try

* try

* convert to json in js
2021-05-30 19:19:26 -04:00
Andrey 2a8a94a841 running tests from tests folder 2021-05-24 08:56:24 -04:00
rusefillc 6be9eaa8fe poke 2021-05-19 01:12:03 -04:00
rusefillc de7df850ca helping jenkins 2021-05-16 08:51:36 -04:00
David Holdeman 280f34ce02
add check (#2639) 2021-05-06 23:41:28 -04:00
rusefillc e145a737c5 Smarter pinout re-generation #2564 2021-04-27 20:27:29 -04:00
rusefillc f233c8ca4d jenkins firmare is hanging #2415 2021-02-28 22:33:25 -05:00
rusefillc ec7902bd51 let's start somewhere! 2021-02-19 17:00:30 -05:00
David Holdeman b46dd60f64
Fix doxygen 3 (#2337)
* try adding E flag

* found flags that work

* add flags to ibom

* add flags to pinouts
2021-02-12 15:56:49 -05:00
David Holdeman 3cca8df571
Pinouts pages merged (#2329)
* try adding z flag (resume)

* modify pinout gen to put all connectors in one page

* modify script to call append

* modify gen.sh to match usage of append.sh

* fix indents and add brs

* fix zoom issues
2021-02-10 18:52:19 -05:00
David Holdeman 6cae460f62
try adding z flag (resume) (#2323) 2021-02-09 07:29:46 -06:00
David Holdeman 06cc20f614
try removing -m and glob (#2312) 2021-02-08 07:51:24 -06:00
Matthew Kennedy 6a3cf83d02
goodbye f746 (#2309) 2021-02-07 07:52:57 -06:00
David Holdeman c8c4d19388
Decouple Doxygen, IBOMs, and Pinouts (#2293)
* split workflow file

* split scripts

* add jobs

* fix paths

* fix job names

* try

* switch to push for testing

* switch back to ftp, remove unneeded ppas

* dont fetch submodules
2021-02-06 13:43:43 -05:00
David Holdeman 6e217c92fa
Try SSH instead of FTP (#2290)
* try ssh

* oops

* fix path
2021-02-06 09:10:51 -06:00
David Holdeman 094dc77718
add wildcards to prevent double dir (#2287) 2021-02-05 23:09:35 -05:00
David Holdeman cf9f9ae8fc
Fix pinouts maybe (#2276)
* debug

* change flags
2021-02-03 22:26:47 -05:00
Matthew Kennedy 56530d2851
hardware ci tweaks (#2266)
* frankenso config

* Revert "frankenso config"

This reverts commit 5bb2375ba2d33ae487273eaa5b7a4f12e8a9cecc.

* add hardware CI flag for proteus

* rename ci job

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-02 08:14:24 -06:00
David Holdeman f5fc824afb
Pinouts Improvements (#2263)
* redo pinout generation in ci script

* missing operand

* fix some errors

* copy yaml

* more bugs

* fix bug

* wait for image to load

* set background color for hover in dark theme

* add feature: click on rows to select pin

* change cursor to pointer

* undo accidental submodule bump

* oops
2021-02-01 17:31:36 -06:00
David Holdeman 96aba27ae4
Connector images, hellen128 mapping (#2255)
* add some connector images

* proteus black23

* add script

* add black23 to script

* remove redirect to send to stdout

* copy img

* black35

* rotate white35

* white35

* forgot last row of black35

* rename

* create in subdir

* hellen72 main

* connectors subdir stupid

* undo submodule update

* remove hash signs

* add hellen128 image

* cd to script dir first

* hellen128 rough draft

* gen hellen128

* fix paths
2021-01-31 08:11:18 -05:00
David Holdeman c4d8c85a7b
iBOM improvements (#2239)
* switch to official ppa

* remove xvfb dependency

* gen all boards

* redirect output

* seems xvfb is still needed

* undocumented commands?

* update InteractiveHtmlBom

* try without xvfb again

* remove tracks flag, move nets flag to var

* Undo rescue entry
2021-01-28 19:41:24 -05:00
rusefillc 603c674dec hellen72 2021-01-08 13:30:35 -05:00
rusefillc 358644dfac pwd 2021-01-08 13:09:22 -05:00
rusefillc 118cec97c2 moving start-up script from java to bash 2020-12-12 18:39:05 -05:00
rusefillc 87173c6f13 better ant task name 2020-12-12 16:14:21 -05:00
rusefillc de43c8fd37 remote: update to release feature 2020-10-07 20:47:31 -04:00
rusefi 553f4230a6 cypress into GHA #1819 2020-09-27 06:13:58 -04:00
rusefi 1d5b4cf187 trigger and VSS hw integrated testing #1668
clean-up
2020-08-08 11:04:26 -04:00
rusefi 5457287b2d surprise part #2 2020-07-25 13:17:16 -04:00
rusefi 3f53992c7d surprise! 2020-07-25 13:11:57 -04:00
rusefi f9dc225da3 better plugin file name and location 2020-07-21 20:09:17 -04:00
rusefi 6b4cbecd24 boring little details 2020-07-18 12:38:39 -04:00
rusefi eaca7ab0da console should be included into autoupdate bundle 2020-07-18 12:18:45 -04:00
David Holdeman 9071254932
pass ini file (#1612) 2020-07-17 22:32:53 -04:00
David Holdeman f6fad72b72
Fix Bundles (#1610)
* facepalm

* define BUNDLE_NAME

* oops
2020-07-16 20:51:55 -04:00
rusefi 0e7c20d38e many bundles are not uploaded #1609 2020-07-16 19:55:48 -04:00
David Holdeman 2aac840cec
Fix #1590 (#1602)
* Add checkout

* remove empty with statement

* Actually we do need push depth

* convert gen_upload_docs.bat

* convert run.bat

* forgot to add run.sh

* convert gen_upload_docs.bat

* remove checking from bats

* change config

* fix path

* fix path again

* fix file extension

* remove escapes

* added missing quotation and escapes

* convert build_current_bundle

* convert clean_bootloader

* convert compile_bootloader_discovery

* convert compile_bootloader

* add env var to skip upload

* remove checking from compile.bat

* working on push.yaml

* finish sorting

* progress

* rename push to builds

* rename push to builds

* Add skip upload env var

* fix pull_request name

* fixed typo and changed name

* fixed indentation and runs-on

* try different env var setup

* add nucleos and switch to underscore

* add quotes

* remove boards that were commented

* remove boards that were commented

* fix project board name

* fixed variable name

* add ini-file and console-settings

* try installing gcc-multilib first

* Install g++-multilib as well

* remove unnecessary export

* fixed exit numbers

* change to different env setup

* add simulator and console compilation to board bundles

* changed OS and added linux simulator build

* add checkout and missing colon

* add gcc-multilib installes

* Install mingw

* fixed install

* remove mingw from linux sim and call compile directly

* change directory

* moved envs to command

* debug ls

* debug ls

* set ftp vars

* add makefile debug info

* removed batchecks

* redirect stdout to easier see orrs

* change name

* remove redirect, add file inpection

* Add conditional project name

* Try software upgrade

* missing char

* update ine files

* try quotes

* add escapes

* add quotes

* add escapes and quotes

* remove quotes and escapes

* remove software upgrade

* ignore test 2

* update apt

* like this then

* forgot import

* fix case

* remove RUSEFI_SKIP_UPLOAD and check RUSEFI_FTP_SERVER instead

* break workflow back apart

* upload simulator artifact

* fixed operator

* update apt

* change paths

* Update build-firmware.yaml

* move update bundle to artifacts

* fix var name

* Install ncftp

* set env vars conditionally

* remove check so zips are created

* try things the github way and copy to primary

* re-enable test

* missing space

* use bash

* use bash

* add workflow

* add check before upload

* install kicad

* switch firmware to bash

* switch unit_testts to bash

* switch jenkins to bash

* fix path

* pwd

* checkout submodules

* add ppa for kicad 5.1

* install xvfb and set DISPLAY

* use xvfb

* use python3 and add NO_DISPLAY var

* fetch all

* remove blob

* undo unintentional changes

* reset accidentally commited config.xmlu

* remove submodule

* fix path

* Only call one board

* make simulator and console conditional

* break away bundle packaging

* pass bundle name

* switch to bash

* make primary bundle conditional

* break away packaging for primary and pass config names

* Add default name to unit tests

* add check to skip config

* add property to skip config, and fix check

* switch primary bundle to still build

* switch to bash

* move default config to its own script

* add exit 0

* go back to gen_config running all boards

* remove TS stuf8f

* remove TS stuff

* switch to gen_config_board

* switch to bash

* add kinetis back

* add check for kinetis

* rename compile_and_upload

* add error checking

* Revert "add error checking"

This reverts commit f6c9b7f2521f9c28ea150da8e733c593a59596a1.

* Add readme

Co-authored-by: David Holdeman <David Holdeman>
2020-07-14 10:28:26 -04:00
David Holdeman ca885d2a3b
Improve Jenkins set-up documentation (#1603) 2020-07-13 14:16:39 -04:00
David Holdeman da03fb3034
Convert documentation (#1600)
* Add checkout

* remove empty with statement

* Actually we do need push depth

* convert gen_upload_docs.bat

* convert run.bat

* forgot to add run.sh

* convert gen_upload_docs.bat

* remove checking from bats

* change config

* fix path

* fix path again

* fix file extension

* remove escapes

* added missing quotation and escapes

* convert build_current_bundle

* convert clean_bootloader

* convert compile_bootloader_discovery

* convert compile_bootloader

* add env var to skip upload

* remove checking from compile.bat

* working on push.yaml

* finish sorting

* progress

* rename push to builds

* rename push to builds

* Add skip upload env var

* fix pull_request name

* fixed typo and changed name

* fixed indentation and runs-on

* try different env var setup

* add nucleos and switch to underscore

* add quotes

* remove boards that were commented

* remove boards that were commented

* fix project board name

* fixed variable name

* add ini-file and console-settings

* try installing gcc-multilib first

* Install g++-multilib as well

* remove unnecessary export

* fixed exit numbers

* change to different env setup

* add simulator and console compilation to board bundles

* changed OS and added linux simulator build

* add checkout and missing colon

* add gcc-multilib installes

* Install mingw

* fixed install

* remove mingw from linux sim and call compile directly

* change directory

* moved envs to command

* debug ls

* debug ls

* set ftp vars

* add makefile debug info

* removed batchecks

* redirect stdout to easier see orrs

* change name

* remove redirect, add file inpection

* Add conditional project name

* Try software upgrade

* missing char

* update ine files

* try quotes

* add escapes

* add quotes

* add escapes and quotes

* remove quotes and escapes

* remove software upgrade

* ignore test 2

* update apt

* like this then

* forgot import

* fix case

* remove RUSEFI_SKIP_UPLOAD and check RUSEFI_FTP_SERVER instead

* break workflow back apart

* upload simulator artifact

* fixed operator

* update apt

* change paths

* Update build-firmware.yaml

* move update bundle to artifacts

* fix var name

* Install ncftp

* set env vars conditionally

* remove check so zips are created

* try things the github way and copy to primary

* re-enable test

* missing space

* use bash

* use bash

* add workflow

* add check before upload

* install kicad

* switch firmware to bash

* switch unit_testts to bash

* switch jenkins to bash

* fix path

* pwd

* checkout submodules

* add ppa for kicad 5.1

* install xvfb and set DISPLAY

* use xvfb

* use python3 and add NO_DISPLAY var

* fetch all

* remove blob

* undo unintentional changes

* reset accidentally commited config.xmlu

* remove submodule

* fix path

Co-authored-by: David Holdeman <David Holdeman>
2020-07-11 22:57:00 -04:00
David Holdeman 779029caed
Switch to Bash (#1585)
* switch firmware to bash

* switch unit_testts to bash

* switch jenkins to bash
2020-07-09 10:27:20 -04:00
David Holdeman 15e44ae9cc
Use github actions to build and upload bundles (#1583)
* add env var to skip upload

* remove checking from compile.bat

* working on push.yaml

* finish sorting

* progress

* rename push to builds

* rename push to builds

* Add skip upload env var

* fix pull_request name

* fixed typo and changed name

* fixed indentation and runs-on

* try different env var setup

* add nucleos and switch to underscore

* add quotes

* remove boards that were commented

* remove boards that were commented

* fix project board name

* fixed variable name

* add ini-file and console-settings

* try installing gcc-multilib first

* Install g++-multilib as well

* remove unnecessary export

* fixed exit numbers

* change to different env setup

* add simulator and console compilation to board bundles

* changed OS and added linux simulator build

* add checkout and missing colon

* add gcc-multilib installes

* Install mingw

* fixed install

* remove mingw from linux sim and call compile directly

* change directory

* moved envs to command

* debug ls

* debug ls

* set ftp vars

* add makefile debug info

* removed batchecks

* redirect stdout to easier see orrs

* change name

* remove redirect, add file inpection

* Add conditional project name

* Try software upgrade

* missing char

* update ine files

* try quotes

* add escapes

* add quotes

* add escapes and quotes

* remove quotes and escapes

* remove software upgrade

* ignore test 2

* update apt

* like this then

* forgot import

* fix case

* remove RUSEFI_SKIP_UPLOAD and check RUSEFI_FTP_SERVER instead

* break workflow back apart

* upload simulator artifact

* fixed operator

* update apt

* change paths

* Update build-firmware.yaml

* move update bundle to artifacts

* fix var name

* Install ncftp

* set env vars conditionally

* remove check so zips are created

* try things the github way and copy to primary

* re-enable test

* missing space
2020-07-08 11:10:24 -04:00
David Holdeman c4e4d5fa7c
Fix 1575 (#1578)
* remove no_asserts version

* add quotes to fix extra underscore

* add bundle name to primary bundle
2020-07-06 18:46:26 -04:00
rusefi d791508d71 progress - consuming new .ini file names 2020-07-06 01:17:50 -04:00
rusefi 585b0f8011 generated 2020-07-06 01:06:27 -04:00
rusefi b67f592f1d s/COMPILE_FOLDER/BOARD_NAME/ 2020-07-06 00:05:22 -04:00
rusefi 4902bf9cab ooooops 2020-07-05 23:54:43 -04:00
rusefi a2b14cb297 trying to simplify things a bit 2020-07-05 23:09:43 -04:00