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

Connection sync not working if airflow_settings.yaml does not exist #1729

Open
2 tasks
KarolGongola opened this issue Oct 10, 2024 · 0 comments
Open
2 tasks

Comments

@KarolGongola
Copy link

Describe the bug

Sync of connection from Astronomer deployment into local setup is not working if airflow_settings.yaml. I have followed this instructions: https://www.astronomer.io/docs/astro/cli/local-connections, But because my local setup was created by cloning repository with astro stuff, I had no airflow_settings.yaml, because it is ignored by git. I have realized it caused no connections sync.

My command:

astro dev start --deployment-id <MY_DEPLOYMENT_ID> --build-secrets id=gitlab_token,env=GITLAB_TOKEN

What CLI Version did you experience this bug?

Astro CLI Version: 1.29.0

This CLI bug is related to which Astronomer Platform?

  • [*] Astro
  • Software
  • None/Unknown

What Operating System is the above CLI installed on?
WSL
🪜 Steps To Reproduce

  1. Prepare deployment with connection as in prerequisites here: https://www.astronomer.io/docs/astro/cli/local-connections
  2. Run astro dev init
  3. Run rm airflow_settings.yaml
  4. Run astro dev start --deployment-id <YOUR_DEPLOYMENT_ID>
  5. Check there is no Added Connection: in terminal nor connection in Airflow UI -> Admin -> Connections
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