Skip to content

Comments

[PM-1197] Add astro dev build command to build image#2011

Merged
jlaneve merged 1 commit intomainfrom
agent/pm-1197
Feb 13, 2026
Merged

[PM-1197] Add astro dev build command to build image#2011
jlaneve merged 1 commit intomainfrom
agent/pm-1197

Conversation

@jlaneve
Copy link
Contributor

@jlaneve jlaneve commented Feb 13, 2026

Summary

  • Add a new astro dev build CLI command that only builds the Docker image without starting the local Airflow environment
  • Supports --no-cache flag to build without Docker cache
  • Supports --image-name flag to tag a custom image as the project image
  • Supports --build-secrets flag for build secrets

Use Cases

  • Testing that a project builds successfully before deployment
  • Preparing an image for deployment workflows
  • Faster iteration when only the build step is needed

Test plan

  • Run astro dev build in an Astro project to verify the image is built
  • Run astro dev build --no-cache to verify no-cache behavior
  • Run astro dev build --image-name custom:tag to verify custom image tagging
  • Run astro dev build --help to verify documentation

🤖 Generated with Claude Code

Add a new `astro dev build` CLI command that only builds the Docker image
without starting the local Airflow environment. This is useful for:
- Testing that a project builds successfully before deployment
- Preparing an image for deployment workflows
- Faster iteration when only the build step is needed

The command supports the following flags:
- --no-cache: Build without using Docker cache
- --image-name: Tag a custom image as the project image
- --build-secrets: Pass build secrets to the build process

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@coveralls-official
Copy link

Pull Request Test Coverage Report for Build 4e40c689-5514-4096-9b3e-ad4ab1e50c7e

Details

  • 37 of 51 (72.55%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 33.19%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/airflow.go 28 30 93.33%
airflow/mocks/ContainerHandler.go 0 12 0.0%
Totals Coverage Status
Change from base Build d4804275-b77b-4fcf-a25f-d2d23646ecdb: 0.03%
Covered Lines: 20910
Relevant Lines: 63000

💛 - Coveralls

@jlaneve jlaneve marked this pull request as ready for review February 13, 2026 18:24
@jlaneve jlaneve requested a review from a team as a code owner February 13, 2026 18:24
@jroachgolf84
Copy link

Thanks, @jlaneve - this is definitely going to be huge for me (and I'm sure other people).

@jlaneve jlaneve merged commit ad09b14 into main Feb 13, 2026
6 of 7 checks passed
@jlaneve jlaneve deleted the agent/pm-1197 branch February 13, 2026 21:00
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.

3 participants