Skip to content

Commit

Permalink
chore: remove sentry plugin (#6242)
Browse files Browse the repository at this point in the history
* chore: remove sentry plugin

* chore: remove circle CI config for sentry

* Removed sentry from test bash scripts
  • Loading branch information
aixaCode authored Aug 1, 2024
1 parent 4a2f0ec commit d74c812
Show file tree
Hide file tree
Showing 44 changed files with 10 additions and 746 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,10 @@ jobs:
sudo apt-get install -y jq
- checkout
- run:
name: Update sentry params and Components and Renderer Protocol code generation
name: Update Components and Renderer Protocol code generation
command: |
cd scripts
npm install
npm run inject-sentry-params
npm run build-protocol

# persist to workspace to use in downstream jobs
Expand Down
2 changes: 0 additions & 2 deletions ci-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ source ci-setup.sh

echo "Running benchmark tests for $PROJECT_PATH"

disable_sentry

xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' $UNITY_PATH/Editor/Unity \
-batchmode \
-projectPath "$PROJECT_PATH" \
Expand Down
3 changes: 0 additions & 3 deletions ci-editmode-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ source ci-setup.sh

echo "Running editmode tests for $PROJECT_PATH"

# Disable Sentry
disable_sentry

xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' $UNITY_PATH/Editor/Unity \
-batchmode \
-projectPath "$PROJECT_PATH" \
Expand Down
3 changes: 0 additions & 3 deletions ci-playmode-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ source ci-setup.sh

echo "Running playmode tests for $PROJECT_PATH"

# Disable Sentry
disable_sentry

xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' $UNITY_PATH/Editor/Unity \
-batchmode \
-projectPath "$PROJECT_PATH" \
Expand Down
6 changes: 0 additions & 6 deletions ci-setup.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/usr/bin/env bash

function disable_sentry()
{
# Disable Sentry
sed -i 's/<Enabled>k__BackingField: 1/<Enabled>k__BackingField: 0/' unity-renderer/Assets/Resources/Sentry/SentryOptions.asset
}

export PROJECT_PATH
PROJECT_PATH="$(pwd)/unity-renderer"

Expand Down
2 changes: 0 additions & 2 deletions convert-asset-bundles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ mkdir -p "$OUTPUT_DIR"
echo "Running AB conversor for sceneId $SCENE_ID at $CONTENT_URL > $OUTPUT_DIR"
echo "Project path: $PROJECT_PATH"

disable_sentry

xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' "$UNITY_PATH/Editor/Unity" \
-batchmode \
-projectPath "$PROJECT_PATH" \
Expand Down
1 change: 0 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "1.0.0",
"description": "",
"scripts": {
"inject-sentry-params": "ts-node --project src/tsconfig.json src/inject-sentry-params.ts",
"build-protocol": "ts-node --project src/tsconfig.json src/build-protocol.ts"
},
"private": true,
Expand Down
76 changes: 0 additions & 76 deletions scripts/src/inject-sentry-params.ts

This file was deleted.

8 changes: 0 additions & 8 deletions unity-renderer/Assets/DCLPlugins/SentryPlugin.meta

This file was deleted.

This file was deleted.

This file was deleted.

94 changes: 0 additions & 94 deletions unity-renderer/Assets/DCLPlugins/SentryPlugin/SentryController.cs

This file was deleted.

This file was deleted.

38 changes: 0 additions & 38 deletions unity-renderer/Assets/DCLPlugins/SentryPlugin/SentryPlugin.cs

This file was deleted.

11 changes: 0 additions & 11 deletions unity-renderer/Assets/DCLPlugins/SentryPlugin/SentryPlugin.cs.meta

This file was deleted.

3 changes: 0 additions & 3 deletions unity-renderer/Assets/DCLPlugins/SentryPlugin/Tests.meta

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d74c812

Please sign in to comment.