This repository holds the OpenShift Serverless fork of
knative-sandbox/kn-plugin-func with modifications needed only for OpenShift.
The upstream CLI uses built in "language packs" that use paketo builders and
buildpacks. This midstream repository replaces the manifest.yaml files in
each of these language pack templates with one containing the Red Hat builder
images. These can be found in ./templates.
The upstream repo, knative-sandbox/kn-plugin-func is mirrored on the
release-next and release-next-ci branches, as well as all of the existing
release branches.
In order for mirroring to work correctly, you'll need to have two git remotes for this repository.
upstreampointing toknative-sandbox/kn-plugin-funcopenshiftpointing toopenshift-knative/kn-plugin-func
When we are preparing to release a new version of OpenShift Serverless functions
we need to mirror the upstream repository and apply the template modifications.
This is done using the openshift/release/update-to-head.sh script. When it runs,
the following steps are taken.
- The upstream is fetched and checked out as the
release-nextbranch - The
openshiftremotemainbranch is pulled and openshift specific files from that branch are applied to therelease-nextbranch - The
release-nextbranch is force pushed to theopenshiftremote - The
release-nextbranch is duplicated torelease-next-ci - A timestamp file is added to
release-next-cibranch - The
release-next-cibranch is force pushed to theopenshiftremote - A pull request is created (if it does not already exist) for this change, in order to trigger a CI run