diff options
author | James Monteath <james@blender.org> | 2021-05-28 20:46:53 +0300 |
---|---|---|
committer | James Monteath <james@blender.org> | 2021-05-28 20:46:53 +0300 |
commit | 74c7e21f6c82095f48b7fe2973f0779394e2dbed (patch) | |
tree | 5ed8b8148d9725300ea120f9ab8b8c41d06642b9 /build_files | |
parent | fc2b56e68ccbd7da95d78a059a82035c0965b924 (diff) |
Add and update README.md files for CI script removal
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/buildbot/README.md | 73 | ||||
-rw-r--r-- | build_files/config/README.md | 9 | ||||
-rw-r--r-- | build_files/utils/README.md | 5 |
3 files changed, 18 insertions, 69 deletions
diff --git a/build_files/buildbot/README.md b/build_files/buildbot/README.md index 06733c9a42d..9c71deeec68 100644 --- a/build_files/buildbot/README.md +++ b/build_files/buildbot/README.md @@ -1,70 +1,5 @@ -Blender Buildbot -================ +Moved Scripts +============= -Code signing ------------- - -Code signing is done as part of INSTALL target, which makes it possible to sign -files which are aimed into a bundle and coming from a non-signed source (such as -libraries SVN). - -This is achieved by specifying `worker_codesign.cmake` as a post-install script -run by CMake. This CMake script simply involves an utility script written in -Python which takes care of an actual signing. - -### Configuration - -Client configuration doesn't need anything special, other than variable -`SHARED_STORAGE_DIR` pointing to a location which is watched by a server. -This is done in `config_builder.py` file and is stored in Git (which makes it -possible to have almost zero-configuration buildbot machines). - -Server configuration requires copying `config_server_template.py` under the -name of `config_server.py` and tweaking values, which are platform-specific. - -#### Windows configuration - -There are two things which are needed on Windows in order to have code signing -to work: - -- `TIMESTAMP_AUTHORITY_URL` which is most likely set http://timestamp.digicert.com -- `CERTIFICATE_FILEPATH` which is a full file path to a PKCS #12 key (.pfx). - -## Tips - -### Self-signed certificate on Windows - -It is easiest to test configuration using self-signed certificate. - -The certificate manipulation utilities are coming with Windows SDK. -Unfortunately, they are not added to PATH. Here is an example of how to make -sure they are easily available: - -``` -set PATH=C:\Program Files (x86)\Windows Kits\10\App Certification Kit;%PATH% -set PATH=C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64;%PATH% -``` - -Generate CA: - -``` -makecert -r -pe -n "CN=Blender Test CA" -ss CA -sr CurrentUser -a sha256 ^ - -cy authority -sky signature -sv BlenderTestCA.pvk BlenderTestCA.cer -``` - -Import the generated CA: - -``` -certutil -user -addstore Root BlenderTestCA.cer -``` - -Create self-signed certificate and pack it into PKCS #12: - -``` -makecert -pe -n "CN=Blender Test SPC" -a sha256 -cy end ^ - -sky signature ^ - -ic BlenderTestCA.cer -iv BlenderTestCA.pvk ^ - -sv BlenderTestSPC.pvk BlenderTestSPC.cer - -pvk2pfx -pvk BlenderTestSPC.pvk -spc BlenderTestSPC.cer -pfx BlenderTestSPC.pfx -```
\ No newline at end of file +Scripts have been moved to own git repo +Only configurations remain here and is used with new pipeline diff --git a/build_files/config/README.md b/build_files/config/README.md new file mode 100644 index 00000000000..a939399769c --- /dev/null +++ b/build_files/config/README.md @@ -0,0 +1,9 @@ +Pipeline Config +=============== + +Scripts have been moved to own git repo +This branched based confiration is used by the new build pipeline for the `update-code` step + +It will soon be user ../utils/make_update.py script + +Both buildbot and developers will use the same conconfigurations. diff --git a/build_files/utils/README.md b/build_files/utils/README.md new file mode 100644 index 00000000000..e78d05b0c69 --- /dev/null +++ b/build_files/utils/README.md @@ -0,0 +1,5 @@ +Make Utility Scripts +==================== + +Scripts used only by developers for now + |