This repository contains config files common to implementation and language-family CNBs.
Run scripts/sanity.sh to see if the changes you made to this repo are valid.
Run scripts/repo_rules.sh to see if your paketo cnb github repo has recommended settings.
If you just wrote a new CNB, run bootstrap.sh as follows:
# type is either "implementation", "language-family", or "builder"
./scripts/bootstrap.sh --target <path/to/your/cnb> --repo-type <type>This will copy the relevant config files to your CNB. Git commit and Push your CNB.
Now, to wire up your CNB repo to receive relevant updates as a pull requests:
- Append your repo name to the relevant file here
- Configure deploy-keys, secrets as required in workflow
Submit your change to this repo as a PR. You should be all set when the PR is merged.
Repositories managed by github-config get dependency updates from Renovate. Onboarding new repositories need steps below:
For the github-config repository:
- Add the repository name to
.github/renovate-config.js
For the repository you are adding renovate:
- Remove current dependency update configuration
.github/dependabot.yml - Add
dependabot.ymlandrenovate.jsonto.github/.syncignore - Add
renovate.jsonto the.githubdirectory with following content:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>paketo-buildpacks/github-config//renovate/<respective configuration file in github-config>"
]
}You can add additional configuration (like repository-specific labels depending on minor, major or patch updates) to the repository owned renovate.json. The documentation for all configuration options can be found here: https://docs.renovatebot.com/configuration-options/