918 Commits

Author SHA1 Message Date
Erwan MATHIEU
f72a4a253a Fix Cura-binary-data package creation call syntax 2024-06-05 14:46:56 +02:00
Erwan MATHIEU
ce30f17349 Fine-tune workflow call settings 2024-06-05 14:43:53 +02:00
Erwan MATHIEU
7132427828 Skip feature freeze 2024-06-05 14:34:24 +02:00
Erwan MATHIEU
ec56098a9e Create Cura package remotely 2024-06-05 14:34:13 +02:00
Erwan MATHIEU
4e569986d2 Use compact syntax to call local scripts 2024-06-05 14:04:16 +02:00
Erwan MATHIEU
9ad5a3f93d Fix step syntax 2024-06-05 14:03:06 +02:00
Erwan MATHIEU
7c435a1bd5 Call dispatch in a step 2024-06-05 14:01:13 +02:00
Erwan MATHIEU
1972ca2f6c Restore part of the call 2024-06-05 13:57:46 +02:00
Erwan MATHIEU
72cc8d5b57 Remove part of possibly faulty code 2024-06-05 13:56:44 +02:00
Erwan MATHIEU
c398314175 Attempt to fix the syntax 2024-06-05 13:55:43 +02:00
Erwan MATHIEU
e94caa2e3a Call actions with absolute path 2024-06-05 13:52:12 +02:00
Erwan MATHIEU
3a18950c20 Fix syntax 2024-06-05 13:43:43 +02:00
Erwan MATHIEU
26c450d56c Set proper token, and wait 2024-06-05 13:31:33 +02:00
Erwan MATHIEU
b45cb03c08 Call package release remotely 2024-06-05 13:25:22 +02:00
Erwan MATHIEU
94b4bbb87f Give access token as regular input 2024-06-05 13:02:08 +02:00
Erwan MATHIEU
9a94272374 Give PAT directly into secrets 2024-06-05 12:04:11 +02:00
Erwan MATHIEU
30dc16e687 Give specific token to package creation action 2024-06-05 11:56:11 +02:00
Erwan MATHIEU
4a1c9de312 Allow entering a short version number 2024-06-05 09:50:02 +02:00
Erwan MATHIEU
05abc7fafb Use proper string syntax 2024-06-05 09:29:17 +02:00
Erwan MATHIEU
1133bc13b0 Remove version for direct script call 2024-06-05 09:27:20 +02:00
Erwan MATHIEU
3808a56600 Fix indendation 2024-06-05 09:24:55 +02:00
Erwan MATHIEU
b12520b8fd Remove version for direct script call 2024-06-05 09:23:38 +02:00
Erwan MATHIEU
7e6a03caf7 Use the proper path to call workflows 2024-06-05 09:21:42 +02:00
Erwan MATHIEU
b71662f4dd Add scripts for process automation 2024-06-05 09:19:10 +02:00
Erwan MATHIEU
f76deb71ab Use workflows from dev branch 2024-06-03 12:17:25 +02:00
Erwan MATHIEU
f1c0859325 Use workflow from branch (for testing) 2024-05-31 16:39:34 +02:00
Erwan MATHIEU
c6b66b369a Make the installers worfklow callable 2024-05-31 15:33:34 +02:00
Erwan MATHIEU
dca3cb2cca Fix wrong variable given to script 2024-05-28 09:18:46 +02:00
Erwan MATHIEU
f4349be84a Fix diagnose script to match post script 2024-05-28 09:03:46 +02:00
Erwan MATHIEU
5681bf6507 Fix wrong file path 2024-05-28 08:53:19 +02:00
Erwan MATHIEU
811c859fc5 Fix indentation 2024-05-28 08:43:48 +02:00
Erwan MATHIEU
32cac847b4 Update the printer-linter post actions to use the last version of inner action
This is actually required to fix an issue where it was possible to inject malicious code into the environment variables when using a PR that changed the diagnose script. At the same time, it is also good practice to use the last version of the called clang-tidy-pr-comments action.
2024-05-27 09:00:40 +02:00
Erwan MATHIEU
170c511568 Reduce permissions on printer-linter GitHub actions
Previously they had no permission set, so by default all write access. We now specify only the required permissions for each of them.
2024-05-23 11:49:35 +02:00
HellAholic
b0bd3a2d1f
Update linux.yml 2024-05-22 15:36:15 +02:00
HellAholic
4eceea1402
Update linux.yml 2024-05-22 14:48:10 +02:00
HellAholic
0912c62b34
use branch workflow rather than main for testing 2024-05-18 18:51:32 +02:00
HellAholic
5d7deeb94a change the default to self-hosted
change the default to self-hosted
2024-05-17 14:03:56 +02:00
HellAholic
8d961a5827 Update linux.yml 2024-05-17 13:45:59 +02:00
HellAholic
bd343c0abd Update linux.yml
add self-hosted-Linux-X64 to options
2024-05-17 11:45:58 +02:00
Jelle Spijker
e1603f3efd
Use testing for cura_resources
Contribute to NP-186
2024-05-10 13:30:49 +02:00
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
HellAholic
34491402de
Update SlicingCrash.yaml 2024-04-28 16:31:22 +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