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

Support contextDir for Buildpack strategies #212

Merged
merged 3 commits into from
May 19, 2020

Conversation

qu1queee
Copy link
Contributor

Based on #195

This adds support for contextDir so that Builds using Buildpacks v3 strategies can specify a directory path under the source code. This is very helpful, specially because for buildpacks we can reuse the different sample applications that the CF community have in assets

Also, adding samples and e2e test for different runtimes(php,nodejs,ruby) using the above sample apps.

This PR also inline with the #190, it should simplify that work.

@qu1queee
Copy link
Contributor Author

/assign @zhangtbj

@qu1queee
Copy link
Contributor Author

/assign @sbose78

@qu1queee
Copy link
Contributor Author

/ok-to-test

@openshift-ci-robot openshift-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 15, 2020
@sbose78
Copy link
Member

sbose78 commented May 15, 2020

Thinking out aloud, could some samples be moved to the /test directory?

@qu1queee
Copy link
Contributor Author

@sbose78 like all samples into test/data? or just the new files?

@qu1queee
Copy link
Contributor Author

@sbose78, fyi I think I addressed your

Thinking out aloud, could some samples be moved to the /test directory?

which I think is correct to do.

@qu1queee qu1queee removed the request for review from Avni-Sharma May 17, 2020 20:11
Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

@qu1queee
Copy link
Contributor Author

@SaschaSchwarze0 yes, thanks!

Add new test samples with Buildpacks that build
the following runtimes:
- ruby
- php
- nodejs

All of the above use the same source repository.
For Builds that use a contextDir and
with different runtimes. This currently
uses heroku.
@sbose78
Copy link
Member

sbose78 commented May 18, 2020

@qu1queee Samples directory layout looks good!

Move buildpacks runtimes samples under the test dir

Add new runtimes: golang and java for paketo

Update docs
@qu1queee
Copy link
Contributor Author

@xiujuan95 can u pls take a look on this PR?

@zhangtbj
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 19, 2020
@xiujuan95
Copy link
Contributor

/lgtm

@openshift-ci-robot
Copy link

@xiujuan95: changing LGTM is restricted to collaborators

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zhangtbj
Copy link
Contributor

We already verified and confirmed the ruby buildpacks work fine and other functions work. Merged

@zhangtbj
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhangtbj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 19, 2020
@openshift-merge-robot openshift-merge-robot merged commit 7c28134 into shipwright-io:master May 19, 2020
@qu1queee qu1queee deleted the qu1queee/195 branch March 2, 2021 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants