Nana Axel
bd57a2832b
Fix issues when configuring projects and gems ( #7001 )
...
The new `o3de_pal_dir` function raise an issue when configuring projects/gems. This commit apply a simple fix to pass parameters as strings.
Signed-off-by: Axel Nana <axel.nana@aliens-group.com >
2022-01-20 16:27:29 -06:00
AMZN-byrcolin
c778606c89
Templates restricted ( #6498 )
...
* Templates/Restricted upgrade/fixes:
Fixed template storage format: templates now only store true relative paths and no longer save "origin" paths and "optional" has been removed, it was never used.
Upgraded all templates to new standard
Template system now correctly handles child objects: Child objects no longer have to specify restricted they inherit from parent
Restricted now operates at the object level and makes no assumptions about parent
Restricted templates can now be combined and seperated on creation
ly_get_list_relative_filename has been deprecated for o3de_pal_dir
All Gems/Projects/Templates updated to use new code
Signed-off-by: byrcolin <byrcolin@amazon.com >
2022-01-14 10:27:20 -08:00
Mike Chang
6c299000a7
Notices automation install ( #6228 )
...
This will generate the NOTICES.txt license file and SPDX-Licenses.json manifest file on every installer run.
Signed-off-by: Mike Chang <changml@amazon.com >
2021-12-08 12:45:44 -08:00
Mike Chang
8b3c76d8b8
Add platform specific codesign script and modifications for Linux and Windows installer packaging ( #5893 )
...
Signed-off-by: Mike Chang <changml@amazon.com >
2021-12-01 17:14:00 -08:00
Esteban Papp
49e8f35858
Creates a deb package ( #5567 )
...
* configure/generation working
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Generates deb package forLinux
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixes to EngineFinder
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* changes the owner of the installed folder so it is writable by the user
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* jenkins scripts
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixes execution permission for scripts
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixes wrong parameter to build for linux
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* removal of clang parameters in build_config.json
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Simplifies and fixes build configs
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* fixes to EngineFinder
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Adds linux deb package upload and small fixes/organization cleanup
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* fixes checksum generation
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Some more small fixes for reviewing
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Test if this space is necessary for cpack
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* More fixes for installer jobs
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Adding eval to variables that need to double-expand
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Removing unused variables being passed
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Do not remove symlink
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Use cmake_path for concatenating paths
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* removing quotes so the variable expands
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* cleaned up some variables that have way too many ways to be passed
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Multiple fixes for Jenkins
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Cleanup/re-organization
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* fixes some temp variables so we can run cpack jenkins jobs locally
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Delays cmake download to install step
Cleanup on installer_windows.cmd, we already have the path to cpack (same as cmake, which is added to the path)
Some simplification in the windows installer generation, we now generate the same even if we dont upload
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixes mac install
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* CPack can generate hashes for us
Defiine CPACK_OUTPUT_FILE_PREFIX to prevent the exe/msi from ending in the bin dir
Remove unnecessary generation of folder from 3rdPartyPacakges which fails when including from cpack
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* multiple fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* fixes typo
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* more fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixes for linux/mac/windows (fixing discrepancies with Jenkins)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* uploads to S3 from the upload directory and fixes the latest upload
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Adds ERROR_VARIABLE to S3 upload to find a Jenkins issue
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* printing command invocation to try to figure out the errors
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Changes the hashing algorithm to sha256 and fixes the cmd used to call to pythojn
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* wrong path being passed in mac
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* removes compiler parameters from a config job (after rebase)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* more fixes fro deb packaging job
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* small fix for fingerprint patching for latest
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Changing extension of public key and leaving better TODO places for code signing
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Removes sdl as a dependency, leaving it commented since it is needed for wwise
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* fixes runtime copy during install, makes it more consistent with regular runtime dependencies and optimizes copy when there is already an install
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* $ENV{DESTDIR} and CMAKE_INSTALL_PREFIX cannot be used in cmake_path because the CMAKE_INSTALL_PREFIX is absolute
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixing some runtime_dependencies optimizations, we cannot take size of a bundle
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixes warning in mac for an unused variable
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fixes a variable that was being passed to fix qt frameworks
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* More fixes for Jenkins
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Updates email to use for maintainer to match certificate
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* make directory because in some cases the dependency is copied before the actual library and the directory has to be created
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* Fix for a new warning/error in linux
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* The sha file is created after the upload happens, so creating it
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* remove the size comparison for install since it stomps over the copy from the target and doesnt trigger stripping
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-11-18 16:26:49 -08:00
Esteban Papp
595e0e1a83
better wrapping for install in core components
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-10-22 20:38:52 -07:00
Esteban Papp
c345733057
improving some text messages
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-10-22 15:30:32 -07:00
Esteban Papp
2fe1e51346
generated a package for debug/profile/release monolithic-profile/release
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-10-21 18:40:31 -07:00
Esteban Papp
c842fce4bf
WIP, need to merge from development
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-10-18 16:13:35 -07:00
Esteban Papp
5df85534b7
Merge branch 'development' into o3de_sdk/installer_configs
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
# Conflicts:
# cmake/Packaging.cmake
# cmake/Projects.cmake
# scripts/build/Platform/Windows/build_config.json
2021-10-18 14:30:02 -07:00
Esteban Papp
bf393ec85c
fixes some install paths issues in monolithic release ( #4422 )
...
* fixes some install paths issues in monolithic release
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
* PR comments
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-10-01 08:38:46 -07:00
Esteban Papp
642f2b37ee
able to put release monolithic into an installer
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-22 18:48:26 -07:00
Esteban Papp
99a009bb77
WIP checkpoint
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-17 12:36:09 -07:00
Chris Galvan
5b0046ce78
Resolved conflicts in merge from stabilization/2106 -> development.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2021-08-11 15:33:50 -05:00
Scott Romero
afb57c9cf6
[stabliziation/2106] update 3rd party license file name to be pulled into the installer package ( #2281 )
...
License file name was changed in #2267
Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
2021-07-19 18:17:55 -07:00
Terry Michaels
d9ec159f0e
Merge pull request #2235 from aws-lumberyard-dev/daimini/gitflow_210716_o3de
...
Gitflow 7/16/21 - O3DE
2021-07-16 17:50:44 -05:00
Steve Pham
38261d0800
Shorten copyright headers by splitting into 2 lines ( #2213 )
...
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines
Signed-off-by: Steve Pham <spham@amazon.com >
2021-07-16 15:25:48 -07:00
AMZN-ScottR
585caabd95
[installer/2106-3p-license-fix] replaced 3rd party license url arg with auto generated one from version string
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-07-12 11:38:05 -07:00
Steve Pham
b4a2edec6a
Final update copyright headers to reference license files at the repo root ( #1693 )
...
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com >
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com >
2021-06-30 19:51:55 -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
Steve Pham
70042fcdcd
O3DE Copyright Updates for Linux Foundation ( #1504 )
2021-06-23 10:55:22 -07:00
scottr
b3591fbeb8
Merge branch 'stabilization/2106' into cpack/2106-3p-manifest
2021-06-22 14:06:53 -07:00
scottr
72033a49d7
[cpack/2106-3p-manifest] add 3rd party SPDX license manifest file to package
2021-06-22 09:44:08 -07:00
scottr
26017c1b49
Merge branch 'stabilization/2106' into cpack/jenkins-main
2021-06-20 17:49:23 -07:00
scottr
e8f250bed8
[cpack/jenkins-main] rework build tag generation to be at cpack time through LY_INSTALLER_AUTO_GEN_TAG
2021-06-20 14:31:10 -07:00
scottr
8b68aa9f5a
[cpack/jenkins-main] rework build tagging to include git repo info in installer job
2021-06-18 16:55:22 -07:00
scottr
071ed777bd
[cpack/stabilization/2106-jenkins] removed enforcement of aws profile for s3 upload installer artifacts
2021-06-18 08:33:48 -07:00
scottr
6e727e6ab0
[cpack/stabilization/2106-jenkins] various changes to shorten cpack install path on windows
2021-06-18 08:25:03 -07:00
scottr
aa583243f6
[cpack/stabilization/2106-vendor-name] update installer vendor name
2021-06-18 07:53:29 -07:00
scottr
0108953586
[cpack/stabilization/2106] added: welcome page title, package full name. updated: install page title, vendor
2021-06-15 12:51:44 -07:00
scottr
8aa310dff5
[cpack_installer] option to set upload url via environment variable
2021-06-07 15:29:29 -07:00
scottr
57faa2d377
[cpack_installer] installer upload to s3
2021-06-07 15:15:14 -07:00
scottr
bcef8856ff
[cpack_installer] minor wording fixes
2021-06-03 10:51:13 -07:00
scottr
881c51dc9c
[cpack_installer] removed unnecessary explicit use of CMAKE_INSTALL_DEFAULT_COMPONENT_NAME
2021-06-02 22:05:20 -07:00
scottr
602dd01434
[cpack_installer] fixed typo in error message
2021-06-02 22:02:11 -07:00
scottr
b09f73378f
[cpack_installer] replaced LY_DEFAULT_INSTALL_COMPONENT with built-in CMAKE_INSTALL_DEFAULT_COMPONENT_NAME. updated stale references to ly_install_target_COMPONENT with a get_prop call
2021-06-02 20:49:39 -07:00
scottr
cfd06f2e4a
[cpack_installer] added check for desired cmake version to be at least greater than minimum required plus minor cleanup
2021-06-02 13:10:11 -07:00
scottr
301bfe3486
[cpack_installer] replaced raw file(DOWNLOAD ...) for download_file() utility
2021-05-26 22:03:46 -07:00
scottr
883ddf667e
[cpack_installer] removed static cmake package in favor of using file(DOWNLOAD ...)
2021-05-26 20:19:42 -07:00
scottr
26c55514d5
[ext_project_packaging_fix] replaced incorrect usage of CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR in cmake packaging scripts
2021-05-24 09:27:03 -07:00
scottr
54dc47eb91
[cpack_installer] fixed typo in help string
2021-05-18 11:50:01 -07:00
scottr
66ad040102
[cpack_installer] some minor comment cleanup
2021-05-17 22:51:48 -07:00
scottr
2ddbd36f9a
[cpack_installer] add option to specify license url. replicate online artifacts copy
2021-05-17 16:34:24 -07:00
scottr
b19779e491
[cpack_installer] cpack variable usage cleanup
2021-05-17 15:28:32 -07:00
scottr
6d7f7547ec
[cpack_installer] fix incorrect caching type of installer download url and add configure of download info
2021-05-14 08:20:59 -07:00
scottr
c777e2e353
[cpack_installer] some cpack cleanup and prep for online installer support (pre/post build steps)
2021-05-11 18:07:19 -07:00
scottr
efe6d24d51
[cpack_installer] new windows installer basic implementation
2021-05-06 15:51:20 -07:00
Esteban Papp
edf8ab4822
Renaming CPack.cmake to Packaging.cmake to avoid infinite recursion (Packaging.cmake includes CPack.cmake) ( #533 )
2021-05-03 18:55:42 -07:00