You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
It would be great if you could define a task that executes on the host (not in a Docker container).
This is useful because:
It means you can use batect as your task runner for all tasks, even the ones that can't/shouldn't run in Docker
It means when you're setting up task workflows using dependencies, you can include these
A prime example: I want to run a bash script that build a Docker image for my Java app. The Dockerfile includes a COPY that takes my app.zip, which was built by Gradle, and extracts it into the image.
I want to use that bash script/task as a dependency of a task that then uses the new Docker image as part of a Terraform deployment.
This means my task flow goes:
Compile the Java (done in a batect java-env)
Run shell script to build and push the Docker image
Run the Terraform (done in a terraform-env)
More steps
Right now, 2. is done in a "docker-env" which actually doesn't contain much, and mounts the Docker socket from the host. Ideally it would be run directly on the host, but I can't do that and still have my end-to-end task workflow with batect.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any activity in the last 60 days. It will automatically be closed if no further activity occurs in the next seven days to enable maintainers to focus on the most important issues.
If this issue is still affecting you, please comment below within the next seven days.
Thank you for your contributions.
It would be great if you could define a task that executes on the host (not in a Docker container).
This is useful because:
A prime example: I want to run a bash script that build a Docker image for my Java app. The Dockerfile includes a COPY that takes my app.zip, which was built by Gradle, and extracts it into the image.
I want to use that bash script/task as a dependency of a task that then uses the new Docker image as part of a Terraform deployment.
This means my task flow goes:
Right now, 2. is done in a "docker-env" which actually doesn't contain much, and mounts the Docker socket from the host. Ideally it would be run directly on the host, but I can't do that and still have my end-to-end task workflow with batect.
The text was updated successfully, but these errors were encountered: