Skip to content

feat: add image-only deploy type#144

Merged
neel-astro merged 3 commits intoastronomer:mainfrom
coleheflin:feature/image-only-deploy-type
Apr 9, 2026
Merged

feat: add image-only deploy type#144
neel-astro merged 3 commits intoastronomer:mainfrom
coleheflin:feature/image-only-deploy-type

Conversation

@coleheflin
Copy link
Copy Markdown
Contributor

@coleheflin coleheflin commented Apr 8, 2026

Summary

  • Adds a new `deploy-type: image-only` option that deploys only the Docker image without updating existing DAGs on the deployment
  • Uses `astro deploy --image` under the hood
  • Skips `--parse` and `--pytest` options (not applicable for image-only deploys)
  • Respects existing skip logic (no-op when no files changed in root-folder)
  • Requires Astro CLI >= 1.21.0 (validated at runtime with a clear error message)
  • Fixes e2e yq install: moved to `$HOME/.local/bin` to avoid permission denied on `/usr/bin`

Notes on e2e

The e2e job fails with context config invalid, no domain specified because this PR runs from a fork and GitHub does not pass repo secrets to fork workflows. The tests will pass once run from the upstream repo.

Closes #139

Adds a new `deploy-type: image-only` option that deploys only the Docker
image without touching existing DAGs on the deployment, using `astro deploy --image`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coleheflin coleheflin requested a review from a team as a code owner April 8, 2026 23:30
coleheflin and others added 2 commits April 8, 2026 16:44
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@neel-astro neel-astro merged commit f4d25a0 into astronomer:main Apr 9, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

Add support for image-only deployment

2 participants