From 38e3f94b6e288240a9057f6585b9e79214059b57 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 10:12:05 +0000 Subject: [PATCH 01/47] Update .drone.yml --- .drone.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 741c4e8..c849525 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,9 +5,17 @@ type: docker steps: - name: code-analysis pull: if-not-exists - image: sonarsource/sonar-scanner-cli + image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - sonar-scanner -Dsonar.host.url=$SONAR_HOST -Dsonar.login=$SONAR_TOKEN -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.projectVersion=$DRONE_REPO_BRANCH-$DRONE_COMMIT-$DRONE_COMMIT_AUTHOR -Dsonar.qualitygate.wait=true + - apt-get update && apt-get install -y unzip + - curl -LsS https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/5.3.1.35617/sonar-scanner-msbuild-5.3.1.35617-netcoreapp2.0.zip -o sonar-scanner.zip + - unzip sonar-scanner.zip -d /usr/local/sonar-scanner + - rm sonar-scanner.zip + - export PATH="/usr/local/sonar-scanner/sonar-scanner-4.6.2.2472-linux/bin:$PATH" + - dotnet tool install --global dotnet-sonarscanner + - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview + - dotnet build + - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN" environment: SONAR_HOST: from_secret: sonar_host @@ -16,6 +24,7 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key + trigger: event: - push From 7b40ac0fe35db45087c2d1e2807329ce3e1a02cc Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 10:16:18 +0000 Subject: [PATCH 02/47] Update .drone.yml --- .drone.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index c849525..e940dc3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,10 +8,6 @@ steps: image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - apt-get update && apt-get install -y unzip - - curl -LsS https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/5.3.1.35617/sonar-scanner-msbuild-5.3.1.35617-netcoreapp2.0.zip -o sonar-scanner.zip - - unzip sonar-scanner.zip -d /usr/local/sonar-scanner - - rm sonar-scanner.zip - - export PATH="/usr/local/sonar-scanner/sonar-scanner-4.6.2.2472-linux/bin:$PATH" - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - dotnet build From 74649fd6e1fa5dfff81a9099428475c875f769c6 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 10:18:34 +0000 Subject: [PATCH 03/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index e940dc3..1f6c32f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,7 @@ steps: image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - apt-get update && apt-get install -y unzip + - export PATH="$PATH:/root/.dotnet/tools" - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - dotnet build From bf7de8a07a56ff45cc8e0f2baad579b3ca1eeea9 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 10:20:03 +0000 Subject: [PATCH 04/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 1f6c32f..1dd7542 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,7 @@ steps: from_secret: sonar_project_key + trigger: event: - push From 11406f21a9be1f9f2beadb6300318b4994e790b4 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 10:24:59 +0000 Subject: [PATCH 05/47] Update .drone.yml --- .drone.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1dd7542..9f5cc4a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,8 +21,6 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key - - trigger: event: - push From b51092c34dca2af97ca9e089f3597763110bb72d Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 10:31:22 +0000 Subject: [PATCH 06/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 9f5cc4a..1f6c32f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,6 +21,7 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key + trigger: event: - push From 3693d995d9813f10cdf9788049f38382d1f1e62e Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:07:32 +0000 Subject: [PATCH 07/47] Update .drone.yml --- .drone.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1f6c32f..9f5cc4a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,6 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key - trigger: event: - push From b5a56e39ba296e5e714d8ae791481f3127d8f831 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:08:23 +0000 Subject: [PATCH 08/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 9f5cc4a..1f6c32f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,6 +21,7 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key + trigger: event: - push From f490dde50791f80302e6c3b9584f3caa46af6e51 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:24:58 +0000 Subject: [PATCH 09/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 1f6c32f..f44a012 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,7 @@ steps: commands: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" + - ls - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - dotnet build From 07509552246c6f0ff954c01b6286315424abf441 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:25:51 +0000 Subject: [PATCH 10/47] Update .drone.yml --- .drone.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f44a012..8b55112 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,6 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key - trigger: event: - push From 0562f6f11a31e3c8cb59c64245eaa3665a631f9b Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:28:17 +0000 Subject: [PATCH 11/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 8b55112..f44a012 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,7 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key + trigger: event: - push From 496acc39a7ce21719510ea230bb80816ff44eaab Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:32:15 +0000 Subject: [PATCH 12/47] Update .drone.yml --- .drone.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f44a012..8b55112 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,6 @@ steps: SONAR_PROJECT_KEY: from_secret: sonar_project_key - trigger: event: - push From 8ba53d225ee5eaaaf8b8334e229b42c58e4e6c34 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:38:12 +0000 Subject: [PATCH 13/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 8b55112..adcb1cc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,7 @@ steps: - ls - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview + - dotnet restore - dotnet build - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN" environment: From 9c4bd7d89afca58cb7a8d981c1ba4eb537f4ca2c Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:51:56 +0000 Subject: [PATCH 14/47] Update .drone.yml --- .drone.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.drone.yml b/.drone.yml index adcb1cc..8fe9f70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,12 @@ name: sonarcube type: docker steps: + - name: unity-build-tests + image: docker.io/library/unity-test-runner:0.1 + commands: + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution | true + + - name: code-analysis pull: if-not-exists image: mcr.microsoft.com/dotnet/sdk:6.0 From 7d93b60c7b219d8d6a79d0957d743b1af734ecb5 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:55:24 +0000 Subject: [PATCH 15/47] Update .drone.yml --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8fe9f70..2801053 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,8 +6,8 @@ steps: - name: unity-build-tests image: docker.io/library/unity-test-runner:0.1 commands: - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution | true - + - ls + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution - name: code-analysis pull: if-not-exists From a87d1a7a7fca0a430d40f7724879b084c3480c40 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 11:58:55 +0000 Subject: [PATCH 16/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2801053..a3e16f0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: image: docker.io/library/unity-test-runner:0.1 commands: - ls - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution -quit - name: code-analysis pull: if-not-exists From 543387911b1a2a3f9c81119587e96942122cef02 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 12:05:22 +0000 Subject: [PATCH 17/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index a3e16f0..7643f66 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,7 @@ steps: commands: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution -quit + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution -quit - name: code-analysis pull: if-not-exists From aae6f594978af607801c71ff955a0efbb2711a39 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 12:29:59 +0000 Subject: [PATCH 18/47] Update .drone.yml --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7643f66..fee9bcb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,7 @@ steps: image: docker.io/library/unity-test-runner:0.1 commands: - ls - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution -quit - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution -quit + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - name: code-analysis pull: if-not-exists From ee3dc7e20d1d5eed5911ad83da7debe88d95bcc5 Mon Sep 17 00:00:00 2001 From: jeldgees Date: Wed, 8 Mar 2023 13:30:31 +0100 Subject: [PATCH 19/47] Added script --- Assets/Editor.meta | 8 ++++++++ Assets/Editor/CreateSolution.cs | 17 +++++++++++++++++ Assets/Editor/CreateSolution.cs.meta | 11 +++++++++++ .../com.github.homuler.mediapipe/Runtime.meta | 8 ++++++++ .../Runtime/Plugins.meta | 8 ++++++++ 5 files changed, 52 insertions(+) create mode 100644 Assets/Editor.meta create mode 100644 Assets/Editor/CreateSolution.cs create mode 100644 Assets/Editor/CreateSolution.cs.meta create mode 100644 Packages/com.github.homuler.mediapipe/Runtime.meta create mode 100644 Packages/com.github.homuler.mediapipe/Runtime/Plugins.meta diff --git a/Assets/Editor.meta b/Assets/Editor.meta new file mode 100644 index 0000000..4a662e2 --- /dev/null +++ b/Assets/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e01322a7098f28e45886c817e37337b5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Editor/CreateSolution.cs b/Assets/Editor/CreateSolution.cs new file mode 100644 index 0000000..5078216 --- /dev/null +++ b/Assets/Editor/CreateSolution.cs @@ -0,0 +1,17 @@ +#if UNITY_EDITOR +using Microsoft.Unity.VisualStudio.Editor; +using UnityEditor; + +namespace GitTools +{ + public static class Solution + { + public static void Sync() + { + ProjectGeneration projectGeneration = new ProjectGeneration(); + AssetDatabase.Refresh(); + projectGeneration.GenerateAndWriteSolutionAndProjects(); + } + } +} +#endif \ No newline at end of file diff --git a/Assets/Editor/CreateSolution.cs.meta b/Assets/Editor/CreateSolution.cs.meta new file mode 100644 index 0000000..df9c30c --- /dev/null +++ b/Assets/Editor/CreateSolution.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5deafa746aeb89e459b500f7ff3ec2dd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.github.homuler.mediapipe/Runtime.meta b/Packages/com.github.homuler.mediapipe/Runtime.meta new file mode 100644 index 0000000..233adb8 --- /dev/null +++ b/Packages/com.github.homuler.mediapipe/Runtime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 164f44c65e982f348b45f19ac022d0ac +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.github.homuler.mediapipe/Runtime/Plugins.meta b/Packages/com.github.homuler.mediapipe/Runtime/Plugins.meta new file mode 100644 index 0000000..fd3bdc8 --- /dev/null +++ b/Packages/com.github.homuler.mediapipe/Runtime/Plugins.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e7087b2c36f3b0741be3b1dea1254a15 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: From 6150f6c0bf1383a5cb9112ab00b5a38e67de190a Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 12:33:16 +0000 Subject: [PATCH 20/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index fee9bcb..c7b25f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - dotnet restore - - dotnet build + - dotnet build src.sln - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN" environment: SONAR_HOST: From 718c0322e6aab7b4a1955aaf15ef48206a76a709 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 12:57:23 +0000 Subject: [PATCH 21/47] Update .drone.yml --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index c7b25f9..739e636 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,10 +17,7 @@ steps: - export PATH="$PATH:/root/.dotnet/tools" - ls - dotnet tool install --global dotnet-sonarscanner - - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - - dotnet restore - - dotnet build src.sln - - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN" + environment: SONAR_HOST: from_secret: sonar_host From 250019f29c8b6b9fb67c9aaf51be23330e686b95 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:01:23 +0000 Subject: [PATCH 22/47] Update .drone.yml --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 739e636..69a3b4b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,6 +16,8 @@ steps: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" - ls + - rm Assembly-CSharp-Editor.csproj + - rm Assembly-CSharp.csproj - dotnet tool install --global dotnet-sonarscanner environment: From e61cc0d701e3846c2e8fbd7cf302e247d2797057 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:06:16 +0000 Subject: [PATCH 23/47] Update .drone.yml --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index 69a3b4b..b52887b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,11 @@ steps: - rm Assembly-CSharp-Editor.csproj - rm Assembly-CSharp.csproj - dotnet tool install --global dotnet-sonarscanner + - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview + - dotnet restore + - dotnet build + - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN" + environment: SONAR_HOST: From 3a1cb5191d2f10fa2fb9568297625f8e49c60fc3 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:08:14 +0000 Subject: [PATCH 24/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b52887b..c9a8cb2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,7 @@ steps: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" - ls - - rm Assembly-CSharp-Editor.csproj + # - rm Assembly-CSharp-Editor.csproj - rm Assembly-CSharp.csproj - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview From 121efc874dfb6a8918157d0524e6985a73d86b00 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:10:23 +0000 Subject: [PATCH 25/47] Update .drone.yml --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index c9a8cb2..42dc930 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,9 +15,10 @@ steps: commands: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" - - ls + - rm src.sln # - rm Assembly-CSharp-Editor.csproj - rm Assembly-CSharp.csproj + - ls - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - dotnet restore From 5536a808e0b8acbf08e7dfb7211d5aabeb0db61f Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:13:02 +0000 Subject: [PATCH 26/47] Update .drone.yml --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 42dc930..b2c1f8e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,8 +16,8 @@ steps: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" - rm src.sln - # - rm Assembly-CSharp-Editor.csproj - - rm Assembly-CSharp.csproj + - rm Assembly-CSharp-Editor.csproj + # - rm Assembly-CSharp.csproj - ls - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview From 7c627e84c69877d9796eb85a58fb9c0b8c66027c Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:16:45 +0000 Subject: [PATCH 27/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b2c1f8e..b8ce372 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: code-analysis pull: if-not-exists - image: mcr.microsoft.com/dotnet/sdk:6.0 + image: mcr.microsoft.com/dotnet/sdk:4.7.1 commands: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" From b1a765ace5874354eaad839287217725ce1083df Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:25:40 +0000 Subject: [PATCH 28/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b8ce372..9e0239b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: code-analysis pull: if-not-exists - image: mcr.microsoft.com/dotnet/sdk:4.7.1 + image: mcr.microsoft.com/dotnet/framework/runtime:4.7.1 commands: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" From 7429a91acdde34553c9987093af58b889d2f23eb Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:28:10 +0000 Subject: [PATCH 29/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9e0239b..125a951 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: code-analysis pull: if-not-exists - image: mcr.microsoft.com/dotnet/framework/runtime:4.7.1 + image: mcr.microsoft.com/dotnet/framework/runtime:4.8.1 commands: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" From 1ce182e769e7dccb9d09a170789a8c723a48368a Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Wed, 8 Mar 2023 13:45:44 +0000 Subject: [PATCH 30/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 125a951..8301449 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ steps: commands: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - + - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists image: mcr.microsoft.com/dotnet/framework/runtime:4.8.1 From 091e77e3c7883e088acf156a253fcbe6d70d8039 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Thu, 9 Mar 2023 23:32:04 +0000 Subject: [PATCH 31/47] Update .drone.yml --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 8301449..af82c08 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,7 @@ steps: - rm src.sln - rm Assembly-CSharp-Editor.csproj # - rm Assembly-CSharp.csproj + - cat Assembly-CSharp.csproj - ls - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview From 630241db6d16d83be1ef63fee9ea935fd62a816c Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Thu, 9 Mar 2023 23:36:25 +0000 Subject: [PATCH 32/47] Update .drone.yml --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index af82c08..e7e0b84 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,8 @@ steps: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - cat Assembly-CSharp.csproj + - sed -i 's/4.0/6.0/g' Assembly-CSharp.csproj + - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists image: mcr.microsoft.com/dotnet/framework/runtime:4.8.1 From ed5c5bd918817df426eb08d7ef31d8dd1d38f619 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Thu, 9 Mar 2023 23:37:42 +0000 Subject: [PATCH 33/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e7e0b84..38ba304 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists - image: mcr.microsoft.com/dotnet/framework/runtime:4.8.1 + image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" From 9c1bd1ce4264d176268000eb4019c129e268a178 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Thu, 9 Mar 2023 23:41:47 +0000 Subject: [PATCH 34/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 38ba304..801d0ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - cat Assembly-CSharp.csproj - - sed -i 's/4.0/6.0/g' Assembly-CSharp.csproj + - sed -i 's/4.7.1/6.0/g' Assembly-CSharp.csproj - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists From ab67ef7bbecc34b818d20842182531c2a58bd0da Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Thu, 9 Mar 2023 23:53:33 +0000 Subject: [PATCH 35/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 801d0ec..86ef2da 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - cat Assembly-CSharp.csproj - - sed -i 's/4.7.1/6.0/g' Assembly-CSharp.csproj + - sed -i 's/4.7.1/6.0.406/g' Assembly-CSharp.csproj - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists From 9aeb0cc49ba36a9c59c0c54ab779098f0506d4ad Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Thu, 9 Mar 2023 23:55:59 +0000 Subject: [PATCH 36/47] Update .drone.yml --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 86ef2da..402c35c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,11 +9,11 @@ steps: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - cat Assembly-CSharp.csproj - - sed -i 's/4.7.1/6.0.406/g' Assembly-CSharp.csproj + - sed -i 's/4.7.1/6.0/g' Assembly-CSharp.csproj - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists - image: mcr.microsoft.com/dotnet/sdk:6.0 + image: mcr.microsoft.com/dotnet/aspnet:6.0 commands: - apt-get update && apt-get install -y unzip - export PATH="$PATH:/root/.dotnet/tools" From 465774a1fb1b2a93fde85e31c4a525d6311a8435 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 00:00:36 +0000 Subject: [PATCH 37/47] Update .drone.yml --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 402c35c..61cd92a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,20 +9,20 @@ steps: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - cat Assembly-CSharp.csproj - - sed -i 's/4.7.1/6.0/g' Assembly-CSharp.csproj + - sed -i 's/4.7.1/7.0/g' Assembly-CSharp.csproj - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists - image: mcr.microsoft.com/dotnet/aspnet:6.0 + image: FROM ghcr.io/nosinovacao/dotnet-sonar:latest commands: - - apt-get update && apt-get install -y unzip - - export PATH="$PATH:/root/.dotnet/tools" + # - apt-get update && apt-get install -y unzip + # - export PATH="$PATH:/root/.dotnet/tools" - rm src.sln - rm Assembly-CSharp-Editor.csproj # - rm Assembly-CSharp.csproj - cat Assembly-CSharp.csproj - ls - - dotnet tool install --global dotnet-sonarscanner + # - dotnet tool install --global dotnet-sonarscanner - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - dotnet restore - dotnet build From aa27c268725444fe28942e2be98ec8b422325d4f Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 00:02:17 +0000 Subject: [PATCH 38/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 61cd92a..2c23529 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists - image: FROM ghcr.io/nosinovacao/dotnet-sonar:latest + image: ghcr.io/nosinovacao/dotnet-sonar:latest commands: # - apt-get update && apt-get install -y unzip # - export PATH="$PATH:/root/.dotnet/tools" From eacd7e162359bdb873b1302aceb3306b710d1a56 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 00:10:33 +0000 Subject: [PATCH 39/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2c23529..0060656 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,7 +23,7 @@ steps: - cat Assembly-CSharp.csproj - ls # - dotnet tool install --global dotnet-sonarscanner - - dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview + - dotnet /sonar-scanner/SonarScanner.MSBuild.dll begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - dotnet restore - dotnet build - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN" From 7e95c1159d274b9a9c4053bf0a12e793d514560e Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 00:18:04 +0000 Subject: [PATCH 40/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0060656..d602512 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - cat Assembly-CSharp.csproj - - sed -i 's/4.7.1/7.0/g' Assembly-CSharp.csproj + - sed -i 's/v4.7.1/net7.0/g' Assembly-CSharp.csproj - cat Assembly-CSharp.csproj - name: code-analysis pull: if-not-exists From 1e8209be6c217001023e8d1051296556f38cdb26 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 17:19:49 +0000 Subject: [PATCH 41/47] Update .drone.yml --- .drone.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6bbc4ad..d592a3b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,8 +55,8 @@ trigger: - pull_request steps: - - name: unity-build-tests - image: docker.io/library/unity-test-runner:0.1 + - name: unity-tests + image: docker.io/library/unity-runner:0.1 commands: - /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_editmode.xml -testPlatform EditMode || true - /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_playmode.xml -testPlatform PlayMode || true @@ -64,4 +64,23 @@ steps: - name: tests-parser image: docker.io/library/unity-test-parser:0.1 commands: - - python /app/unity_test_parser.py results_editmode.xml results_playmode.xml + - python /app/unity_test_parser.py results_editmode.xml results_playmode.xml + +--- +kind: pipeline +name: builds +type: docker + +trigger: + event: + - push + - pull_request + +steps: + - name: unity-builds + image: docker.io/library/unity-runner:0.1 + commands: + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WiiSign.exe -quit --headless + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless + - curl --request POST --header "PRIVATE-TOKEN: ixKiNbp48zzmP5PF-epo" --form "file=WiiSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" From e86a781644e67ff3e0064c64296abbe82da0d927 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 17:23:57 +0000 Subject: [PATCH 42/47] Update .drone.yml --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d592a3b..e4a6847 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ clone: steps: - name: unity-build-tests - image: docker.io/library/unity-test-runner:0.1 + image: docker.io/library/unity-runner:0.1 commands: - ls - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit @@ -83,4 +83,4 @@ steps: - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WiiSign.exe -quit --headless - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless - - curl --request POST --header "PRIVATE-TOKEN: ixKiNbp48zzmP5PF-epo" --form "file=WiiSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" + - curl --request POST --header "PRIVATE-TOKEN:\ ixKiNbp48zzmP5PF-epo" --form "file=WiiSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" From 7b99becf99fe885298d9a5eb06a6f401fe801ad8 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 17:34:56 +0000 Subject: [PATCH 43/47] Update .drone.yml --- .drone.yml | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/.drone.yml b/.drone.yml index e4a6847..8af4bde 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,51 +1,4 @@ kind: pipeline -name: sonarcube -type: docker - -clone: - retries: 10 - -steps: - - name: unity-build-tests - image: docker.io/library/unity-runner:0.1 - commands: - - ls - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -executeMethod GitTools.Solution.Sync -quit - - cat Assembly-CSharp.csproj - - sed -i 's/v4.7.1/net7.0/g' Assembly-CSharp.csproj - - cat Assembly-CSharp.csproj - - name: code-analysis - pull: if-not-exists - image: ghcr.io/nosinovacao/dotnet-sonar:latest - commands: - # - apt-get update && apt-get install -y unzip - # - export PATH="$PATH:/root/.dotnet/tools" - - rm src.sln - - rm Assembly-CSharp-Editor.csproj - # - rm Assembly-CSharp.csproj - - cat Assembly-CSharp.csproj - - ls - # - dotnet tool install --global dotnet-sonarscanner - - dotnet /sonar-scanner/SonarScanner.MSBuild.dll begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview - - dotnet restore - - dotnet build - - dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN" - - - environment: - SONAR_HOST: - from_secret: sonar_host - SONAR_TOKEN: - from_secret: sonar_token - SONAR_PROJECT_KEY: - from_secret: sonar_project_key - -trigger: - event: - - push - - pull_request ---- -kind: pipeline name: tests type: docker From 5b96f3463b521b6f106edb67e12e7dfd57c26ca4 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 17:35:24 +0000 Subject: [PATCH 44/47] Update .drone.yml --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8af4bde..5f91a08 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,7 +33,7 @@ steps: - name: unity-builds image: docker.io/library/unity-runner:0.1 commands: - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WiiSign.exe -quit --headless - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless - - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless - - curl --request POST --header "PRIVATE-TOKEN:\ ixKiNbp48zzmP5PF-epo" --form "file=WiiSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" + - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WeSign.exe -quit --headless +# - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless +# - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless + - curl --request POST --header "PRIVATE-TOKEN:\ ixKiNbp48zzmP5PF-epo" --form "file=WeSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" From d1f275819283c3194b5c305ca457cff6de36315b Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 17:54:54 +0000 Subject: [PATCH 45/47] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5f91a08..74e8980 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,4 +36,4 @@ steps: - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WeSign.exe -quit --headless # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless - - curl --request POST --header "PRIVATE-TOKEN:\ ixKiNbp48zzmP5PF-epo" --form "file=WeSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" + - curl --request POST --header PRIVATE-TOKEN:ixKiNbp48zzmP5PF-epo --form "file=WeSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" From 5a3613bc4fa8b895068c885ef9459a8753407159 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 19:24:34 +0000 Subject: [PATCH 46/47] Update .drone.yml --- .drone.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 74e8980..b2f28ee 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,4 +36,16 @@ steps: - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WeSign.exe -quit --headless # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless - - curl --request POST --header PRIVATE-TOKEN:ixKiNbp48zzmP5PF-epo --form "file=WeSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" + - name: commit-files + image: docker + environment: + GIT_AUTHOR_NAME: DroneCI + GIT_AUTHOR_EMAIL: droneci@wesign.com + GIT_COMMITTER_NAME: DroneCI + GIT_COMMITTER_EMAIL: droneci@wesign.com + commands: + - git config --global user.name "DroneCI" + - git config --global user.email "droneci@wesign.com" + - git add WeSign.exe + - git commit -m "Add build files [skip ci]" + - git push From 3b63483d5b2de8f7bedf9d8e94e4acdeec286d25 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Fri, 10 Mar 2023 19:31:06 +0000 Subject: [PATCH 47/47] Update .drone.yml --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b2f28ee..dcc8b2a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,7 +37,7 @@ steps: # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless - name: commit-files - image: docker + image: alpine/git environment: GIT_AUTHOR_NAME: DroneCI GIT_AUTHOR_EMAIL: droneci@wesign.com @@ -48,4 +48,4 @@ steps: - git config --global user.email "droneci@wesign.com" - git add WeSign.exe - git commit -m "Add build files [skip ci]" - - git push + - git push https://oauth2:ixKiNbp48zzmP5PF-epo@gitlab.ilabt.imec.be/wesign/unity-application/