diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bed8c10..2da567e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,13 +143,14 @@ jobs: - name: Setup Helm uses: azure/setup-helm@v5 - - name: Generate deployment YAML + - name: Generate deployment YAML and landing page run: | mkdir public helm template console-functions-plugin charts/openshift-console-plugin \ -n console-functions-plugin \ --set "plugin.image=${{ env.IMAGE }}@${{ needs.publish.outputs.digest }}" \ > public/plugin.yaml + cp pages/index.html public/index.html - name: Upload Pages artifact uses: actions/upload-pages-artifact@v5 diff --git a/.gitignore b/.gitignore index 66cbb44..e292187 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ install-state.gz # Built binaries /bin +pages/plugin.yaml diff --git a/README.md b/README.md index e48cc02..addaee7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ A Functions-as-a-Service PoC UI for the OpenShift Web Console. Developers create Built as an [OpenShift Console dynamic plugin](https://github.com/openshift/console/tree/main/frontend/packages/console-dynamic-plugin-sdk) using React, TypeScript, and PatternFly 6. +**[Deploy to your cluster](https://twogiants.github.io/func-console/)** + ## Deployment on cluster ### Prerequisites diff --git a/pages/index.html b/pages/index.html new file mode 100644 index 0000000..3099839 --- /dev/null +++ b/pages/index.html @@ -0,0 +1,248 @@ + + + + + + Serverless Functions Console Plugin + + + + + +
+
+ OpenShift Console Plugin +

Serverless Functions
Console Plugin

+

Create, edit, and deploy serverless functions from the OpenShift Web Console.

+
+ +
+
Install
+
+ +
$ oc new-project console-functions-plugin
+$ oc apply -f https://twogiants.github.io/func-console/plugin.yaml
+
+
+ +
+
Resources
+ +
+ +
+
plugin.yaml
+
+ +
+
Loading...
+
+
+
+
+ + + + + +