From 2dcec17905a37e0d1b41a5d6ac104662bf0fb17d Mon Sep 17 00:00:00 2001 From: Alexis Erazo Date: Mon, 14 Apr 2025 11:38:06 -0500 Subject: [PATCH 1/7] DYN-8030: PM artifact. --- pipeline.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pipeline.yml b/pipeline.yml index c160361..4a19bb5 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -56,8 +56,10 @@ deployment: type: artifacts allow_branches: master publish_to_artifactory: false - publish_to_jenkins: true + publish_to_jenkins: false + publish_to_package_manager: true scripts: - "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path .\\package_output\\DSIronPython -DestinationPath .\\DSIronPythonPackage.zip" + package_version: 1.0.${env.BUILD_NUMBER} outputs: - "DSIronPythonPackage.zip" From 057f8c0ee887a3d0d3a971ee46c67853d2f7b449 Mon Sep 17 00:00:00 2001 From: AlexisErazoGlobant <168037709+AlexisErazoGlobant@users.noreply.github.com> Date: Wed, 16 Apr 2025 09:06:58 -0500 Subject: [PATCH 2/7] Remove package_version. --- pipeline.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/pipeline.yml b/pipeline.yml index 4a19bb5..6edac4b 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -60,6 +60,5 @@ deployment: publish_to_package_manager: true scripts: - "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path .\\package_output\\DSIronPython -DestinationPath .\\DSIronPythonPackage.zip" - package_version: 1.0.${env.BUILD_NUMBER} outputs: - "DSIronPythonPackage.zip" From 5abebbdc9a066279d02c2c4b74e6ad2ad8f988a6 Mon Sep 17 00:00:00 2001 From: Alexis Erazo Date: Wed, 16 Apr 2025 09:22:42 -0500 Subject: [PATCH 3/7] Update artifacts pattern to TuneUp pattern. --- pipeline.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index 4a19bb5..62496af 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -54,12 +54,10 @@ deployment: - type: artifacts - allow_branches: master + publish_to_jenkins: true publish_to_artifactory: false - publish_to_jenkins: false publish_to_package_manager: true - scripts: - - "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path .\\package_output\\DSIronPython -DestinationPath .\\DSIronPythonPackage.zip" - package_version: 1.0.${env.BUILD_NUMBER} + use_dev_pm: false + allow_branches: ".*" outputs: - "DSIronPythonPackage.zip" From c434e0a48f33122f3e0517ed8940f829c8a4271c Mon Sep 17 00:00:00 2001 From: Alexis Erazo Date: Wed, 16 Apr 2025 09:23:54 -0500 Subject: [PATCH 4/7] Merge conflicts. --- pipeline.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index f42fead..a4c89e8 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -57,12 +57,7 @@ deployment: publish_to_jenkins: true publish_to_artifactory: false publish_to_package_manager: true -<<<<<<< HEAD use_dev_pm: false allow_branches: ".*" -======= - scripts: - - "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path .\\package_output\\DSIronPython -DestinationPath .\\DSIronPythonPackage.zip" ->>>>>>> 057f8c0ee887a3d0d3a971ee46c67853d2f7b449 outputs: - - "DSIronPythonPackage.zip" + - "DSIronPythonPackage.zip" \ No newline at end of file From 439a9b80a69507091a8fdb763a0ece52760c0108 Mon Sep 17 00:00:00 2001 From: Alexis Erazo Date: Wed, 16 Apr 2025 12:39:53 -0500 Subject: [PATCH 5/7] PM publish automated. --- README.md | 11 ++++++++++- pipeline.yml | 1 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d69c4a..dc51f72 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,13 @@ Contains the DSIronPython package for using the legacy IronPython2 engine in Dynamo. Building this soluton will produce a dynamo package containing the python engine and an extension to load it. -This repo is a WIP. \ No newline at end of file +This repo is a WIP. + +### How to publish a new version +We currently can't use the release PR option when making releases on mirrored repositories. There is a propsed follow-up improvment filed that would allow CILibrary to create a PR against the public repository instead (DYN-8724). But until that is done, our release process will be: + +- Create a release branch on the internal repository +- Build the branch to publish +- Manually create a PR on the public repository with the changes introduced by the release branch (the updated version number in the pipeline file). +- Review and merge this PR +- Delete the release branch on the internal repository \ No newline at end of file diff --git a/pipeline.yml b/pipeline.yml index a4c89e8..13fdd19 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -58,6 +58,5 @@ deployment: publish_to_artifactory: false publish_to_package_manager: true use_dev_pm: false - allow_branches: ".*" outputs: - "DSIronPythonPackage.zip" \ No newline at end of file From 83480e3285a62437aa997e3a2fee3c67f6fa990c Mon Sep 17 00:00:00 2001 From: AlexisErazoGlobant <168037709+AlexisErazoGlobant@users.noreply.github.com> Date: Wed, 16 Apr 2025 12:58:40 -0500 Subject: [PATCH 6/7] Update versions. --- pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index 13fdd19..bccfef0 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -1,4 +1,4 @@ -version: 3.1.0 +version: 3.2.1 env: - JENKINS_NODE_WIN: "CDA-VS22-SVC" - SLACK_QUANTUM_BUILD_CHANNEL : "#dynamo-jenkinsbuild" @@ -59,4 +59,4 @@ deployment: publish_to_package_manager: true use_dev_pm: false outputs: - - "DSIronPythonPackage.zip" \ No newline at end of file + - "DSIronPythonPackage.zip" From ca2d186bc199e8d12702de79a979ab7a66222443 Mon Sep 17 00:00:00 2001 From: Alexis Erazo Date: Mon, 21 Apr 2025 09:33:17 -0500 Subject: [PATCH 7/7] Solving comments. --- pipeline.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pipeline.yml b/pipeline.yml index bccfef0..91c3157 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -1,6 +1,6 @@ version: 3.2.1 env: - - JENKINS_NODE_WIN: "CDA-VS22-SVC" + - JENKINS_NODE_WIN: "CDA-VS22-DT" - SLACK_QUANTUM_BUILD_CHANNEL : "#dynamo-jenkinsbuild" - SLACK_QUANTUM_BUILD_CREDENTIAL_ID : "slack-notify-token" - MAIL_QUANTUM_BUILD_RECIPIENT : "dynamo.dev@autodesk.com" @@ -58,5 +58,7 @@ deployment: publish_to_artifactory: false publish_to_package_manager: true use_dev_pm: false + scripts: + - "pwsh.exe -ExecutionPolicy ByPass -Command Compress-Archive -Path .\\package_output\\DSIronPython -DestinationPath .\\DSIronPythonPackage.zip" outputs: - "DSIronPythonPackage.zip"