You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/04/24 17:22:45 UTC

[airflow] branch main updated: Remove fix-ownership after upload coverage and extra cache (#23203)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 47cdfac76b Remove fix-ownership after upload coverage and extra cache (#23203)
47cdfac76b is described below

commit 47cdfac76b641ee13aaf214d662f8d19406e6d64
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Sun Apr 24 19:22:38 2022 +0200

    Remove fix-ownership after upload coverage and extra cache (#23203)
    
    There is no Breeze installed in upload coverage so fix-ownership
    is not needed (and harmful because breeze is missing :))
    
    Also extra cache for ~/.local caused overriding of breeze
    installation and it should be removed.
---
 .github/workflows/ci.yml | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4e9f133860..18ea8580ad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -597,14 +597,6 @@ jobs:
         run: "echo \"::set-output name=host-python-version::$(python -c
  'import platform; print(platform.python_version())')\""
         id: host-python-version
-      - name: "Cache pre-commit local-installation"
-        uses: actions/cache@v2
-        with:
-          path: ~/.local
-          key: "pre-commit-local-installation-${{steps.host-python-version.outputs.host-python-version}}-\
-${{ hashFiles('setup.py', 'setup.cfg') }}"
-          restore-keys: "\
-pre-commit-local-installation-${{steps.host-python-version.outputs.host-python-version}}-"
       - name: "Cache pre-commit envs"
         uses: actions/cache@v2
         with:
@@ -662,14 +654,6 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
         run: "echo \"::set-output name=host-python-version::$(python -c
  'import platform; print(platform.python_version())')\""
         id: host-python-version
-      - name: "Cache pre-commit local-installation"
-        uses: actions/cache@v2
-        with:
-          path: ~/.local
-          key: "pre-commit-local-installation-${{steps.host-python-version.outputs.host-python-version}}-\
-${{ hashFiles('setup.py', 'setup.cfg') }}"
-          restore-keys: "\
-pre-commit-local-installation-${{steps.host-python-version.outputs.host-python-version}}-"
       - name: "Cache pre-commit envs"
         uses: actions/cache@v2
         with:
@@ -1296,9 +1280,6 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
         uses: ./.github/actions/codecov-action
         with:
           directory: "./coverage-files"
-      - name: "Fix ownership"
-        run: breeze fix-ownership
-        if: always()
 
   wait-for-prod-images:
     timeout-minutes: 120