Commit Graph

51 Commits

Author SHA1 Message Date
jonawals a3d14e217e Change TIAF seed criteria. (#1857)
We currently cannot predict when a given snapshot will be taken. This is
problematic as test impact analysis assumes that the coverage data will
be updated after each run. As we have no control over when our coverage
data will persist we will instead always seed when the pipeline and
branch is one of the seeding pipelines, otherwise we will attempt to
read that seed data and perform test impact analysis (if no seed data is
present we will fall back to a regular, uninstrumented run of all test
targets).

This approach has the following implications:

1. PR builds will benefit from test impact analysis as the seed data is
    (hopefully) available at the time the snapshot is created.

2. Builds for the aforementioned seeding branches and pipelines will not
    benefit from test impact analysis and will incur the cost of seeding
    regardless of whether or not that generated seed data ends up in the
    snapshot.

Signed-off-by: John <jonawals@amazon.com>
2021-07-07 11:47:36 +01:00
John 17fde4e228 Move source of truth logic from TIAF to job 2021-07-05 14:56:48 +01:00
Chris Galvan d7574777a8 Resolved merge conflicts
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-02 12:42:44 -05:00
AMZN-ScottR 56ce9908a5 [installer/2106-engine-name] update installer job to override engine name
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
2021-06-30 18:02:50 -07:00
Gene Walters 6fb2558e44 Merge branch 'upstream/development' into genewalt/gitflow_210628
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-06-29 15:40:46 -07:00
John ea2115089b Correct tiaf output path to use foward slash dirs
Signed-off-by: John <jonawals@amazon.com>
2021-06-29 17:44:00 +01:00
John 6067ab38c8 Parameterize build dir and make job explicit profile
Signed-off-by: John <jonawals@amazon.com>
2021-06-29 17:43:58 +01:00
Gene Walters 4e14c0069b Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628 2021-06-28 19:09:20 -07:00
scottr 7b1ac7dd4e Merge branch 'stabilization/2106' into cpack/2106-license-url 2021-06-23 15:27:53 -07:00
Scott Romero 2480dedcd9 [stabilization/2106] Inclusion of 3rd party license manifest file in installer package (#1483) 2021-06-23 14:07:02 -07:00
scottr 4b9c7c79b8 [cpack/2106-license-url] update to use correct license URL for installer job 2021-06-23 10:28:46 -07:00
Esteban Papp 78b8daa783 LYN-4745 ci_build_metrics doesnt distinguish between different repo (#1496)
* add repository to ci_build_metrics

* fixing build

* changing the job to pass the right parameters

* passing parameters that need to be expanded

* missed this, important

* fixing typo
2021-06-23 08:01:39 -07:00
scottr 46f7ecb7e6 [cpack/2106-license-url] update installer job to include license terms url 2021-06-22 15:20:36 -07:00
scottr e568004dd2 [cpack/2106-3p-manifest] update installer job with 3rd party SPDX license url 2021-06-22 14:16:33 -07:00
scottr 3ca839a580 [cpack/jenkins-main] update installer job params and how they are applied 2021-06-20 14:45:03 -07:00
scottr c507422760 [cpack/jenkins-main] update build url tag generation to use existing env vars from Jenkins 2021-06-18 20:52:04 -07:00
scottr a057cbb03a [cpack/jenkins-main] updated installer job params 2021-06-18 17:16:26 -07:00
scottr 1519180cec [cpack/stabilization/2106-jenkins] updated installer job params to make the online version 2021-06-18 08:39:40 -07:00
scottr 1d8fb2a7f7 [cpack/stabilization/2106-jenkins] fixed installer framework include in jenkins job 2021-06-18 08:20:40 -07:00
scottr 059324add9 [cpack/stabilization/2106-jenkins] updated installer job tags to run nightly 2021-06-18 08:15:59 -07:00
John 22093f46fc Merge branch 'development' into TIF/Runtime 2021-06-17 11:34:31 +01:00
John 15bf2d20ed Merge branch 'development' into TIF/Runtime 2021-06-16 17:23:18 +01:00
John a1c6cb80a0 Fix double test failure policy 2021-06-16 17:14:45 +01:00
John e7e68d3ba3 Set test failure policy to continue 2021-06-16 16:21:49 +01:00
John b1508b522f Add build output folder to tiaf driver 2021-06-16 13:25:26 +01:00
jromnoa b2bcd6a326 adds TEST_SCREENSHOTS boolean toggle to build_config.json & adds subdirectory searching for upload_to_s3.py script 2021-06-11 18:12:24 -07:00
John 169d4da288 Address PR comments 2021-06-10 14:54:46 +01:00
jonawals d44a20f470 Add flag for non-seed sequence test failure policy 2021-06-09 08:59:11 +01:00
Esteban Papp b1fca488bf LYN-4332 Metric jobs not passing JOB_NAME, BUILD_NUMBER, NODE_NAME, CHANGE_ID (#1190)
* Fix quotes

* Revert "Fix quotes"

This reverts commit 29ace5ef2bf1c78991a8cfeb840bfb30c4ce5d8d.

* evaluating the parameters

* Revert "Revert "Fix quotes""

This reverts commit 4f7008e9ccbd5fdc0b33853a4fb1f50285233da9.

* just one eval

* double escaping

* another attempt to happiness

* changing NODE_NAME to LABEL_NAME since that one is more stable and doesnt have spaces
2021-06-08 14:24:22 -07:00
jonawals 46be3efd5d Add missing test impact pipe 2021-06-08 18:47:36 +01:00
jonawals 7a38a93b9c Remove test_impact_analysis 2021-06-08 14:47:57 +01:00
jonawals 4b819953d6 Fix build script 2021-06-08 14:41:18 +01:00
jonawals 6db9a00315 Merge branch 'TIF/Runtime' into TIF/Jenkins 2021-06-08 14:27:18 +01:00
jonawals 656aa528d8 Implement new handling of tiaf seed data 2021-06-08 13:39:37 +01:00
Esteban Papp cf35585bc0 Making incremental linking off by default (#1154) 2021-06-04 15:25:57 -07:00
scottr 8214706ff9 [cpack_installer] reworked how packaging is enabled for windows 2021-06-03 08:24:01 -07:00
jonawals c9aaadea51 Merge branch 'TIF/Runtime' into TIF/Jenkins 2021-06-03 12:45:13 +01:00
jonawals 786b406d98 Add seed and tia jobs 2021-06-03 11:34:33 +01:00
scottr a1b8d1233c [cpack_installer] initial work for installer Jenkins jobs 2021-06-02 11:28:22 -07:00
pappeste 58bad80ffa changing paths for the install location in Jenkins 2021-05-28 00:17:20 -07: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
AMZN-AlexOteiza 591ad7f824 Added xml output for tests (#664)
Added test reporting information for jenkins
2021-05-11 12:44:27 +01: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
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
evanchia 9abd112a7e chaged boolean type to string 2021-04-23 13:42:55 -07:00
evanchia 4d88cab139 Adding test metrics field to build config file 2021-04-23 11:32:44 -07:00
Esteban Papp 92c77dca11 LYN-3069 Revert some 3rdparty changes and address issue (#185)
* renaming and organizing files

* removed unused files

* Removing unnecessary file

* moved file

* reverting movement of 3rdparty associations from gems to global

* removing unnecessary calls to ly_add_external_target_path

* fixing install prefix of ci_build

* Fixes to get 3rdparties declared in gems to be installed

* Allowing to install just one configuration

* Adding empty line at the end

* removing commented code

* setting IMPORETD_LOCATION_<CONFIG> and defaulting IMPORTED_LOCATION to the profile config in case other configs are not installed
2021-04-21 11:16:27 -07:00
scottr a6a65ec5c2 [SPEC-6436] include LY_DISABLE_TEST_MODULES to the windows install job 2021-04-20 17:30:20 -07:00
Esteban Papp 8b265d2e8d Initial version that I need to test out (#60)
LYN-2585 Add cmake/install job to Jenkins
2021-04-14 17:38:57 -07:00