927 Commits

Author SHA1 Message Date
Jelle Spijker
0942c35c0a
Add cura_resources as dependency and update resource directories
A new dependency 'cura_resources' has been added to the conandata.yml. The handling of 'cura_resources' has been updated, now including specific sections for definitions, extruders, intent, meshes, quality and variants. GitHub Actions workflows and conan scripts have been adjusted accordingly to include these changes.

Contribute to NP-186
2024-05-06 11:40:39 +02:00
Jelle Spijker
b12f7e0ff6
Update conan-package workflows to use specific branch
Conan-package workflows in both 'conan-package.yml' and 'conan-package-resources.yml' have been updated to use a specific branch ('NP-186_seperate_cura_resources') instead of 'main'. Further adjustments will be needed after the branch merge. Also, 'conan_recipe_root' attribute was added in 'conan-package-resources.yml'.

Contribute to NP-186
2024-05-02 13:52:06 +02:00
Jelle Spijker
39b48d6f69
Add Conanfile for Cura resources and Git workflows
Added a new Conanfile for handling Cura resources which includes definitions, extruders, intent, meshes, quality, and variants. Also, updated the `.github/workflows/conan-package.yml` for specific paths and added a new GitHub workflow `conan-package-resources.yml` for handling the packaging of resources.

Contribute to NP-186
2024-04-30 18:06:29 +02:00
Saumya Jain
3016820bee fixing printer linter PR post 2024-04-11 09:47:40 +02:00
Saumya Jain
a965392559 Update method for getting PR number and modify output report
The code updates the way we fetch the Pull Request number in the Github action. Rather than using an external action, we directly make use of Github's CLI, which helps improve the speed and reliability of the workflow. Additionally, the output report's format in terminal.py, previously named as "Git Comment", has been changed to "Error Files" to better reflect the information it carries.

CURA-10903
2024-04-10 14:16:25 +02:00
Saumya Jain
d52cd78852 Update GitHub workflow to use create-or-update-comment action
In this update, the GitHub workflow now uses the 'create-or-update-comment' action instead of the 'find-comment' action for PR comments. Additionally, a step has been added to get the PR number. This change is expected to facilitate more efficient PR commenting and handling.

CURa-10903
2024-04-10 14:01:17 +02:00
Saumya Jain
561a40d000 Implement GitComment class and update workflow files
A new GitComment class was implemented to replace Diagnostic for deleted file checks. As part of this change, both main workflow files (printer-linter-pr-diagnose.yml and printer-linter-pr-post.yml) have been updated to accommodate this new class. Also, reports now use 'comment.md' instead of 'fixes.yml'. All of this is ultimately geared at improving diagnostic functionality and allowing deleted file checks to output directly to a Git comment.

CURA-10903
2024-04-09 11:33:24 +02:00
Saumya Jain
b3a25893fc fix results to result
CURA-10903
2024-04-08 12:25:10 +02:00
Saumya Jain
c53e611c81 Update printer-linter workflow and fix file checks order
CURA-10903
2024-04-08 12:23:26 +02:00
Saumya Jain
13ad75a240 fixing command
CURA-10903
2024-04-08 10:52:17 +02:00
Saumya Jain
8b135b5562 Update command to retrieve deleted files
CURA-10903
2024-04-08 10:50:24 +02:00
Saumya Jain
2f8829c2d1 GIT_DIFF not necessarity have the info of deleted files
CURA-10903
2024-04-08 10:42:17 +02:00
Saumya Jain
38382eeec7 Add detection for deleted files in printer linter
This update adds a new check for deleted files in the printer linter. This will alert the user when a file has been deleted that could potentially disrupt upgrade scripts. An argument "--deleted" is also added to terminal.py to facilitate this new check. Additionally, the printer-linter version has been incremented to 0.1.2.

CURA-10903
2024-04-05 15:55:30 +02:00
Remco Burema
25e90e51d7 Fix outdated security-badge github-workflow. 2024-03-26 15:36:42 +01:00
Jelle Spijker
08c24b05ec
Write out options 2024-02-17 12:55:10 +01:00
Jelle Spijker
9b7bdfc9dd
Don't run Sentry for UT 2024-02-17 12:10:32 +01:00
Jelle Spijker
bb8dd30987
Don't run Sentry for UT 2024-02-17 12:05:03 +01:00
Jelle Spijker
399a817178
Use self-hosted-Windows-X64 as default
Contributes to CURA-11544
2024-01-15 13:37:54 +01:00
Jelle Spijker
76b93c3171
Revert "use input instead of the github.events"
This reverts commit 677f35b5159e53fded2d4c31b2ca58ede6b28373.
2024-01-09 08:40:30 +01:00
Jelle Spijker
7244ba4e24
Revert "Ensure that nightlies have default values"
This reverts commit 023a8f232588ce6c5fd84adf57960caabc99a210.
2024-01-09 08:38:17 +01:00
Jelle Spijker
023a8f2325
Ensure that nightlies have default values
Fixes CURA-11528
2024-01-09 08:32:58 +01:00
Jelle Spijker
35131d5d7c
Inherit secrets for UT
Fixes CURA-11497
2024-01-08 15:54:32 +01:00
Jelle Spijker
b60b07e2b2
build Conan packages
This will compile the mo files.
But be sure that `enable_i18n` option is still removed from the `package_id`.
Such that the build conan package can also be used

Fixes CURA-11497
2024-01-08 13:13:53 +01:00
Jelle Spijker
85a762aec3
sync workflow with 5.6E branch
Fixes CURA-11523
2024-01-08 12:58:04 +01:00
Jelle Spijker
677f35b515
use input instead of the github.events
Fixes CURA-11523
2024-01-08 12:48:04 +01:00
Jelle Spijker
68460c5547
Also run on 5.6E branch
Fixes CURA-11523
2024-01-08 12:47:28 +01:00
Jelle Spijker
139c46fc9d
Use generic job name 2023-12-15 10:23:42 +01:00
Jelle Spijker
f2f2f742bd
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2023-12-08 14:36:29 +01:00
Jelle Spijker
e6812a31d8
No need to create a conan-package
Contributes to CURA-10831
2023-12-08 07:42:06 +01:00
Jelle Spijker
b8d41abdee
Add FIXME reminder
Contributes to CURA-10831
2023-12-05 07:18:57 +01:00
Jelle Spijker
1334b65bdf
Post the unit test result on PR's
Contributes to CURA-10831
2023-12-05 07:17:21 +01:00
Jelle Spijker
f5354c058f
Add FIXME reminders
Contributes to CURA-10831
2023-12-05 07:08:36 +01:00
Jelle Spijker
86493b9c4d
Use VirtualPythonEnv generator
Contributes to CURA-10831
2023-12-05 06:05:21 +01:00
Jelle Spijker
e688a3a9df
use relative location of pytest
Somehow pytest can't be found on the PATH

Contributes to CURA-10831
2023-12-05 05:51:48 +01:00
Jelle Spijker
3dcf208d73
Revert "only run on main/release and PR's"
This reverts commit 6140d5ad145fb29a39f1ed0f7bb3f5e6468d1256.
2023-12-05 05:31:51 +01:00
Jelle Spijker
a2eb1dc085
Activate all activate_github_action envs
Contributes to CURA-10831
2023-12-05 05:30:57 +01:00
Jelle Spijker
6140d5ad14
only run on main/release and PR's
Contributes to CURA-10831
2023-12-05 05:06:40 +01:00
Jelle Spijker
a69e4f1678
set needs for testing job
Contributes to CURA-10831
2023-12-05 05:05:12 +01:00
Jelle Spijker
ad96082a16
Port unit-test to cura-workflows
Contributes to CURA-10831
2023-12-05 05:03:59 +01:00
Jelle Spijker
260a73e14c
Use older name for OS specific installer workflows
Contributes to CURA-10831
2023-12-04 19:51:11 +01:00
Jelle Spijker
9ad993f8ca
Reinstate OS specific installer workflows
For those that wants to build a OS specific installer

Contributes to CURA-10831
2023-12-04 18:06:20 +01:00
Jelle Spijker
040f85c956
Remove redundant export workflow
Contributes to CURA-10831
2023-12-04 17:36:32 +01:00
Jelle Spijker
20ab319ec0
Use default values from cura-workflows
Contributes to CURA-10831
2023-12-04 16:31:50 +01:00
Jelle Spijker
7f1158c364
Use cura-workflow OS installers
Contribute to CURA-10831
2023-12-04 13:43:30 +01:00
Jelle Spijker
b19d5d47d3
Use dulcificum 0.1.1-beta.0
Contributes to CURA-10831
2023-12-04 10:22:44 +01:00
jellespijker
4d97e779ed Use process-pull-request workflow
Contribute to CURA-10831
2023-12-01 16:18:44 +01:00
jellespijker
806eba0c6b Merge remote-tracking branch 'origin/CURA-11080_use_openssl_3' into CURA-10831
# Conflicts:
#	conanfile.py
2023-12-01 11:27:05 +01:00
Jelle Spijker
b629669f77
Use sip<=6.7.12
6.8.0 seams to have bug which is botching up building pyArcus

Contribute to CURA-11080
2023-12-01 07:51:31 +01:00
Jelle Spijker
7573c3e994 Build OpenSSL 3 shared
No longer a need to deploy a shared dep
independently.

Contribute to CURA-11080
2023-11-30 12:58:47 +01:00
c.lamboo
29193d833c Revert "enable_sentry in install commands"
This reverts commit 2f452c6581ba11c3381b44ff1d5151fc56173687.
2023-11-30 11:01:51 +01:00