Make WordPress Core

Ticket #58825: 58825.diff

File 58825.diff, 4.0 KB (added by rajinsharwar, 3 years ago)
  • .github/workflows/performance.yml

    From 1d1089c6b50d0303572d9aaa1695c7c55cf99d7a Mon Sep 17 00:00:00 2001
    From: Rajin Sharwar <rajinsharwar@gmail.com>
    Date: Fri, 21 Jul 2023 15:03:47 +0600
    Subject: [PATCH] Update performance.yml
    
    ---
     .github/workflows/performance.yml | 3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
    index 408f7ba9f5..2e825f10a8 100644
    a b jobs:  
    7979        run: |
    8080          echo "PHP_FPM_UID=$(id -u)" >> $GITHUB_ENV
    8181          echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
     82          echo "WP_DEBUG=false" >> $GITHUB_ENV
     83          echo "SCRIPT_DEBUG=false" >> $GITHUB_ENV
     84          echo "WP_DEVELOPMENT_MODE=" >> $GITHUB_ENV
    8285
    8386      - name: Checkout repository
    8487        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
  • .github/workflows/performance.yml

    -- 
    2.39.2.windows.1
    
    From 877accf3a4f557d684e92750ee782b5e0407e876 Mon Sep 17 00:00:00 2001
    From: Rajin Sharwar <rajinsharwar@gmail.com>
    Date: Fri, 21 Jul 2023 21:16:06 +0600
    Subject: [PATCH] Update performance.yml - 2
    
    ---
     .github/workflows/performance.yml | 22 +++++++++++++++-------
     1 file changed, 15 insertions(+), 7 deletions(-)
    
    diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
    index 2e825f10a8..dff3cfabfd 100644
    a b concurrency:  
    3030permissions: {}
    3131
    3232env:
     33  # Environment variables for Docker and PHP-FPM configuration
     34  PHP_FPM_UID: ${{ steps.get-php-fpm-uid.outputs.php-fpm-uid }}
     35  PHP_FPM_GID: ${{ steps.get-php-fpm-gid.outputs.php-fpm-gid }}
     36
     37  # Environment variables for WordPress performance testing
     38  WP_DEBUG: false
     39  SCRIPT_DEBUG: false
     40  WP_DEVELOPMENT_MODE: ''
     41
    3342  # This workflow takes two sets of measurements — one for the current commit,
    3443  # and another against a consistent version that is used as a baseline measurement.
    3544  # This is done to isolate variance in measurements caused by the GitHub runners
    jobs:  
    7584    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    7685
    7786    steps:
    78       - name: Configure environment variables
    79         run: |
    80           echo "PHP_FPM_UID=$(id -u)" >> $GITHUB_ENV
    81           echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
    82           echo "WP_DEBUG=false" >> $GITHUB_ENV
    83           echo "SCRIPT_DEBUG=false" >> $GITHUB_ENV
    84           echo "WP_DEVELOPMENT_MODE=" >> $GITHUB_ENV
     87      - name: Get PHP-FPM UID and GID
     88        id: get-php-fpm-uid
     89        run: echo "::set-output name=php-fpm-uid::$(id -u)"
     90      - name: Get PHP-FPM GID
     91        id: get-php-fpm-gid
     92        run: echo "::set-output name=php-fpm-gid::$(id -g)"
    8593
    8694      - name: Checkout repository
    8795        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
  • .github/workflows/performance.yml

    -- 
    2.39.2.windows.1
    
    From 5205b49ecf6e3b92f300a219177437653399becb Mon Sep 17 00:00:00 2001
    From: Rajin Sharwar <rajinsharwar@gmail.com>
    Date: Sat, 22 Jul 2023 15:56:09 +0600
    Subject: [PATCH] Update performance.yml - 3
    
    ---
     .github/workflows/performance.yml | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
    index dff3cfabfd..891d8fa5fd 100644
    a b env:  
    3434  PHP_FPM_UID: ${{ steps.get-php-fpm-uid.outputs.php-fpm-uid }}
    3535  PHP_FPM_GID: ${{ steps.get-php-fpm-gid.outputs.php-fpm-gid }}
    3636
    37   # Environment variables for WordPress performance testing
     37  # Performance testing should be performed in an environment reflecting a standard production environment.
    3838  WP_DEBUG: false
    3939  SCRIPT_DEBUG: false
    4040  WP_DEVELOPMENT_MODE: ''
    jobs:  
    8282    permissions:
    8383      contents: read
    8484    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    85 
     85   
    8686    steps:
    8787      - name: Get PHP-FPM UID and GID
    8888        id: get-php-fpm-uid