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 2024/03/17 20:37:10 UTC
(airflow) branch main updated: Fix typo in runs-on in update constraints and build image (#38232)
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 4a49bd5d3f Fix typo in runs-on in update constraints and build image (#38232)
4a49bd5d3f is described below
commit 4a49bd5d3fb50554b21d4bcbfb49395f4152af1f
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Mar 17 21:37:02 2024 +0100
Fix typo in runs-on in update constraints and build image (#38232)
* Fix typo in runs-on in update constraints and build image
There is a typo that prevents update-constraints job to run because
it asks for string and not array of values.
* Update .github/workflows/ci-image-build.yml
Co-authored-by: Hussein Awala <hu...@awala.fr>
---------
Co-authored-by: Hussein Awala <hu...@awala.fr>
---
.github/workflows/ci-image-build.yml | 2 +-
.github/workflows/finalize-tests.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci-image-build.yml b/.github/workflows/ci-image-build.yml
index 1b90e010fc..8d26c6d2c7 100644
--- a/.github/workflows/ci-image-build.yml
+++ b/.github/workflows/ci-image-build.yml
@@ -95,7 +95,7 @@ ${{ inputs.do-build == 'true' && 'Build' || 'Skip building' }} \
CI ${{inputs.platform}} image\
${{matrix.python-version}}${{ inputs.do-build == 'true' && ':' || '' }}\
${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
- runs-on: ${{fromJson(inputs.runs-on)}}
+ runs-on: ${{ fromJSON(inputs.runs-on) }}
env:
BACKEND: sqlite
DEFAULT_BRANCH: ${{ inputs.branch }}
diff --git a/.github/workflows/finalize-tests.yml b/.github/workflows/finalize-tests.yml
index c7ec9d0789..685849b075 100644
--- a/.github/workflows/finalize-tests.yml
+++ b/.github/workflows/finalize-tests.yml
@@ -67,7 +67,7 @@ on: # yamllint disable-line rule:truthy
type: string
jobs:
update-constraints:
- runs-on: ${{ inputs.runs-on }}
+ runs-on: ${{ fromJSON(inputs.runs-on) }}
timeout-minutes: 80
name: "Update constraints"
permissions: