Is the deploy.sh still valid?
As ofn CLI has been officially recommended by the OpenFunction community, and the old install/uninstall scripts deprecation was mentioned in v0.5.0 release notes, is the deploy.sh and delete.sh still valid for the old version of OpenFunction?
It's still valid but not recommended anymore. It's not removed because CI is still using these. @tpiperatgod Do we have a plan to replace deploy.sh/deleted.sh with ofn in CI? You mentioned we need changes to ofn?
To do that, we need an external environment to execute the GitHub action.
As I know, SIG-DevOps KubeSphere is using Tekton in ks-devops CI with GitHub action. @tpiperatgod You can ask @Linuxsuren @johnniang for details.
It looks like just need to add a action.yaml file to the cli and use ofn like this:
- name: Install dependent components
uses: OpenFunction/cli@main
with:
all: true
It looks like just need to add a action.yaml file to the cli and use
ofnlike this:- name: Install dependent components uses: OpenFunction/cli@main with: all: true
yes, but it failed during installation and we think it may be a lack of sufficient resources..
It looks like just need to add a action.yaml file to the cli and use
ofnlike this:- name: Install dependent components uses: OpenFunction/cli@main with: all: trueyes, but it failed during installation and we think it may be a lack of sufficient resources..
Regarding the limited resource issue, @wanjunlei handle it this way in the script approach: https://github.com/OpenFunction/OpenFunction/blob/main/.github/workflows/main.yaml#L81