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/07/21 15:58:28 UTC
[airflow] branch main updated: Also compile assets in non-main (#25220)
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 6839813bc7 Also compile assets in non-main (#25220)
6839813bc7 is described below
commit 6839813bc75e62e154fe4163ffa1bda1c8e8cc8f
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Thu Jul 21 17:58:22 2022 +0200
Also compile assets in non-main (#25220)
Assets compilation when CI and PROD images are prepared should
also be run in non-main branch.
---
.github/workflows/ci.yml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8e03f22d53..b6323c6b03 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -339,9 +339,7 @@ jobs:
key: "pre-commit-${{steps.host-python-version.outputs.host-python-version}}-\
${{ hashFiles('.pre-commit-config.yaml') }}"
restore-keys: pre-commit-${{steps.host-python-version.outputs.host-python-version}}
- if: >
- needs.build-info.outputs.in-workflow-build == 'true' &&
- needs.build-info.outputs.default-branch == 'main'
+ if: needs.build-info.outputs.in-workflow-build == 'true'
- name: "Regenerate dependencies in case they was modified manually so that we can build an image"
run: >
breeze static-checks --type update-providers-dependencies --all-files
@@ -351,9 +349,7 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
needs.build-info.outputs.default-branch == 'main'
- name: Compile www assets
run: breeze compile-www-assets
- if: >
- needs.build-info.outputs.in-workflow-build == 'true' &&
- needs.build-info.outputs.default-branch == 'main'
+ if: needs.build-info.outputs.in-workflow-build == 'true'
- name: >
Build & Push CI images ${{ env.IMAGE_TAG_FOR_THE_BUILD }}
${{ needs.build-info.outputs.all-python-versions-list-as-string }}