One-time download link after View and Edit

This project is not covered by Drupal’s security advisory policy.

This project is designed to be used by security team members.

Instructions

  1. Clone this sandbox project locally.
  2. Put the email address you wish to use to receive test results in a file called .email in the root of the cloned repository:
    kick_drupalCI $ echo "you@example.com" > .email
    
  3. Contact a security team member for the secret token. Place it in a secure .token file in the root of the cloned repository:
    kick_drupalCI $ echo "SECRET_TOKEN_HERE" > .token
    kick_drupalCI $ chmod 600 .token
    
  4. Generate a one-time download link for the patch you wish to test on the security.drupal.org issue.
    • On the issue, click the "One-time downloads" tab.
      One-time download link after View and Edit
    • Check the file you wish to test and click submit.
    • Copy the one-time download link displayed on the page.
  5. Run the kick.sh shell script to start the test run. Follow the prompts.
    kick_drupalCI $ ./kick.sh
    
  6. Ignore the links output by the script; they will not work. The results will be emailed to you as a file attachment called build.log within 30-60 mins.
  7. To look for test failures in the results:

    Drupal 7

    grep fail build.log | grep -v \ 0\ fail
    grep exception build.log | grep -v \ 0\ exception
    

    Drupal 8

    grep \ fail build.log
    grep \ exception build.log
    
  8. Upload the full test results to the issue by renaming the build.log to something like d8_issue_number_results_log.txt and adding it as a file attachment to the issue. This will allow others to check the test results.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Created by mlhess on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases