Commit Graph

136 Commits

Author SHA1 Message Date
lumberyard-employee-dm d3fb2dd68c Removed the add_external_subdirectory and add_gem_cmake python scripts
as well as their remove counterparts.

Updated teh register.py script to be able to register subdirectories to
the o3de_manifest.json
Also added the ability to register external subdirectories to the
project.json if the --external-subdirectory-project-path is supplied
Added the ability to register external subdirectories to the engine.json
if the --external-subdirector-engine-path is supplied
2021-05-24 22:49:37 -05:00
lumberyard-employee-dm 1a95b96985 Fixed importing of o3de package modules within the o3de.py script when a relative path is used to invoke it 2021-05-24 13:06:43 -05:00
lumberyard-employee-dm 57bdc58c68 Renamed the unit_test_registration.py script to be unit_test_register.py to be inline with the register.py script 2021-05-24 00:49:00 -05:00
lumberyard-employee-dm e59b154139 Updated the refactored o3de command scripts to be able to run standalone by adding a main section
Removed the ability to suppress errors in the add-gem-to-cmake and add-external-subdirectory command
Reduced duplicate logic in the download.py, register.py and repo.py scripts
Removed the registration.py script and moved the registration of those comamnds directly to the o3de.py script
Reduced the exception scope in the o3de command scripts to be as constrained as possible.
For example instead of having a block of Exception for catching a dictionary KeyError, the block has been updated to just catch KeyError
Added a python test for validating the "register.py --this-engine" functionality
2021-05-23 22:10:09 -05:00
lumberyard-employee-dm b42cc19f28 Moved the preview.png from the that the o3de engine template script from cmake/Tools directory to the o3de/resources directory 2021-05-23 21:54:56 -05:00
lumberyard-employee-dm 530c9a424e Updating the manifest get_registered command to read the engine projects, gems, external_subdirectories, restricted and templates paths from the engine.json 2021-05-21 04:11:02 -05:00
lumberyard-employee-dm d422083faa Merge branch 'ly-as-sdk/LYN-2948-phistere' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/Engine-Gem-Tracking 2021-05-21 03:56:09 -05:00
lumberyard-employee-dm 470fde461f Removed engine registration from the Jenkins build scripts which builds the Engine in an engine centric manner 2021-05-21 02:04:07 -05:00
lumberyard-employee-dm a9bc8e943d Refactored the o3de registration.py script into several files which each
contains the implementation of a subparser command.

Updated the register command to be not register engine gems, templates,
projects and external subdirectories to the o3de_manifest

Updated the register-show command to be able to read the engine's gems,
templates, projects and external subdirectories from the engine.json
file
2021-05-21 01:58:54 -05:00
phistere 7a25a17fae Fixes a few issues when using an engine name different from the default 2021-05-20 09:13:01 -05:00
phistere 0ba2900fdd Fixes and issue with o3de scripts assuming the wrong directory as the engine directory 2021-05-19 12:27:02 -05:00
lumberyard-employee-dm c6b0e3562e Updating the python import paths for the o3de scripts to use the new package o3de package location 2021-05-19 00:52:28 -05:00
lumberyard-employee-dm 703c268e40 Adding a setup.py and a README to the scripts/o3de folder so it can be linked as a package into the engine python runtime when python is installed via python/get_python.bat 2021-05-18 23:48:35 -05:00
lumberyard-employee-dm ec7f4c3fdc Moving the engine template unit test files into the o3de/tests folder 2021-05-18 23:15:50 -05:00
lumberyard-employee-dm 6fc1257f73 Moving the o3de python scripts to be underneath another o3de folder to allow import o3de to succeed.
The path is now scripts/o3de/o3de
2021-05-18 23:13:25 -05:00
lumberyard-employee-dm 5d42b64ff9 Moving the o3de test scripts to the tests subfolder of the package 2021-05-18 23:05:55 -05:00
lumberyard-employee-dm 548219d117 Updated the registration.py script register_engine_path function to add
a key, value mapping of engine name to engine path in the
o3de_manifest.json file

Added a pytest to validate the new engine_name -> engine_path
functionality and registered those test with CTest.

Fixed miscellaneous issues in the registration.py around incorrect
return values for get_*_data functions where some of the returns values
were integers where the return value should have been None
2021-05-18 22:23:07 -05:00
lumberyard-employee-dm f346614917 Adding __init__.py scripts to allow the name of o3de to be structured as a package 2021-05-18 21:47:03 -05:00
lumberyard-employee-dm 680a8e6fbd Moving the o3de UnitTest files to script/o3de/test folder to help with file organization 2021-05-18 21:43:13 -05:00
lumberyard-employee-dm d4a0eb3a24 Moving o3de registration scripts to the scripts/o3de folder 2021-05-17 13:03:37 -05:00
bosnichd 9ecbbe471b Remove lots of unused things from CrySystem (#765)
Remove lots of unused things from CrySystem
2021-05-14 15:38:59 -06:00
bosnichd 3d84902b24 Remove CryCommonTools (moving the three remaining files into Editor/Util which is the only place they're used). (#741)
Remove CryCommonTools (moving the three remaining files into Editor/Util which is the only place they're used).
2021-05-13 11:10:44 -06:00
bosnichd 4aff32e719 More red code (#732)
Remove:
- Code/CryEngine/CryCommon/Platform
- Some unused Code/CryEngine/CryCommon/Mock files
- Code/Tools/CryXML and almost all of Code/Tools/CryCommonTools
- Code/Tools/TestBed/ResourceCompilerImage
- Tools/DeepBandwidthToExcel
- Various .p4ignore files
2021-05-13 08:55:36 -06:00
Steve Pham 50abafbab1 Add orchestrating script to install ubuntu packages for O3DE on Linux (#721)
SPEC-3510: Linux environment setup scripts

* Add orchestrating script to install ubuntu packages for O3DE on Linux
* Fix issue parsing package content file for build-tools
2021-05-12 14:31:39 -07:00
amzn-sj 3383cfc95a Fix Jenkins failure during engine registration for iOS 2021-05-12 10:20:03 -07:00
Shirang Jia 33f7da764e Remove unneeded scripts that have internal service references (#683) 2021-05-12 10:05:42 -07:00
Steve Pham bf62687b37 Update android installation script to install gradle 7.0 2021-05-11 18:58:26 -07:00
bosnichd 3defbce31b Remove legacy serialization and QPropertyTree (#684)
Remove:
- CryCommon/CryExtension/*
- CryCommon/Serialization/*
- Sandbox/Plugins/EditorCommon/QPropertyTree/*
- All related CryCommon interfaces
- All CrySystem implementations
- Various related Editor classes
2021-05-11 09:31:02 -06:00
AMZN-AlexOteiza 591ad7f824 Added xml output for tests (#664)
Added test reporting information for jenkins
2021-05-11 12:44:27 +01:00
Terry Michaels 8ddfcabae7 Removed unneeded comments (#673) 2021-05-10 22:02:30 -05:00
Colin Byrne 43b474a4b2 O3de updates restricted download (#229)
* fix project centric set current
* Adding newline to project.json template
* Adding newline to engine.json
* Changed register -this-engine to be data driven
* adding build server support
* fix log dir
* fix add remove
* fix template creation for restricted
* fix typos and descriptions
* Add newline to the end of template.json
* Adding newline to the end of assets_scan_folders.seteg
* current_project in global project that creates/edits the .o3de/Registry/bootstrap.setreg
* fix the build server flags
* fix the o3de manifest server portion
* disable project manager tests for now. Its changed too much and lytestools is not working at the moment. I will get back to this later.
* fix the Mac build config
* disable project_test, this is the project manager. It has changed too much for these tests to work at the moment. I'll get back to them

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2021-05-10 12:03:36 -07:00
Shirang Jia 1162177d61 Create a seprate nightly pipeline to always run clean build. (#649) 2021-05-08 11:32:32 -07:00
Brian Herrera 618a02ff13 Update step to also send email to build requestor on all branches 2021-05-06 10:43:44 -07:00
Brian Herrera bdfee639d9 Update formatting 2021-05-06 09:38:31 -07:00
Brian Herrera 032500ddb9 Fix email notifications and limit to watched branches 2021-05-06 09:23:12 -07:00
Brian Herrera 1c63b6ae86 Merge pull request #481 from aws-lumberyard-dev/build-strike/fix-root-path
Fix root folder path for canary files
2021-05-03 13:19:30 -07:00
Esteban Papp b294c88e2a SPEC-5122 Git prune step fails to remove deleted branches in the work… (#442) 2021-04-30 10:43:40 -07:00
Brian Herrera a45c348f4f Fix root folder path for canary files
This is related to the previous change to move these scripts. Validator will fail to find the canary files when running the script.
2021-04-30 09:53:21 -07:00
Esteban Papp f8633f0ba8 LYN-3112 Add CMakeTestbed to github and setup the Jenkins job to use an installed version (#461) 2021-04-30 09:16:36 -07:00
Sean Sweeney 292e94fae8 Merge pull request #432 from aws-lumberyard-dev/fix_shaderlist
Fix shader list tool bug mixing positional and non-positional argparse flags
2021-04-29 18:02:40 -07:00
Shirang Jia 54e06b0f63 Update EBS deletion labmda to handle PR closed event (#406)
* Update EBS deletion labmda to handle PR closed event

* Remove print used for debugging
2021-04-29 14:07:19 -07:00
sweeneys 1234a3785a Fix shader list tool bug mixing positional and non-positional argparse flags 2021-04-29 11:19:45 -07:00
evanchia-ly-sdets 80833caf2b Merge pull request #399 from aws-lumberyard-dev/test_metrics_on_job_fail
Fixing test metrics to run on test failures
2021-04-29 09:22:35 -07:00
evanchia 1b8c62f294 Fixed out of scope variable 2021-04-28 23:04:32 -07:00
Steve Pham ed74bb9166 SPEC-5380: Update windows/mac setup scripts to install latest cmake
* Adding choco install for cmake in 'install_utiltools.ps1'

* Adding brew installation command to install-xcode.sh
2021-04-28 16:10:34 -07:00
evanchia c554a7b17e Moved variable assigments and removed try/catch block for test metrics 2021-04-28 14:22:31 -07:00
Shirang Jia e0f8066a97 Add AttachDate tag to EBS volume and add script to find/delete inactive EBS volumes (#380)
Add AttachDate tag to EBS volume and add script to find/delete inactive EBS volumes
2021-04-28 12:11:15 -07:00
evanchia 22a8885502 Fixing test metrics to run on test failures 2021-04-28 12:10:29 -07:00
Alex Peterson 7aeb9614de Remove remaining libav references 2021-04-27 16:27:10 -07:00
Junbo Liang 83f3cbd4a1 Merge pull request #151 from aws-lumberyard-dev/SPEC-6072
[SPEC-6072] [Crashpad] Migrate crash reporting tool to use Crashpad from 3rdParty
2021-04-27 12:13:21 -07:00