Skip to content

Test providers RC releases #117

Test providers RC releases

Test providers RC releases #117

Workflow file for this run

---
name: Test providers RC releases
on: # yamllint disable-line rule:truthy
schedule:
- cron: "0 0,12 * * *"
workflow_dispatch:
inputs:
rc_testing_branch:
# If a branch is given, the workflow will use it for deployment and testing.
# If no branch is provided, the workflow will create a new rc testing branch
# for deployment and testing.
description: |
rc_testing_branch: existing testing branch
(Either rc_testing_branch or issue_url is required, and you cannot give both.)
required: false
default: ""
issue_url:
description: |
issue_url: the GitHub issue URL that tracks the status of Providers release
(Either rc_testing_branch or issue_url is required, and you cannot give both.)
required: false
base_git_rev:
description: "The base git revision to test Providers RCs"
required: false
type: string
default: "main"
defaults:
run:
working-directory: python-sdk
jobs:
check-airflow-provider-rc-release:
uses: astronomer/astronomer-providers/.github/workflows/reuse-wf-check-rc-release.yaml@main
with:
rc_testing_branch: ${{ inputs.rc_testing_branch }}
issue_url: ${{ inputs.issue_url }}
base_git_rev: ${{ inputs.base_git_rev }}
git_email: "[email protected]"
git_username: "airflow-oss-bot"
working_directory: "python-sdk"
secrets:
BOT_ACCESS_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}
deploy-and-trigger-example-dag:
needs: check-airflow-provider-rc-release
if: |
always() &&
needs.check-airflow-provider-rc-release.result == 'success'
uses: ./.github/workflows/ci-astro-deploy.yml

Check failure on line 50 in .github/workflows/ci-rc-test.yaml

View workflow run for this annotation

GitHub Actions / Test providers RC releases

Invalid workflow file

The workflow is not valid. In .github/workflows/ci-rc-test.yaml (Line: 50, Col: 12): Error from called workflow astronomer/astro-sdk/.github/workflows/ci-astro-deploy.yml@bc7ba51382fc1aa7d823dd486907d1692bbd32c9 (Line: 47, Col: 24): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.ASTRO_SUBDOMAIN astronomer/astro-sdk/.github/workflows/ci-astro-deploy.yml@bc7ba51382fc1aa7d823dd486907d1692bbd32c9 (Line: 47, Col: 24): Unexpected value '${{ secrets.ASTRO_SUBDOMAIN }}'
with:
environment_to_deploy: "both"
dags_to_trigger_after_deployment: "example_master_dag"
git_rev: ${{ needs.check-airflow-provider-rc-release.outputs.rc_testing_branch }}
secrets:
docker_registry: ${{ secrets.ASTRO_DOCKER_REGISTRY }}
organization_id: ${{ secrets.ORGANIZATION_ID }}
deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID }}
astronomer_key_id: ${{ secrets.ASTRO_KEY_ID }}
astronomer_key_secret: ${{ secrets.ASTRO_KEY_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}