diff --git a/.github/workflows/molecule-science-static.yml b/.github/workflows/molecule-science-static.yml new file mode 100644 index 000000000000..02f65a2bb7a9 --- /dev/null +++ b/.github/workflows/molecule-science-static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["helm-chart"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + # Upload entire repository + path: './public' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 diff --git a/.gitignore b/.gitignore index 58c361aa98cf..852bf26aefef 100644 --- a/.gitignore +++ b/.gitignore @@ -96,3 +96,4 @@ test_noco.db httpbin .run/test-debug.run.xml +!.gitkeep \ No newline at end of file diff --git a/README_MOLECULE_SCIENCE.md b/README_MOLECULE_SCIENCE.md new file mode 100644 index 000000000000..b5e8aa491756 --- /dev/null +++ b/README_MOLECULE_SCIENCE.md @@ -0,0 +1,3 @@ +# nocodb helm chart + +Use `./package.sh` script to package the helm chart. \ No newline at end of file diff --git a/package.sh b/package.sh new file mode 100755 index 000000000000..b0b88abd7eeb --- /dev/null +++ b/package.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +set -xe + +ROOT_DIR=$(pwd) +CHART_DIR="$ROOT_DIR/charts/nocodb/" +PUBLIC_DIR="$ROOT_DIR/public" + +cd $CHART_DIR +helm dependency upgrade && helm dependency build + +cd $PUBLIC_DIR +helm package $CHART_DIR +helm repo index --url https://elium.github.io/nocodb . +cd - diff --git a/public/.gitkeep b/public/.gitkeep new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/public/index.yaml b/public/index.yaml new file mode 100644 index 000000000000..638ae4aae702 --- /dev/null +++ b/public/index.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +entries: + nocodb: + - apiVersion: v2 + appVersion: 0.100.2 + created: "2023-10-23T13:54:24.958699+02:00" + dependencies: + - condition: postgresql.enabled + name: postgresql + repository: https://charts.bitnami.com/bitnami + version: ~11.6.6 + - condition: mysql.enabled + name: mysql + repository: https://charts.bitnami.com/bitnami + version: ~9.4.6 + description: A Helm chart for Kubernetes + digest: 6995c2505375863a23317104227db4bb68fcd258f236c4bb3fb297b24988f9e1 + name: nocodb + type: application + urls: + - https://elium.github.io/nocodb/nocodb-0.3.0.tgz + version: 0.3.0 +generated: "2023-10-23T13:54:24.949143+02:00" diff --git a/public/nocodb-0.3.0.tgz b/public/nocodb-0.3.0.tgz new file mode 100644 index 000000000000..d0b355822f05 Binary files /dev/null and b/public/nocodb-0.3.0.tgz differ