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

feat: docker compose integration pt. 2 #2043

Merged
merged 19 commits into from Jan 15, 2024
Merged

feat: docker compose integration pt. 2 #2043

merged 19 commits into from Jan 15, 2024

Conversation

tedim52
Copy link
Contributor

@tedim52 tedim52 commented Jan 11, 2024

Description:

This feature allows users to run basic docker compose's with Kurtosis. Now, directories containing a kurtosis.yml OR a docker-compose.yaml are treated as starlark packages. If a compose package is detected, APIC converts the compose to Starlark, and executes the Starlark within enclaves.

eg.
kurtosis run .
kurtosis run github.com/awesome-compose/django

Is this change user facing?

YES

References:

Part 1 (Docker Compose Transpiler) #2001

@tedim52 tedim52 requested a review from lostbean January 11, 2024 20:26
@tedim52 tedim52 added this pull request to the merge queue Jan 15, 2024
Merged via the queue into main with commit 2a2793b Jan 15, 2024
36 checks passed
@tedim52 tedim52 deleted the tedi/compose-integration branch January 15, 2024 16:09
github-merge-queue bot pushed a commit that referenced this pull request Jan 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.86.5](0.86.4...0.86.5)
(2024-01-15)


### Features

* docker compose integration pt. 2
([#2043](#2043))
([2a2793b](2a2793b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request Jan 26, 2024
## Description:
Guide for running docker compose with Kurtosis.

## Is this change user facing?
YES

## References:
#2043
#2001
github-merge-queue bot pushed a commit that referenced this pull request Mar 22, 2024
## Description
This PR contains various improvements (and hacks) to docker compose
transpiler to improve it's coverage of docker composes, specifically in
the `awesome-compose` repo.

- support for per service `env_file` key
- better path support, notably turn filepaths referencing upstream or
home path to Persistent Directories
- use container name as service name if set (required for hostname
networking)
- support for volumes mounting files (before only supported directories
due to files artifact expansion limitations)
- converts invalid service names to ones that are RFC 1035

other fixes for compose to enable more docker compose coverage:
- allow uploading entire package contents into a files artifact
- allow compressing empty directories

## Is this change user facing?
NO

## References
#2043

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Ben Gazzard <ben@dartoxia.com>
Co-authored-by: Gyanendra Mishra <anomaly.the@gmail.com>
Co-authored-by: kurtosisbot <89932784+kurtosisbot@users.noreply.github.com>
Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Laurent Luce <laurentluce49@yahoo.com>
Co-authored-by: leoporoli <leandroporoli@gmail.com>
Co-authored-by: leovct <l009.vincent@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants