Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.7 manual trigger fails when root folder defined #91

Open
AstroSucheta opened this issue Nov 1, 2024 · 0 comments
Open

v0.7 manual trigger fails when root folder defined #91

AstroSucheta opened this issue Nov 1, 2024 · 0 comments

Comments

@AstroSucheta
Copy link

AstroSucheta commented Nov 1, 2024

Astro deploy does not work on v0.7 when the root folder is defined and the pipeline is triggered manually.
The customer raised this issue and it has been tested internally.

Using the following GH template

name: Astronomer CI - Deployment
on:
  release:
    types: [ published ]
  workflow_dispatch:

env:
  RUN_PYTEST: false

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Deploy to Astro
        uses: astronomer/[email protected]
        env:
          ASTRO_API_TOKEN: ${{ secrets.ASTRO_API_TOKEN }}
          DEPLOYMENT_ID: cm28zt0ts0rs101qmtpl3jagm
        with:
          deploy-type: infer
          root-folder: astronomer-example
          force: true # without this, it fails due to our custom backend integration...
          pytest: ${{ env.RUN_PYTEST }}
          description: ${{ github.ref }}
          deploy-image: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant