You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/14 14:00:17 UTC

[GitHub] [airflow] turbaszek opened a new pull request #14777: Add script to verify all is in svn

turbaszek opened a new pull request #14777:
URL: https://github.com/apache/airflow/pull/14777


   This change adds simple tool to verify that all expected files
   are present in airflow svn when doing release. Also in case
   of providers/backport releases it generates simple dockerfile
   that can be used to verify installation.
   
   ## Backports
   ```
   ➜ python check_files.py -v 2021.3.17rc1 -t backports -p ~/code/airflow_svn
   All sources: apache-airflow-backport-providers-2021.3.17rc1
       - sources .*\.asc$: OK
       - sources .*\.sha512$: OK
       - sources .*\.(whl|gz)$: OK
   
   apache.cassandra
       - sources .*\.asc$: OK
       - sources .*\.sha512$: OK
       - sources .*\.(whl|gz)$: OK
       - wheel .*\.asc$: OK
       - wheel .*\.sha512$: OK
       - wheel .*\.(whl|gz)$: OK
   
   ...
   
   zendesk
       - sources .*\.asc$: OK
       - sources .*\.sha512$: OK
       - sources .*\.(whl|gz)$: OK
       - wheel .*\.asc$: OK
       - wheel .*\.sha512$: OK
       - wheel .*\.(whl|gz)$: OK
   
   To check installation run:
           docker build -f Dockerfile.pmc -t local/airflow .
           docker local/airflow info
   ```
   
   ```dockerfile
   FROM apache/airflow:1.10.14
   
   # Install backports
   RUN pip install 'apache-airflow-backport-providers-apache-cassandra==2021.3.17rc1'
   ...
   RUN pip install 'apache-airflow-backport-providers-zendesk==2021.3.17rc1'
   ```
   
   ## Providers
   ```
   ➜ python check_files.py -v 1.0.3rc1 -t providers -p ~/code/airflow_svn
   elasticsearch
       - sources .*\.asc$: OK
       - sources .*\.sha512$: OK
       - sources .*\.(whl|gz)$: OK
       - wheel .*\.asc$: OK
       - wheel .*\.sha512$: OK
       - wheel .*\.(whl|gz)$: OK
   
   To check installation run:
           docker build -f Dockerfile.pmc -t local/airflow .
           docker local/airflow info
   ```
   ```dockerfile
   FROM apache/airflow:latest
   
   # Install providers
   RUN pip install 'apache-airflow-providers-elasticsearch==1.0.3rc1'
   ```
   
   ## Airflow
   ```
   ➜ python check_files.py -v 1.10.15rc1 -t airflow -p ~/code/airflow_svn
   apache_airflow-1.10.15rc1
       - binaries .*\.asc$: OK
       - binaries .*\.sha512$: OK
       - binaries .*\.(whl|gz)$: OK
       - sources .*\.asc$: OK
       - sources .*\.sha512$: OK
       - sources .*\.(whl|gz)$: OK
       - wheel .*\.asc$: OK
       - wheel .*\.sha512$: OK
       - wheel .*\.(whl|gz)$: OK
   
   To check installation run:
           docker build -f Dockerfile.pmc -t local/airflow .
           docker run local/airflow info
   ```
   
   ```dockerfile
   FROM apache/airflow:1.10.14
   
   # Upgrade
   RUN pip install "apache-airflow==1.10.15rc1"
   ```
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] github-actions[bot] commented on pull request #14777: Add script to verify that all artefacts are in svn

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #14777:
URL: https://github.com/apache/airflow/pull/14777#issuecomment-798929991


   The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest master or amend the last commit of the PR, and push it with --force-with-lease.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk merged pull request #14777: Add script to verify that all artefacts are in svn

Posted by GitBox <gi...@apache.org>.
potiuk merged pull request #14777:
URL: https://github.com/apache/airflow/pull/14777


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on pull request #14777: Add script to verify that all artefacts are in svn

Posted by GitBox <gi...@apache.org>.
potiuk commented on pull request #14777:
URL: https://github.com/apache/airflow/pull/14777#issuecomment-798929585


   Nice. Should we also add it to the "verify by PMC" section of the dev/README ? Otherwise it might not be easy to discover. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org