388 Commits

Author SHA1 Message Date
jspijker
c0fe1c9924 Use correct workflow name 2022-11-30 20:12:25 +01:00
jspijker
13c00dd496 Request changes if printer-linter finds issues 2022-11-30 20:07:48 +01:00
jspijker
9c4935f5d7 Run posting UT results in seperate workflow 2022-11-30 20:02:58 +01:00
jspijker
57b3b43096 Use different check to determine fork 2022-11-30 14:35:31 +01:00
jspijker
aadea69407 Add PR prefix to label 2022-11-30 14:24:48 +01:00
jspijker
f9623bf1c4 Add label Community Contribution 👑 to PR's 2022-11-30 14:21:26 +01:00
jspijker
58b9c06295 Only run formatting on UM repo
This should limit the changed files to only the files we allow to main.
2022-11-30 06:55:38 +01:00
Jelle Spijker
fb917a88fb
Don't format
Something seems to be broken
2022-11-29 20:36:04 +01:00
Joey de l'Arago
82f4f9ed16
Merge pull request #13856 from Ultimaker/printer_linter
Added a linting tool for Cura Printers and Profiles
2022-11-29 17:58:59 +01:00
jspijker
ae6fdfa34f Merge branch 'printer_linter' into printer_linter_pr_review 2022-11-29 14:39:37 +01:00
jspijker
ed6018d4ad Update pyinstaller scripts using UltiMaker
Contributes to CURA-9808
2022-11-28 11:22:11 +01:00
jspijker
def686e61a Remove old workflow 2022-11-21 13:32:23 +01:00
jspijker
28110f3368 Added workflow requirements 2022-11-21 13:31:54 +01:00
jspijker
32673bedea Add PR review workflows
Using the pull-request-comments-from-clang-tidy-reports GH action
https://github.com/marketplace/actions/pull-request-comments-from-clang-tidy-reports

Which is possible because the printer-linter auto
puts the suggested fixes in the same format as
clang-tidy.

It consists of two workflows, to ensure safe handling
of forks PR's. The first workflows is the analysis and
the suggested fixes, these are then upload to the
second workflow which will use the suggested fixes
to past comments on the PR
2022-11-21 13:23:04 +01:00
jspijker
db7e89815e Renamed the workflow for consistency 2022-11-21 13:16:26 +01:00
jspijker
f78fbd3edf Auto format printer/profiles with printer-linter
Runs only master and release branch, will create a
co-authored commit if formatting was applied
2022-11-20 10:51:42 +01:00
jspijker
fb69cff511 fix typo 2022-11-18 13:04:38 +01:00
jspijker
87cea8f8f4 write directly to the env file 2022-11-18 13:02:04 +01:00
jspijker
be0b2b15c7 Use quotes for output to env files 2022-11-18 11:59:36 +01:00
jspijker
55040a7040 Use Env file for workflow output 2022-11-18 11:50:10 +01:00
jspijker
cc36da86b1 Fix channel when people use - instead of _ in their branch name 2022-11-18 11:45:07 +01:00
jspijker
73ac7fa716 Fix get version form PR's 2022-11-18 11:27:41 +01:00
Remco Burema
3761f03cea Called workflow needs to inherit more information to run.
part of CURA-9880
2022-11-17 18:26:45 +01:00
Remco Burema
ccdc67712a Suddenly 'type' is required while previously it wasn't.
Also attempt to standardize the ordering somewhat (description, default, required, type).

part of CURA-9880
2022-11-17 18:04:25 +01:00
Remco Burema
6d810ccb9d Split up installer workflow per OS.
This requires a separate action to be run per OS, as there is no real way to have conditional lists within YML. The idea is that the installer can be build per OS (and also, another intent of this change is to make it so that people don't have to wait for all artifacts to be ready to download a single one).

part of CURA-9880
2022-11-17 17:52:48 +01:00
Remco Burema
b0160b2d86 Revert "Specify to build installer per-OS."
This reverts commit 957c25973b0fe57dde7bb16e960a7205e80407f4.
2022-11-16 19:36:26 +01:00
Remco Burema
957c25973b Specify to build installer per-OS.
Exclusion happens _before_ additional includes unfortunaltely, so the matrix is back to being a plain list if OS's. This also means that, if we don't want to build each OS x OS_id, we have to put that information somewhere else. OS_id didn't really belong in the matrix anyway, since it's a derivative value. It's now replaced with a named environment variable.

The way to exclude and select the 'name' used in the filename for each OS seems a little cumbersome, but I didn't find any better way so far.

(should) implement the 'easy', 'lite' version  of CURA-9880
2022-11-16 16:39:14 +01:00
Jelle Spijker
d83f11f42a Make usage of lockfile conditionally 2022-11-14 12:46:51 +01:00
jspijker
00f83dd3f8 Store the log and build artifacts 2022-11-13 13:48:46 +01:00
jspijker
b161a8ed94 install bison and flex on ubuntu 2022-11-13 13:34:23 +01:00
jspijker
fab0430966 use runs_on as cache key 2022-11-13 13:13:36 +01:00
jspijker
d85786c829 fix uploading buildinfo step 2022-11-13 11:05:35 +01:00
jspijker
76be83434f Use the correct project_name 2022-11-13 10:55:27 +01:00
jspijker
2e0619d647 Fix buildinfo.json generation 2022-11-13 10:47:03 +01:00
jspijker
9d690da9d5 Fix buildinfo.json generation 2022-11-13 10:29:34 +01:00
jspijker
8969e34021 update the system packages for all Linux versions 2022-11-07 17:03:54 +01:00
jspijker
81af19dc43 Use GCC10 as default for Ubuntu-20.04 2022-11-07 09:19:58 +01:00
Remco Burema
00dbe92814 Revert "Restrict permissions, should only need to read here."
This reverts commit 61a491f910abd2fbb69d3da02f76995ec2926c26.
2022-11-04 12:00:39 +01:00
Remco Burema
61a491f910 Restrict permissions, should only need to read here. 2022-11-04 11:57:53 +01:00
Remco Burema
15f31a7c0c Merge branch 'main' into PR-13661 2022-11-04 11:51:26 +01:00
j.spijker@ultimaker.com
c20410d732 build info and create in one step 2022-11-03 08:42:24 +01:00
jelle spijker
30555dbd5b Use lockfile and build_id 2022-11-03 08:14:07 +01:00
jelle spijker
ce8a7b6109 Create Artifactory build info 2022-11-03 07:50:57 +01:00
jelle spijker
b75e047348 Use ref.base_name for pr 2022-11-02 22:01:19 +01:00
Alex
79af58ef7e build: harden notify_on_print_profile_change.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-10-26 16:36:55 +03:00
jelle spijker
5c284cd094 Fix nightly builds 2022-10-13 13:00:08 +02:00
Jelle Spijker
bbda089ae9
Add quotes around ref_name 2022-10-10 15:46:52 +02:00
Jelle Spijker
fce7df29e0
remove debugging statement 2022-10-10 15:44:46 +02:00
Jelle Spijker
2cc923761d
Fix missing quote 2022-10-10 14:58:46 +02:00
Jelle Spijker
48ea4cee9f Merge branch '5.2'
# Conflicts:
#	conanfile.py
2022-10-10 10:23:01 +02:00