From 33a26d05f7e209f4894557fa16dc9225aae04d18 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 31 Jan 2023 08:09:24 -0500 Subject: [PATCH] let's officially give up on jenkins --- .../setup/jobs/build_extra_bundles/config.xml | 70 ----------- .../setup/jobs/documentation/config.xml | 68 ---------- .../setup/jobs/git2svn_sync/config.xml | 56 --------- misc/jenkins/setup/jobs/ibom/config.xml | 68 ---------- .../integration_and_primary_bundle/config.xml | 84 ------------- misc/jenkins/setup/jobs/pinouts/config.xml | 68 ---------- misc/jenkins/setup/jobs/unit_tests/config.xml | 75 ----------- .../setup/jobs/unit_tests_PRs/config.xml | 119 ------------------ .../setup/jobs/unit_tests_PRs/readme.md | 1 - misc/jenkins/setup/readme.md | 82 ------------ 10 files changed, 691 deletions(-) delete mode 100644 misc/jenkins/setup/jobs/build_extra_bundles/config.xml delete mode 100644 misc/jenkins/setup/jobs/documentation/config.xml delete mode 100644 misc/jenkins/setup/jobs/git2svn_sync/config.xml delete mode 100644 misc/jenkins/setup/jobs/ibom/config.xml delete mode 100644 misc/jenkins/setup/jobs/integration_and_primary_bundle/config.xml delete mode 100644 misc/jenkins/setup/jobs/pinouts/config.xml delete mode 100644 misc/jenkins/setup/jobs/unit_tests/config.xml delete mode 100644 misc/jenkins/setup/jobs/unit_tests_PRs/config.xml delete mode 100644 misc/jenkins/setup/jobs/unit_tests_PRs/readme.md delete mode 100644 misc/jenkins/setup/readme.md diff --git a/misc/jenkins/setup/jobs/build_extra_bundles/config.xml b/misc/jenkins/setup/jobs/build_extra_bundles/config.xml deleted file mode 100644 index ee35733e6b..0000000000 --- a/misc/jenkins/setup/jobs/build_extra_bundles/config.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - - 2 - - - https://github.com/rusefi/rusefi - - - - - */master - - - false - - - - true - false - false - false - - false - - - call misc/jenkins/compile_other_versions/run.bat - - - - - - 20 - -1 - - -1 - -1 - -1 - -1 - - - - arro239@gmail.com - false - false - - - - - - - - - - - - \ No newline at end of file diff --git a/misc/jenkins/setup/jobs/documentation/config.xml b/misc/jenkins/setup/jobs/documentation/config.xml deleted file mode 100644 index 77e4679908..0000000000 --- a/misc/jenkins/setup/jobs/documentation/config.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - - 2 - - - https://github.com/rusefi/rusefi - - - - - */master - - - false - - - - true - false - false - false - - - 10 03 * * * - false - - - false - - - call misc\jenkins\generate_doxygen\gen_upload_docs.bat - - - - - 30 - -1 - - -1 - -1 - -1 - -1 - - - - - - false - - - false - - - \ No newline at end of file diff --git a/misc/jenkins/setup/jobs/git2svn_sync/config.xml b/misc/jenkins/setup/jobs/git2svn_sync/config.xml deleted file mode 100644 index d56c90a420..0000000000 --- a/misc/jenkins/setup/jobs/git2svn_sync/config.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - - 2 - - - https://github.com/rusefi/rusefi - - - - - */master - - - false - - - - true - false - false - false - - - */100 * * * * - false - - - false - - - call misc/jenkins/git_to_svn_sync/run.bat - - - - - arxxxxx@gmail.com - false - false - - - - \ No newline at end of file diff --git a/misc/jenkins/setup/jobs/ibom/config.xml b/misc/jenkins/setup/jobs/ibom/config.xml deleted file mode 100644 index ee6ca71f03..0000000000 --- a/misc/jenkins/setup/jobs/ibom/config.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - - 2 - - - https://github.com/rusefi/rusefi - - - - - */master - - - false - - - - true - false - false - false - - - 10 03 * * * - false - - - false - - - call misc\jenkins\generate_ibom\gen_upload_ibom.bat - - - - - 30 - -1 - - -1 - -1 - -1 - -1 - - - - - - false - - - false - - - diff --git a/misc/jenkins/setup/jobs/integration_and_primary_bundle/config.xml b/misc/jenkins/setup/jobs/integration_and_primary_bundle/config.xml deleted file mode 100644 index f1b0b97393..0000000000 --- a/misc/jenkins/setup/jobs/integration_and_primary_bundle/config.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - - 2 - - - https://github.com/rusefi/rusefi - - - - - */master - - - false - - - - true - false - false - false - - - * * * * * - false - - - false - - - call misc/jenkins/functional_test_and_build_bundle/run.bat - - - - - - build 746 767 - - SUCCESS - 0 - BLUE - true - - - - 20 - -1 - - -1 - -1 - -1 - -1 - - - - arro239@gmail.com - false - false - - - - - - - - - - - - \ No newline at end of file diff --git a/misc/jenkins/setup/jobs/pinouts/config.xml b/misc/jenkins/setup/jobs/pinouts/config.xml deleted file mode 100644 index e6cd4e676d..0000000000 --- a/misc/jenkins/setup/jobs/pinouts/config.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - - 2 - - - https://github.com/rusefi/rusefi - - - - - */master - - - false - - - - true - false - false - false - - - 10 03 * * * - false - - - false - - - call misc\jenkins\generate_pinouts\gen_upload_pinouts.bat - - - - - 30 - -1 - - -1 - -1 - -1 - -1 - - - - - - false - - - false - - - diff --git a/misc/jenkins/setup/jobs/unit_tests/config.xml b/misc/jenkins/setup/jobs/unit_tests/config.xml deleted file mode 100644 index 04a2a8ee13..0000000000 --- a/misc/jenkins/setup/jobs/unit_tests/config.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - - 2 - - - https://github.com/rusefi/rusefi - - - - - */master - - - false - - - - true - false - false - false - - - * * * * * - false - - - false - - - -call misc/jenkins/unit_tests/unit_tests.bat - - - - - 15 - -1 - - -1 - -1 - -1 - -1 - - - - arro239@gmail.com - false - false - - - - - - - - - - - - \ No newline at end of file diff --git a/misc/jenkins/setup/jobs/unit_tests_PRs/config.xml b/misc/jenkins/setup/jobs/unit_tests_PRs/config.xml deleted file mode 100644 index 77c061fd50..0000000000 --- a/misc/jenkins/setup/jobs/unit_tests_PRs/config.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - - false - - - - -1 - 100 - -1 - -1 - - - - https://github.com/rusefi/rusefi/ - - - - - 2 - - - +refs/pull/*:refs/remotes/origin/pr/* - https://github.com/rusefi/rusefi - e8388dd8-17b9-48f9-8b62-428976acdcba - - - - - ${ghprbActualCommit} - - - false - - - - true - false - false - false - - - H/5 * * * * - 3 - rusefi - false - - H/5 * * * * - - false - true - false - abelom mck1117 - false - false - - - - - - - - - - - ************************* - - .*\[skip\W+ci\].* - - - - - - - - - - - - false - - - - - false - - - -call misc/jenkins/unit_tests/unit_tests.bat - - - - - 15 - -1 - - -1 - -1 - -1 - -1 - - - - arro239@gmail.com - false - false - - - - - - - - - - - - \ No newline at end of file diff --git a/misc/jenkins/setup/jobs/unit_tests_PRs/readme.md b/misc/jenkins/setup/jobs/unit_tests_PRs/readme.md deleted file mode 100644 index d6c3a7900f..0000000000 --- a/misc/jenkins/setup/jobs/unit_tests_PRs/readme.md +++ /dev/null @@ -1 +0,0 @@ -Fill in gitHubAuthId in config.xml to have this working \ No newline at end of file diff --git a/misc/jenkins/setup/readme.md b/misc/jenkins/setup/readme.md deleted file mode 100644 index 25213a5425..0000000000 --- a/misc/jenkins/setup/readme.md +++ /dev/null @@ -1,82 +0,0 @@ -# Jenkins setup - -### Install Cygwin -https://cygwin.com/install.html - -Cygwin packages that need to be installed: -- make -- gcc-core -- mingw64-i686-gcc-core -- mingw64-i686-gcc-g++ -- mingw64-x86_64-gcc-core -- mingw64-x86_64-gcc-g++ -- python3 -- git -- subversion -- doxygen -- zip -- sshpass -- wget -- ccache -- graphviz - -### Install Java JDK 8 -https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html - -### Install Ant: -https://ant.apache.org/ - -### Install Jenkins -https://jenkins.io/download/ - -### Install Kicad -http://www.kicad-pcb.org/download/ -for iBom automation - -### Install for Hardware Testing -#### ST Link Utility -http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/utility/stsw-link004.zip -#### ST Virtual Serial Driver -http://www.st.com/web/en/catalog/tools/PF257938 - -### System Environment Variables: -|Variable|Example| -|--|--| -|CCACHE_DIR|C:\ccache | -|ANT_HOME|C:\Program Files\apache-ant-1.10.8| -|JAVA_HOME|C:\Program Files\Java\jdk1.8.0_251| -|RUSEFI_FTP_SERVER|ftp.yourdomain.com| -|RUSEFI_BUILD_FTP_USER|rusefi_firmware| -|RUSEFI_BUILD_FTP_PASS|secretpass| -|RUSEFI_DOXYGEN_FTP_USER|rusefi_doxygen| -|RUSEFI_DOXYGEN_FTP_PASS|secretpass| - -### Add to Path: -|Tool|Example| -|--|--| -|Java|C:\Program Files (x86)\Common Files\Oracle\Java\javapath| -|Java|%JAVA_HOME%\bin| -|Ant|%ANT_HOME%\bin| -|Cygwin|C:\cygwin64\bin| -|GCC|C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update\bin| - -### Additional Jenkins set-up -#### Additional plugins: -- Pipeline GitHub Notify Step - -https://stackoverflow.com/questions/14274293/show-current-state-of-jenkins-build-on-github-repo - -https://github.com/settings/tokens - -Discard Old Build - -smtphost: smtp.gmail.com -r***@gmail.com -useSsl=yes - -### Jobs: -1) unit_tests -2) integration_and_primary_bundle -3) documentation -4) build_extra_bundles -5) git2svn_sync