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: allow to specify dockerfile name in image_build_spec #2223

Conversation

leovct
Copy link
Contributor

@leovct leovct commented Feb 27, 2024

Description:

Allow to specify the Dockerfile name in ImageBuildSpec.
Resolves #2187

  • Add a new build_file attribute in ImageBuildSpec.
  • Update ImageBuildSpec tests and add custom build file tests
  • Update the ImageBuildSpec, TargetStageAttr validator to nil since it's an optional value.
  • Update ImageBuildSpecdocs.
  • (not related) go mod tidy.

Is this change user facing?

References (if applicable):

@leovct leovct marked this pull request as ready for review February 27, 2024 08:37
@mieubrisse
Copy link
Contributor

mieubrisse commented Feb 27, 2024

Thanks @leovct ! Looks like there's still a failing test here: https://app.circleci.com/pipelines/github/kurtosis-tech/kurtosis/11579/workflows/04b3d332-76f8-4d63-9cdc-b82e936f4fab/jobs/169175?invite=true#step-108-11902_114 and a merge conflict with main, but I'm excited where this is going!

Copy link
Contributor

@mieubrisse mieubrisse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job with this PR @leovct ; very thorough!

@mieubrisse mieubrisse added the request-cf-deploy A label to deploy forked PRs to CloudFlare label Feb 28, 2024
@mieubrisse
Copy link
Contributor

Cloudflare is having issues right now, so I'm going to admin-merge this (the rest of the checks passed)

@leoporoli leoporoli closed this Feb 29, 2024
auto-merge was automatically disabled February 29, 2024 15:00

Pull request was closed

@leoporoli leoporoli reopened this Feb 29, 2024
@mieubrisse mieubrisse added this pull request to the merge queue Feb 29, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 29, 2024
@mieubrisse mieubrisse added this pull request to the merge queue Feb 29, 2024
@mieubrisse
Copy link
Contributor

Tracking: seems like there's flakiness in our CI pipeline (tests passed in the PR, but failed in the merge queue): https://app.circleci.com/pipelines/github/kurtosis-tech/kurtosis/11662/workflows/326000e1-44d9-43d6-b366-d14966c4b808/jobs/170803

@laurentluce to investigate

Merged via the queue into kurtosis-tech:main with commit d274170 Feb 29, 2024
69 checks passed
@leovct leovct deleted the feat/specify-dockerfile-name-in-image-build-spec branch February 29, 2024 15:59
github-merge-queue bot pushed a commit that referenced this pull request Mar 1, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.88.0](0.87.3...0.88.0)
(2024-02-29)


### ⚠ BREAKING CHANGES

* remove the cloud add and CreateCloudInstance endpoint
([#2234](#2234))

### Features

* allow to specify dockerfile name in `image_build_spec`
([#2223](#2223))
([d274170](d274170))


### Miscellaneous Chores

* remove the cloud add and CreateCloudInstance endpoint
([#2234](#2234))
([0f17729](0f17729))

---
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request-cf-deploy A label to deploy forked PRs to CloudFlare user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to specify the name of the Dockerfile
4 participants