Changes between Version 5 and Version 8 of Ticket #4355


Ignore:
Timestamp:
09/19/2017 12:20:12 PM (2 years ago)
Author:
tlucas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4355

    • Property Status changed from reviewing to closed
    • Property Resolution changed from to fixed
  • Ticket #4355 – Description

    v5 v8  
    1414 
    1515Before making any changes, the release automation should check whether the involved repositories, which are not listed in the dependencies-list, are outdated (or dirty, see #4354) and abort with an error message. 
     16 
     17=== Hints for testers === 
     18To run the releaseAutomation locally, you can follow these steps (Assuming there is no local copy of the repositories yet): 
     19 
     20 * Clone the adblockpluschrome repository to a location of your choice `hg clone https://hg.adblockplus.org/adblockpluschrome` 
     21 * Clone the downloads repository to a location of your choice (i suggest the same location as abp-chrome - otherwise you would have to specify the downloads location in the build process) `hg clone https://hg.adblockplus.org/downloads` 
     22 * Create the fake remotes for adblockpluschrome and downloads: 
     23   * `cp -ar adblockpluschrome abpc_remote` 
     24   * `cp -ar downloads downloads_remote` 
     25   * Configure your main repositories to have the fake remotes as remotes: edit .hg/hgrc in both main repositories to contain `default = <path_to_fake_remote>` e.g.: `default = /home/tlucas/abp/tmphg/abpc_remote` 
     26   * you can verify this by running `hg incoming` in the main repositories, it should say "comparing with <your_fake_remote>" 
     27 
     28To test this issue, you can proceed with the following steps: 
     29 
     30 * Create your own .pem (this requires openssl to be installed) in a location of your choice: 
     31    * `openssl req -newkey rsa:2048 -nodes -x509 -days 365 -out certificate.pem` 
     32 * run the release in your adblockpluschrome `main` repository: 
     33    * `./build.py -t chrome release -k <path_to_new_pem> 1.2.4` (this should work) 
     34 * reset your `main` downloads repository to have an outdated revision: `hg strip tip` 
     35 * run the release in your adblockpluschrome `main` repository: 
     36    * `./build.py -t chrome release -k <path_to_new_pem> 1.2.4` (this should fail now)