Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Je/plat 11910 use aliases in pipeline #790

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ steps:
- scripts/ci-build-macos-packages.sh
artifact_paths:
- unity.log
- features/fixtures/maze_runner/build/MacOS-2020.3.48f1.zip
- features/fixtures/maze_runner/build/WebGL-2020.3.48f1.zip
- features/fixtures/maze_runner/build/MacOS-2020.zip
- features/fixtures/maze_runner/build/WebGL-2020.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -52,8 +52,8 @@ steps:
- scripts/ci-build-macos-packages.sh
artifact_paths:
- unity.log
- features/fixtures/maze_runner/build/MacOS-2021.3.36f1.zip
- features/fixtures/maze_runner/build/WebGL-2021.3.36f1.zip
- features/fixtures/maze_runner/build/MacOS-2021.zip
- features/fixtures/maze_runner/build/WebGL-2021.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -74,8 +74,8 @@ steps:
- scripts/ci-build-macos-packages.sh
artifact_paths:
- unity.log
- features/fixtures/maze_runner/build/MacOS-2022.3.22f1.zip
- features/fixtures/maze_runner/build/WebGL-2022.3.22f1.zip
- features/fixtures/maze_runner/build/MacOS-2022.zip
- features/fixtures/maze_runner/build/WebGL-2022.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -94,7 +94,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/MacOS-2020.3.48f1.zip
- features/fixtures/maze_runner/build/MacOS-2020.zip
upload:
- maze_output/**/*
- '*-mazerunner.log'
Expand All @@ -113,7 +113,7 @@ steps:
# plugins:
# artifacts#v1.5.0:
# download:
# - features/fixtures/maze_runner/build/MacOS-2021.3.36f1.zip
# - features/fixtures/maze_runner/build/MacOS-2021.zip
# upload:
# - maze_output/**/*
# - Mazerunner.log
Expand All @@ -130,7 +130,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/MacOS-2022.3.22f1.zip
- features/fixtures/maze_runner/build/MacOS-2022.zip
upload:
- maze_output/**/*
- '*-mazerunner.log'
Expand All @@ -152,7 +152,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/WebGL-2020.3.48f1.zip
- features/fixtures/maze_runner/build/WebGL-2020.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand All @@ -170,7 +170,7 @@ steps:
# plugins:
# artifacts#v1.5.0:
# download:
# - features/fixtures/maze_runner/build/WebGL-2021.3.36f1.zip
# - features/fixtures/maze_runner/build/WebGL-2021.zip
# upload:
# - maze_output/**/*
# # TODO: WebGL persistence tests are currently skipped pending PLAT-8151
Expand All @@ -187,7 +187,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/WebGL-2022.3.22f1.zip
- features/fixtures/maze_runner/build/WebGL-2022.zip
upload:
- maze_output/**/*
# TODO: WebGL persistence tests are currently skipped pending PLAT-8151
Expand All @@ -208,7 +208,7 @@ steps:
download:
- Bugsnag.unitypackage
upload:
- features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk
- features/fixtures/maze_runner/mazerunner_2020.apk
- features/fixtures/build_android_apk.log
commands:
- bundle install
Expand All @@ -229,7 +229,7 @@ steps:
download:
- Bugsnag.unitypackage
upload:
- features/fixtures/maze_runner/mazerunner_2022.3.22f1.apk
- features/fixtures/maze_runner/mazerunner_2022.apk
- features/fixtures/build_android_apk.log
commands:
- bundle install
Expand All @@ -250,7 +250,7 @@ steps:
# download:
# - Bugsnag.unitypackage
# upload:
# - features/fixtures/EDM_Fixture/edm_2020.3.48f1.apk
# - features/fixtures/EDM_Fixture/edm_2020.apk
# - features/scripts/buildEdmFixture.log
# - features/scripts/edmImport.log
# - features/scripts/enableEdm.log
Expand All @@ -274,7 +274,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk"
- "features/fixtures/maze_runner/mazerunner_2020.apk"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -285,7 +285,7 @@ steps:
command:
- "features/csharp"
- "features/android"
- "--app=features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk"
- "--app=features/fixtures/maze_runner/mazerunner_2020.apk"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13"
Expand All @@ -306,7 +306,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2022.3.22f1.apk"
- "features/fixtures/maze_runner/mazerunner_2022.apk"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -317,7 +317,7 @@ steps:
command:
- "features/csharp"
- "features/android"
- "--app=features/fixtures/maze_runner/mazerunner_2022.3.22f1.apk"
- "--app=features/fixtures/maze_runner/mazerunner_2022.apk"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13"
Expand All @@ -338,14 +338,14 @@ steps:
# plugins:
# artifacts#v1.5.0:
# download:
# - "features/fixtures/EDM_Fixture/edm_2020.3.48f1.apk"
# - "features/fixtures/EDM_Fixture/edm_2020.apk"
# upload:
# - "maze_output/**/*"
# docker-compose#v3.7.0:
# pull: maze-runner
# run: maze-runner
# command:
# - "--app=/app/features/fixtures/EDM_Fixture/edm_2020.3.48f1.apk"
# - "--app=/app/features/fixtures/EDM_Fixture/edm_2020.apk"
# - "--farm=bs"
# - "--device=ANDROID_11_0"
# - "features/edm"
Expand Down Expand Up @@ -391,7 +391,7 @@ steps:
- Bugsnag.unitypackage
- project_2020.tgz
upload:
- features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa
- features/fixtures/maze_runner/mazerunner_2020.ipa
- features/fixtures/unity.log
commands:
- bundle install
Expand Down Expand Up @@ -437,7 +437,7 @@ steps:
- Bugsnag.unitypackage
- project_2022.tgz
upload:
- features/fixtures/maze_runner/mazerunner_2022.3.22f1.ipa
- features/fixtures/maze_runner/mazerunner_2022.ipa
- features/fixtures/unity.log
commands:
- bundle install
Expand All @@ -459,7 +459,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa"
- "features/fixtures/maze_runner/mazerunner_2020.ipa"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -470,7 +470,7 @@ steps:
command:
- "features/csharp"
- "features/ios"
- "--app=features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa"
- "--app=features/fixtures/maze_runner/mazerunner_2020.ipa"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=IOS_13|IOS_14|IOS_15"
Expand All @@ -489,7 +489,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2022.3.22f1.ipa"
- "features/fixtures/maze_runner/mazerunner_2022.ipa"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -500,7 +500,7 @@ steps:
command:
- "features/csharp"
- "features/ios"
- "--app=features/fixtures/maze_runner/mazerunner_2022.3.22f1.ipa"
- "--app=features/fixtures/maze_runner/mazerunner_2022.ipa"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=IOS_13|IOS_14|IOS_15"
Expand Down Expand Up @@ -528,7 +528,7 @@ steps:
- Bugsnag.unitypackage
upload:
- unity.log
- features/fixtures/maze_runner/build/Windows-2020.3.48f1.zip
- features/fixtures/maze_runner/build/Windows-2020.zip
commands:
- scripts/ci-build-windows-fixture-wsl.sh
retry:
Expand All @@ -552,7 +552,7 @@ steps:
- Bugsnag.unitypackage
upload:
- unity.log
- features/fixtures/maze_runner/build/Windows-2021.3.36f1.zip
- features/fixtures/maze_runner/build/Windows-2021.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -574,7 +574,7 @@ steps:
- Bugsnag.unitypackage
upload:
- unity.log
- features/fixtures/maze_runner/build/Windows-2022.3.22f1.zip
- features/fixtures/maze_runner/build/Windows-2022.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -593,7 +593,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/Windows-2020.3.48f1.zip
- features/fixtures/maze_runner/build/Windows-2020.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand All @@ -611,7 +611,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/Windows-2021.3.36f1.zip
- features/fixtures/maze_runner/build/Windows-2021.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand All @@ -628,7 +628,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/Windows-2022.3.22f1.zip
- features/fixtures/maze_runner/build/Windows-2022.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand Down
13 changes: 6 additions & 7 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
aliases:
- &2020 "2020.3.48f1"
- &2021 "2021.3.36f1"

agents:
Expand Down Expand Up @@ -67,7 +66,7 @@ steps:
download:
- Bugsnag.unitypackage
upload:
- features/fixtures/maze_runner/mazerunner_2021.3.36f1.apk
- features/fixtures/maze_runner/mazerunner_2021.apk
- features/fixtures/build_android_apk.log
commands:
- bundle install
Expand Down Expand Up @@ -112,7 +111,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2021.3.36f1.apk"
- "features/fixtures/maze_runner/mazerunner_2021.apk"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -123,7 +122,7 @@ steps:
command:
- "features/csharp"
- "features/android"
- "--app=features/fixtures/maze_runner/mazerunner_2021.3.36f1.apk"
- "--app=features/fixtures/maze_runner/mazerunner_2021.apk"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13"
Expand Down Expand Up @@ -199,7 +198,7 @@ steps:
- Bugsnag.unitypackage
- project_2021.tgz
upload:
- features/fixtures/maze_runner/mazerunner_2021.3.36f1.ipa
- features/fixtures/maze_runner/mazerunner_2021.ipa
- features/fixtures/unity.log
commands:
- bundle install
Expand All @@ -221,7 +220,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2021.3.36f1.ipa"
- "features/fixtures/maze_runner/mazerunner_2021.ipa"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -233,7 +232,7 @@ steps:
command:
- "features/csharp"
- "features/ios"
- "--app=features/fixtures/maze_runner/mazerunner_2021.3.36f1.ipa"
- "--app=features/fixtures/maze_runner/mazerunner_2021.ipa"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=IOS_13|IOS_14|IOS_15"
Expand Down
2 changes: 1 addition & 1 deletion features/scripts/build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ $UNITY_PATH/Unity $DEFAULT_CLI_ARGS -projectPath $project_path -executeMethod Bu
RESULT=$?
if [ $RESULT -ne 0 ]; then exit $RESULT; fi

mv $project_path/mazerunner.apk $project_path/mazerunner_$UNITY_VERSION.apk
mv $project_path/mazerunner.apk $project_path/mazerunner_${UNITY_VERSION:0:4}.apk
2 changes: 1 addition & 1 deletion features/scripts/build_edm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ $UNITY_PATH/Unity $DEFAULT_CLI_ARGS -buildTarget Android -logFile $script_path/b
RESULT=$?
if [ $RESULT -ne 0 ]; then exit $RESULT; fi

mv $project_path/edm.apk $project_path/edm_$UNITY_VERSION.apk
mv $project_path/edm.apk $project_path/edm_${UNITY_VERSION:0:4}.apk
2 changes: 1 addition & 1 deletion features/scripts/build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ if [ $? -ne 0 ]; then
fi

# Move to known location for running (note - the name of the .ipa differs between Xcode versions)
find $project_path/output/ -name "*.ipa" -exec mv '{}' $project_path/mazerunner_$UNITY_VERSION.ipa \;
find $project_path/output/ -name "*.ipa" -exec mv '{}' $project_path/mazerunner_${UNITY_VERSION:0:4}.ipa \;
4 changes: 2 additions & 2 deletions scripts/ci-build-macos-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
./features/scripts/build_maze_runner.sh webgl

pushd features/fixtures/maze_runner/build
zip -r MacOS-$UNITY_VERSION.zip MacOS
zip -r WebGL-$UNITY_VERSION.zip WebGL
zip -r MacOS-${UNITY_VERSION:0:4}.zip MacOS
zip -r WebGL-${UNITY_VERSION:0:4}.zip WebGL
popd
2 changes: 1 addition & 1 deletion scripts/ci-build-windows-fixture-wsl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
cd features/scripts
./build_maze_runner.sh wsl
cd ../fixtures/maze_runner/build
zip -r Windows-$UNITY_VERSION.zip Windows
zip -r Windows-${UNITY_VERSION:0:4}.zip Windows
2 changes: 1 addition & 1 deletion scripts/ci-run-macos-tests-csharp.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
pushd features/fixtures/maze_runner/build
unzip MacOS-$UNITY_VERSION.zip
unzip MacOS-${UNITY_VERSION:0:4}.zip
popd

bundle install
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-run-macos-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
pushd features/fixtures/maze_runner/build
unzip MacOS-$UNITY_VERSION.zip
unzip MacOS-${UNITY_VERSION:0:4}.zip
popd

bundle install
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-run-webgl-tests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e

pushd features/fixtures/maze_runner/build
unzip WebGL-$UNITY_VERSION.zip
unzip WebGL-${UNITY_VERSION:0:4}.zip
popd

bundle install
Expand Down
Loading