Coder Social home page Coder Social logo

buildpacks / community Goto Github PK

View Code? Open in Web Editor NEW
42.0 14.0 24.0 321 KB

Community content for the Cloud Native Buildpacks (CNB) project

Home Page: https://buildpacks.io

License: Creative Commons Attribution 4.0 International

cloud-native-buildpacks community

community's People

Contributors

abarke avatar aidandelaney avatar deiucanta avatar dfreilich avatar dzolotusky avatar ekcasey avatar hone avatar iamnoah avatar jabrown85 avatar jimmykarily avatar jjbustamante avatar jkutner avatar josegonzalez avatar jromero avatar lfrobeen avatar natalieparellano avatar navdeep-pama avatar nebhale avatar olearycrew avatar pheianox avatar samj1912 avatar sclevine avatar scothis avatar tomkennedy513 avatar wygin avatar zmackie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

community's Issues

pack build error, Installing JDK

run shell:
pack build myapp --builder cnbs/sample-builder:bionic

error:
===> BUILDING
[builder] ---> Java buildpack
[builder] ---> Installing JDK
[builder]
[builder] gzip: stdin: unexpected end of file
[builder] tar: Child returned status 1
[builder] tar: Error is not recoverable: exiting now
[builder] ERROR: failed to build: exit status 2
ERROR: failed to build: executing lifecycle. This may be the result of using an untrusted builder: failed with status code: 145

Linux Foundation D&I Training

Document that it is requirement for core team and maintainers. Encourage everyone to opt in!

cc @nebhale this is where we wanted to document and publicize this right?

docker run --rm -p 8080:8080 sample-app find a error.

"ERROR: failed to launch: exec.d: failed to execute exec.d file at path '/layers/samples_java-maven/jdk/exec.d/jdk.sh': fork/exec /layers/samples_java-maven/jdk/exec.d/jdk.sh: permission denied" ,According to official deployment documents,docker run find a error that container don't run

Custom Json Logger for buildpack output

Discussed in #168

Originally posted by 9trocode May 12, 2022
Hi guys,

I have a special use case and have been trying to figure out how to implement this i want to use build pack to build project directly from code source and same time extract the logs out in a json formmatted formats

But that seems abortive for me i'm here hoping to get help on how to implement my own stdin output logger for buildpack

Thanks

Clarify where are located the buildpacks on Github

From your official website it seems impossible to find the repositories of the buildpacks on Github.

Can you please clarify where are they located?

For example, take a Rails app that I want to pack, how can I get a list of all the buildpacks (Heroku, Pivotal, etc.) and their repo on Github (i.e. Github link)?

Submit Buildpacks for Graduation consideration

The purpose of this issue is to track tasks associated with getting Buildpacks for CNCF project graduation. The time it takes from opening a PR to final decision varies wildly and depends on what is uncovered in the review process, as you can see with Cilium taking nearly a year. But the average time seems to be 9 months.

Note: I've completely edited everything below to reflect the NEW application form as they just updated it within the last 2 weeks.


This template provides the project with a framework to inform the TOC of their conformance to the Graduation Level Criteria.

$PROJECT Graduation Application

v1.5
This template provides the project with a framework to inform the TOC of their conformance to the Graduation Level Criteria.

Project Repo(s): $URL
Project Site: $URL
Sub-Projects: $LIST
Communication: $SLACK

Project points of contacts: $NAME, $EMAIL

Graduation Criteria Summary for $PROJECT

Adoption Assertion

The project has been adopted by the following organizations in a testing and integration or production capacity:

Criteria

Application Process Principles

Suggested

N/A

Required

  • Give a presentation and engage with the domain specific TAG(s) to increase awareness
  • TAG provides insight/recommendation of the project in the context of the landscape
  • Review and acknowledgement of expectations for graduated projects and requirements for moving forward through the CNCF Maturity levels.
    • Met during Project's application on DD-MMM-YYYY.

Completion of this due diligence document, resolution of concerns raised, and presented for public comment satisifies the Due Diligence Review criteria.

  • Additional documentation as appropriate for project type, e.g.: installation documentation, end user documentation, reference implementation and/or code samples.

Governance and Maintainers

Note: this section may be augmented by the completion of a Governance Review from TAG Contributor Strategy.

Suggested

  • Governance has continuously been iterated upon by the project as a result of their experience applying it, with the governance history demonstrating evolution of maturity alongside the project's maturity evolution.

Required

  • Clear and discoverable project governance documentation.
  • Governance is up to date with actual project activities, including any meetings, elections, leadership, or approval processes.
  • Document how the project makes decisions on leadership roles, contribution acceptance, requests to the CNCF, and changes to governance or project goals.
  • Document how role, function-based members, or sub-teams are assigned, onboarded, and removed for specific teams (example: Security Response Committee).
  • Document complete list of current maintainers, including names, contact information, domain of responsibility, and affiliation.
  • A number of active maintainers which is appropriate to the size and scope of the project.
  • Document a complete maintainer lifecycle process (including roles, onboarding, offboarding, and emeritus status).
  • Demonstrate usage of the maintainer lifecycle with outcomes, either through the addition or replacement of maintainers as project events have required.
  • Project maintainers from at least 2 organizations that demonstrates survivability.
  • Code and Doc ownership in Github and elsewhere matches documented governance roles.
  • Document agreement that project will adopt CNCF Code of Conduct.
  • CNCF Code of Conduct is cross-linked from other governance documents.
  • All subprojects, if any, are listed.
  • If the project has subprojects: subproject leadership, contribution, maturity status documented, including add/remove process.

Contributors and Community

Note: this section may be augmented by the completion of a Governance Review from TAG Contributor Strategy.

Suggested

  • Contributor ladder with multiple roles for contributors.

Required

  • Clearly defined and discoverable process to submit issues or changes.
  • Project must have, and document, at least one public communications channel for users and/or contributors.
  • List and document all project communication channels, including subprojects (mail list/slack/etc.). List any non-public communications channels and what their special purpose is.
  • Up-to-date public meeting schedulers and/or integration with CNCF calendar.
  • Documentation of how to contribute, with increasing detail as the project matures.
  • Demonstrate contributor activity and recruitment.

Engineering Principles

  • Document project goals and objectives that illustrate the project’s differentiation in the Cloud Native landscape as well as outlines how this project fulfills an outstanding need and/or solves a problem differently.
  • Document what the project does, and why it does it - including viable cloud native use cases.
  • Document and maintain a public roadmap or other forward looking planning document or tracking mechanism.
  • Roadmap change process is documented.
  • Document overview of project architecture and software design that demonstrates viable cloud native use cases, as part of the project's documentation.
  • Document the project's release process and guidelines publicly in a RELEASES.md or equivalent file that defines:

    • Release expectations (scheduled or based on feature implementation)
    • Tagging as stable, unstable, and security related releases
    • Information on branch and tag strategies
    • Branch and platform support and length of support
    • Artifacts included in the release.
    • Additional information on topics such as LTS and edge releases are optional. Release expectations are a social contract between the project and its end users and hence changes to these should be well thought out, discussed, socialized and as necessary agreed upon by project leadership before getting rolled out.
  • History of regular, quality releases.

Security

Note: this section may be augemented by a joint-assessment performed by TAG Security.

Suggested

  • Achieving OpenSSF Best Practices silver or gold badge.

Required

  • Clearly defined and discoverable process to report security issues.
  • Enforcing Access Control Rules to secure the code base against attacks (Example: two factor authentication enforcement, and/or use of ACL tools.)
  • Document assignment of security response roles and how reports are handled.
  • Document Security Self-Assessment.
  • Third Party Security Review.

    • Moderate and low findings from the Third Party Security Review are planned/tracked for resolution as well as overall thematic findings, such as: improving project contribution guide providing a PR review guide to look for memory leaks and other vulnerabilities the project may be susceptible to by design or language choice ensuring adequate test coverage on all PRs.
  • Achieve the Open Source Security Foundation (OpenSSF) Best Practices passing badge.

Ecosystem

Suggested

N/A

Required

  • Publicly documented list of adopters, which may indicate their adoption level (dev/trialing, prod, etc.)
  • Used in appropriate capacity by at least 3 independent + indirect/direct adopters, (these are not required to be in the publicly documented list of adopters)

The project provided the TOC with a list of adopters for verification of use of the project at the level expected, i.e. production use for graduation, dev/test for incubation.

  • TOC verification of adopters.

Refer to the Adoption portion of this document.

  • Clearly documented integrations and/or compatibility with other CNCF projects as well as non-CNCF projects.

Adoption

Adopter 1 - $COMPANY/$INDUSTRY

If the Adopting organization needs to remain anonymous, stating the industry vertical is sufficient.
MONTH YEAR

Adopter 2 - $COMPANY/$INDUSTRY

If the Adopting organization needs to remain anonymous, stating the industry vertical is sufficient.
MONTH YEAR

Adopter 3 - $COMPANY/$INDUSTRY

If the Adopting organization needs to remain anonymous, stating the industry vertical is sufficient.
MONTH YEAR

Projects moving from incubation to graduation are tracked here: https://github.com/orgs/cncf/projects/27/views/9

Once we've checked off all the above, we can fill out the Graduation Proposal and submit a PR. Example of a current project's PR in consideration (Falco): cncf/toc#956 and some that have been recently approved: cncf/toc#952 cncf/toc#1000

Are you using Buildpacks?

Are you using Buildpacks?

If you are using Buildpacks, first, we would like to Thank You! Our goal is to grow the community, improve Buildpacks and help each other.

The purpose of this issue

We are always interested in finding out who is using Buildpacks, what attracted you to using Buildpacks, how we can listen to your needs, and, if you are interested, help promote your organization.

  • We have people reaching out to us asking, who uses Buildpacks in production?
  • We’d like to listen to what you would like to see in Buildpacks and your scenarios.
  • We'd like to help promote your organization and work with you.

What we would like from you

Submit a comment in this issue to include the following information, which would then also get included into the ADOPTERS.md file in this repo for others to see:

  • Your organization or company
  • Link to your website
  • Your country
  • Your contact info to reach out to you: blog, email, Kubernetes or CNCF Slack workspace handle, or Twitter (at least one).
  • What is your scenario for using Buildpacks?
  • Are you running you application in testing or production?
  • OPTIONAL: Attach a PNG version of your logo to your comment to which we'd add to the ADOPTERS.md file.

If you have any questions please email us.

End users: ADOPTERS.md

Are you using CNB in production?
Let us know about your use case by either commenting in this issue or opening a pull request adding yourself to ADOPTERS.md.

Clarify why a Procfile is useful inside a Buildpacks

Is there any difference between the following two cases?

CASE 1

  • Create a buildpack without Procfile
  • then run launcher my command

CASE 2

  • Define a Procfile with procname: my command
  • then run procname

I need to run the final images inside Kubernetes and I don't see any difference between CASE 1 and CASE 2... Is there any substantial difference? Is there any security difference?

Should I always specify a Procfile (CASE 2) or I can just use launcher with any command (CASE 1)?

Add image/information to our dockerhub repo

The Cloud Native Buildpacks Docker Hub repos (buildpacksio and (cnbs)(https://hub.docker.com/u/cnbs)) look pretty sketchy. cnbs is understandable, given that it seems like we only host sample/internal images (though we do reference it in our docs), but given that buildpacksio is a bit more external (we will soon be referring to it in our tekton task (tektoncd/catalog#434), and it is our "official" lifecycle/pack image), we should probably spend some effort making it a bit more trustworthy.

Some potential tasks may be:

  • Add our logo for both cnbs and buildpacksio
  • Add a description/logo to buildpacksio/lifecycle
  • Add a description/logo to buildpacksio/pack

Misc governance issues

  • Supermajority is never defined
  • What rights do contributors have?
  • How exactly does somebody become a contributor? see
    eg

New contributors may be self-nominated or be nominated by existing contributors, and must be elected by a supermajority of that team's maintainers

  • Who owns the leftover repos?
  • Who owns community?

[Idea] Buildpack for any app that contains a Dockerfile

What do you think about having a generic buildpack that can pack/build any app that contains a Dockerfile?

Basically it would be a fallback, similar to a simple docker build, but having that would make pack (and similar) more complete.

Also, if in production you have some apps that use pack and other that use docker build, you could always use the same CNB entrypoint, without wondering every time how the image was built (pack / plain docker).

Automate workflows for GitHub issue triage

Our team has been experimenting with workflows around GitHub issue management. See google doc with our work in progress.

This issue is about automating that workflow once it has been established. Some ideas for how we will automate are (could be some combination of these):

It may make sense to block this work on buildpacks/rfcs#53 so that we have consensus on how labels are managed.

Where can i ask technical questions?

I'm facing a really strange issue: some images i build with buildpack work in both docker and kubernetes, others only in docker and not in kubernetes. How can i get technical help? Thanks

CNB Integrations tracker

Creating this issue to track integrations with other open source projects and platforms. This is so that we have a visible way to track projects that are considering CNB integrations and see if we can help out these projects if needed or track their progress/any blockers.

Edit - Moved to a discussion instead for better threading. See #100

Buildpacks default port

Do buildpacks define any convention about the default port to use for the web server?

I mean, if I need to route the HTTP requests to a container built with pack (it can be any application built with any builder), is there a default port / convention?

By default, should I route the traffic to port 80, 3000, 8080 or something else?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.