Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clean up release testing script after testing more

...

  1. Download the tarball. Check the signature and the checksums.

    Code Block
    languagebash
    # change to a new directory
    cd $(mktemp -d)
     
    # Download the keys of the release managers
    wget https://dist.apache.org/repos/dist/dev/incubator/impala/KEYS
    gpg --import KEYS
     
    # Set the keys of the release managers as trusted
    gpg --edit-key jbappleAPACHE_USER_NAME_OF_RELEASE_MANAGER trust
    # At the prompt, enter '5' for "I trust ultimately", then 'y' for "yes", then 'q' for "quit"
     
    # Download the release artifacts:
    wget https://dist.apache.org/repos/dist/dev/incubator/impala/x.y.z/RCqRCw/apache-impala-incubating-x.y.z.tar.{gz,gz.asc,gz.md5,gz.sha}
     
    # Check the checksums:
    md5sum --check apache-impala-incubating-x.y.z.tar.gz.md5
    sha1sum --check apache-impala-incubating-x.y.z.tar.gz.sha
    
    # Check the signature:
    gpg --verify apache-impala-incubating-x.y.z.tar.gz.asc
  2. Check that it matches the upstream tag

    Code Block
    languagebash
    # download movethe to your git directory and checkout the tag:
    cd incubator-impala
    git fetch apache --tagsrepo
    pushd $(mktemp -d)
    git clone https://git-wip-us.apache.org/repos/asf/incubator-impala.git
    cd *
    git checkout x.y.z-rcw
    export IMPALA_GIT=$(pwd)
    popd 
     
    # compare the tarball and the repo:
    cd ..
    tar xzf apache-impala-incubating-x.y.z.tar.gz
    diff -r apache-impala-incubating-x.y.z incubator-impala"${IMPALA_GIT}"
    # You should see something like "Only in incubator-impala: .git", but no other output
  3. Test the release quality, possibly using bin/run-all-tests.py. 

  4. Check compliance with ASF release policy. Use Apache RAT and follow the instructions in bin/check-rat-report.py to check licence compliance.

  5. If it is an official "[VOTE]" thread, vote +1 or -1. If you are a PMC member, add "(binding)" after your vote; otherwise, add "(non-binding)". If you vote -1, explain why.

...